playwright/packages
Simon Knott 76cca7fc2c
fix(ui): only populate settings once (#31958)
We populate `localStorage` using an init script. Currently, this script
isn't just run for the UI though, but also for all iframes. So we're
resetting `localStorage` every time the UI loads an iframe.

This hasn't been a problem in the past, because the only consumer of
`localStorage`, `Settings`, only read from `localStorage` once and kept
most state in `useState` afterwards. With
https://github.com/microsoft/playwright/pull/31911, this is no longer
true, so the bug starts biting us!

The fix is to ensure the init script isn't run on iframes.
2024-08-01 17:28:48 +02:00
..
html-reporter feat(ui-mode): add annotations tab (#31945) 2024-08-01 03:43:29 -07:00
playwright fix(test runner): do not revert the transform (#31930) 2024-07-31 13:17:09 -07:00
playwright-browser-chromium chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-browser-firefox chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-browser-webkit chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-chromium chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-core fix(ui): only populate settings once (#31958) 2024-08-01 17:28:48 +02:00
playwright-ct-core fix(ui): added test in watched file should be run (#31842) 2024-07-30 14:17:41 +02:00
playwright-ct-react chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-react17 chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-solid chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-svelte chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-vue chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-ct-vue2 chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-firefox chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-test chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
playwright-webkit chore: mark 1.47.0-next (#31879) 2024-07-26 17:50:11 +02:00
protocol/src chore: client certificates api review (#31826) 2024-07-23 22:56:36 +02:00
recorder refactor(ui): in splitview component, move sidebar and main from children into named properties (#31925) 2024-07-31 12:48:46 +02:00
trace/src feat(trace viewer): show baseURL in Metadata pane (#31852) 2024-07-25 17:14:46 +02:00
trace-viewer fix(ui mode): api review feedback (#31952) 2024-08-01 05:36:19 -07:00
web feat(ui-mode): add annotations tab (#31945) 2024-08-01 03:43:29 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00