playwright/tests/assets/modernizr
Max Schmitt 0d4d5758c4
test: update Modernizer tests to Safari 18 (#32290)
Fixes https://github.com/microsoft/playwright/issues/32288

---------

Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-08-23 16:59:55 +02:00
..
index.html test: update Modernizer tests to Safari 18 (#32290) 2024-08-23 16:59:55 +02:00
mobile-safari-18.json test: update Modernizer tests to Safari 18 (#32290) 2024-08-23 16:59:55 +02:00
modernizr.js test: update Modernizer tests to Safari 18 (#32290) 2024-08-23 16:59:55 +02:00
README.md test: update Modernizer tests to Safari 18 (#32290) 2024-08-23 16:59:55 +02:00
roll.sh test: update Modernizer tests to Safari 18 (#32290) 2024-08-23 16:59:55 +02:00
safari-18.json test: update Modernizer tests to Safari 18 (#32290) 2024-08-23 16:59:55 +02:00

Playwright Modernizr tests

Rolling Modernizr

  • modernizr.com isn't getting updated anymore, see here and here. It only contains version 3.6.
  • This is why we build it from source ourselves, using roll.sh (they recommend it).

Updating expectations

  1. npx http-server .
  2. Navigate to http://127.0.0.1:8080/tests/assets/modernizr/index.html

Do this with:

  • Safari Technology Preview
  • Apple iPhone

Make sure to change the updated file's name.