Repository navigation
1.64.1-flashwright.9
·
133 commits
to main
since this release
npm i -D @playwright/test@npm:flashwright-test@1.64.1-flashwright.9New
- A web server per project
- accept-snapshots takes the last run's actual snapshots
- --prune-snapshots deletes the snapshots no test used
- Options for one test in its details
- --watch reruns the tests of saved files in the terminal
- Playwright doctor checks what a run needs
- Failed waits for an element say what the page has instead
- Agent mode prints failures only and writes summary.json
- Discouraged APIs are deprecated in the types, with a codemod to locators
Faster
- --watch starts the next run's test loader ahead of time
- CSS and role queries walk the tree instead of listing every element
- Chromium's DevTools pipe speaks CBOR
- getByLabel looks only at elements that can have labels
- Text locators allocate less per element
- Role queries with a name rule out elements from their text
- Role queries read each element's display and presentation chain once
- Text locators normalize nested wrappers' text once
- only-on-failure screenshots are taken once the test fails
Fixed
- A reused Firefox page leaves the previous test with scripts off
- Input into out-of-process iframes waits for the page to render
- The injected script's source stays ASCII
- Role queries do not rule out names under aria-hidden
- A browser launched ahead of time is adopted whatever Babel's switch says
- Role queries rule out names from text only when exact