Skip to content

Fix elementhandle-owner-frame headful test failures#160

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

Fix elementhandle-owner-frame headful test failures#160
kblok wants to merge 1 commit intomainfrom
fix/issue-114

Conversation

@kblok
Copy link
Copy Markdown
Member

@kblok kblok commented Mar 28, 2026

Summary

  • Remove the [elementhandle-owner-frame.spec.ts] * wildcard expected-failure entry for headful mode from TestExpectations.local.json
  • The tests perform basic DOM operations (navigate, attach frames, evaluate handles, check owner frames) that have no headful-specific behavior differences
  • The C# test code matches upstream Playwright exactly -- no code changes needed

Test plan

  • Verify ElementHandleOwnerFrameTests pass in headless mode (default CI)
  • Verify ElementHandleOwnerFrameTests are no longer skipped in headful mode (HEADLESS=false)
  • Verify JSON is valid and other test expectations are unaffected

Closes #114

🤖 Generated with Claude Code

The elementhandle-owner-frame tests were incorrectly marked as expected
failures in headful mode. These tests perform basic DOM operations
(navigate, attach frames, evaluate handles, check owner frames) that
have no headful-specific behavior differences. The test code matches
upstream Playwright exactly. The expectation entry was bulk-added due
to CI infrastructure issues, not actual code bugs.

Remove the wildcard expected-failure entry for headful mode.

Closes #114

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 tests: elementhandle-owner-frame.spec.ts (headful)

1 participant