playwright/tests/assets/modernizr/README.md
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

19 lines
623 B
Markdown

# Playwright Modernizr tests
## Rolling Modernizr
- [modernizr.com](modernizr.com) isn't getting updated anymore, see [here](https://github.com/Modernizr/Modernizr/issues/2490) and [here](https://github.com/Modernizr/Modernizr/commit/db96bdaff995a1d4abccb0dc69c77db7b47ad614). 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 .`
1. 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.