playwright/packages
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
..
html-reporter feat(html-reporter): add file name copy button (#32652) 2024-09-17 15:54:22 +02:00
playwright chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-browser-chromium chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-browser-firefox chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-browser-webkit chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-chromium chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-core feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
playwright-ct-core chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-react chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-react17 chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-solid chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-svelte chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-vue chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-ct-vue2 chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-firefox chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-test chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
playwright-webkit chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
protocol/src feat(routeWebSocket): address api review feedback (#32850) 2024-09-27 04:01:31 -07:00
recorder chore: update trace event on action merge (#32860) 2024-09-27 21:18:30 -07:00
trace/src fix(tracing): use page swap timestamp to find closest screenshot (#32512) 2024-09-10 14:32:33 +02:00
trace-viewer chore: remove 'screenshot instead of snapshot' usages (#32905) 2024-10-01 18:38:10 +02:00
web chore: move actions types to recorder (#32839) 2024-09-26 14:50:09 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00