playwright/tests/assets/modernizr
2025-02-13 16:37:15 -08: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 modernizr expectations with actual mobile Safari 18.3 values (#34789) 2025-02-13 16:37:15 -08:00
modernizr.js test: update Modernizer tests to Safari 18 (#32290) 2024-08-23 16:59:55 +02:00
README.md test: update modernizr expectations with actual mobile Safari 18.3 values (#34789) 2025-02-13 16:37:15 -08:00
roll.sh test: update Modernizer tests to Safari 18 (#32290) 2024-08-23 16:59:55 +02:00
safari-18.json test: update Modernizir expectations (#32308) 2024-08-26 08:32:22 -07: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. Serve tests/assets/modernizr/index.html from a remote (localhost results will be different) https origin (e.g. https://pages.github.com).
  2. Navigate to https://your-domain.com/tests/assets/modernizr/index.html

Do this with:

  • Safari Technology Preview
  • Apple iPhone

Make sure to change the updated file's name.