Skip to content

Fix failing test: page-add-init-script cross-origin navigation (headful)#156

Closed
kblok wants to merge 1 commit intomainfrom
fix/issue-128
Closed

Fix failing test: page-add-init-script cross-origin navigation (headful)#156
kblok wants to merge 1 commit intomainfrom
fix/issue-128

Conversation

@kblok
Copy link
Copy Markdown
Member

@kblok kblok commented Mar 28, 2026

Removed the incorrect headful expected-failure entry for page-add-init-script cross-origin test. The test performs pure protocol-level operations with no headful-specific dependencies and matches upstream exactly. Closes #128

…oss-origin test

The ShouldWorkAfterACrossOriginNavigation test was incorrectly marked as
an expected failure in headful mode. This test performs pure protocol-level
operations (navigation, init script registration, script evaluation) with
no headful-specific dependencies -- it does not depend on rendering, focus,
viewport, or any visual display behavior. The test code matches upstream
Playwright exactly, and upstream has no test expectations for this test.

Closes #128

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kblok kblok closed this Mar 30, 2026
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.

Fix failing test: page-add-init-script.spec.ts "should work after a cross origin navigation" (headful)

1 participant