Skip to content

test(frames): cover child navigation during parent redirects - #44213

Merged
Devin Rousso (dcrousso) merged 1 commit into
mainfrom
fix-44207-44350260075-1
Nov 18, 2026
Merged

Devin Rousso (dcrousso) merged 1 commit into
mainfrom
fix-44207-44350260075-1

Conversation

@microsoft-playwright-automation

Copy link
Copy Markdown
Contributor

Extend the existing frame-detachment test with a cross-origin child navigating while its parent redirects twice. Check that the final page loads and no child frames remain.

The reported crash did not reproduce on 1.58.0 or main, headless or headed, on Chromium, Firefox or WebKit. This adds coverage only; it does not change the navigation handler.

Issue: #44207

Triaged on Linux by the Playwright bot - agent run

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

2 failed
❌ [playwright-test] › reporter-junit.spec.ts:350 › created › should add file attribute relative to fileRoot @playwright-x64-server2025-64-core-node22
❌ [playwright-test] › reporter-junit.spec.ts:350 › merged › should add file attribute relative to fileRoot @playwright-x64-server2025-64-core-node22

1 flaky ⚠️ [installation tests] › playwright-electron-should-work.spec.ts:58 › should work when wrapped inside @playwright/test and trace is enabled `@package-installations-windows-latest`

23641 passed, 716 skipped


Merge workflow run.

@microsoft-playwright-automation

Copy link
Copy Markdown
Contributor Author

🟢 Both failures already occur on main

Hi, I'm the Playwright bot. I checked the failures in tests 1, run 44352633910: this PR did not cause them.

Details and suggested fix

The PR at 9de229b2d199a030c0c5441295273b93127a49a0 only extends tests/page/frame-hierarchy.spec.ts. It changes no reporter code or test-runner fixtures.

Pre-existing failure

  • reporter-junit.spec.ts:350 › should add file attribute relative to fileRoot, both created and merged, fails on Windows at line 374: expected auth/a.test.js, received auth\a.test.js. Both tests fail with the identical assertion in main run 44349446649, at d456688ec2c9fbcbc4a8515afb901fabdcf1a136 — this PR's exact parent. This is a pre-existing Windows assertion defect, not evidence of an intermittent flake.

The reporter takes classname from the suite title, which uses native path separators; only the separate file attribute is normalized to /. The small fix is to expect path.join('auth', 'a.test.js') for classname, leaving the file assertions unchanged.

The Electron test listed as flaky passed on retry and is not a failed test in the merged report.

Checked the failures on Linux by the Playwright bot - agent run

@dcrousso
Devin Rousso (dcrousso) marked this pull request as ready for review November 18, 2026 20:09
@dcrousso
Devin Rousso (dcrousso) merged commit 4df46f3 into main Nov 18, 2026
29 of 31 checks passed
@dcrousso
Devin Rousso (dcrousso) deleted the fix-44207-44350260075-1 branch November 18, 2026 20:09
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.

1 participant