Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(trace): record trace upon browser closure #31563

Merged
merged 1 commit into from
Jul 6, 2024

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Jul 5, 2024

Retaining traces in the following scenarios:

  • browser crash;
  • manual browser.close();
  • implicit browser.close() from the browser fixture upon test end.

This does not affect the library, where browser.close() will not retain the trace and will close the browser as fast as possible.

References #31541, #31535, #31537.

This comment has been minimized.

Retaining traces in the following scenarios:
- browser crash;
- manual `browser.close()`;
- implicit `browser.close()` from the `browser` fixture upon test end.

This does not affect the library, where `browser.close()` will not retain
the trace and will close the browser as fast as possible.
Copy link
Contributor

github-actions bot commented Jul 6, 2024

Test results for "tests 1"

1 failed
❌ [playwright-test] › reporter-html.spec.ts:390:5 › created › should use different path if attachments base url option is provided

8 flaky ⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [chromium-library] › library/capabilities.spec.ts:137:3 › should not crash on showDirectoryPicker
⚠️ [firefox-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture
⚠️ [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots
⚠️ [webkit-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:49:3 › get should work on request fixture

28436 passed, 654 skipped
✔️✔️✔️

Merge workflow run.

@dgozman dgozman merged commit bc27ca2 into microsoft:main Jul 6, 2024
29 of 30 checks passed
dgozman added a commit to dgozman/playwright that referenced this pull request Jul 14, 2024
dgozman added a commit that referenced this pull request Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants