microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
67.11k stars 3.69k forks source link

chore(html): hmr report should survive reload #33696

Closed Skn0tt closed 1 day ago

Skn0tt commented 1 day ago

In HMR mode, the opening window transfers the report by sending a message. If the opened window is reloaded, it can't access that message anymore. We're fixing it by storing the report in localstorage between reports. This works for reports <10mb.

github-actions[bot] commented 1 day ago

Test results for "tests 1"

1 flaky :warning: [playwright-test] › ui-mode-test-ct.spec.ts:117:5 › should run component tests after editing test and component @ubuntu-latest-node20-1

35802 passed, 629 skipped :heavy_check_mark::heavy_check_mark::heavy_check_mark:

Merge workflow run.

github-actions[bot] commented 1 day ago

Test results for "tests 1"

2 flaky :warning: [firefox-library] › library/inspector/cli-codegen-aria.spec.ts:77:7 › should update aria snapshot highlight @firefox-ubuntu-22.04-node18
:warning: [firefox-page] › page/page-goto.spec.ts:81:3 › should work with Cross-Origin-Opener-Policy @firefox-ubuntu-22.04-node18

37129 passed, 650 skipped :heavy_check_mark::heavy_check_mark::heavy_check_mark:

Merge workflow run.