playwright/tests
Dmitry Gozman 773202867d
feat(trace): highlight strict mode violation elements in the snapshot (#32893)
This is fixing a case where the test failed with strict mode violation,
but all the matched elements are not highlighted in the trace.

For example, all the buttons will be highlighted when the following line
fails due to strict mode violation:
```ts
await page.locator('button').click();
```

To achieve this, we mark elements during `querySelector` phase instead
of inside `onBeforeInputAction`. This allows us to only mark from inside
the `InjectedScript` and remove the other way of marking from inside the
`Snapshotter`.
2024-10-02 00:00:45 -07:00
..
android test: update to android-35 SDK (Android 15) (#32430) 2024-09-06 14:27:56 +02:00
assets test: add test for avif image format (#32815) 2024-09-27 10:02:54 -07:00
bidi chore(bidi): enable logs in Firefox on CI (#32908) 2024-10-01 11:15:27 -07:00
components fix(ct): throw error if inline component is getting mounted (#32531) 2024-09-10 11:15:20 +02:00
config test: brush up fixtures, unflake some tests (#32854) 2024-09-27 07:06:37 -07:00
electron chore: update flakiness metadata for better ui presentation (#31528) 2024-07-03 08:39:53 -07:00
expect chore: roll expect and move it to third party (#32458) 2024-09-09 13:12:20 -07:00
image_tools chore: bump @babel dependencies (#27632) 2023-10-17 20:52:41 +02:00
installation test: retry installation tests up to 3 times (#32910) 2024-10-01 13:12:38 -07:00
library feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
page test: unflake two tests (#32879) 2024-09-30 07:49:18 -07:00
playwright-test chore(ui): ensure that --ignore-snapshots is respected (#32875) 2024-09-30 15:12:37 +02:00
stress test: fix stress tests bots (#32513) 2024-09-09 12:52:40 +02:00
third_party/proxy chore: fix typos (#30645) 2024-05-08 19:40:03 +01:00
webview2 chore: update flakiness metadata for better ui presentation (#31528) 2024-07-03 08:39:53 -07:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
tsconfig.json chore: use own socks5 server for tests (#31639) 2024-07-11 14:12:48 +02:00