From 35e3b13a9513e1cd718da6ae6de3e617c346fe2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Sat, 28 Mar 2026 15:20:21 -0300 Subject: [PATCH] Remove incorrect headful expected failure for page-add-init-script cross-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) --- .../TestExpectations/TestExpectations.local.json | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/PlaywrightSharp.Nunit/TestExpectations/TestExpectations.local.json b/src/PlaywrightSharp.Nunit/TestExpectations/TestExpectations.local.json index 42a60d767..e957a5aca 100644 --- a/src/PlaywrightSharp.Nunit/TestExpectations/TestExpectations.local.json +++ b/src/PlaywrightSharp.Nunit/TestExpectations/TestExpectations.local.json @@ -251,12 +251,6 @@ "parameters": ["headful"], "expectations": ["FAIL"] }, - { - "testIdPattern": "[page-add-init-script.spec.ts] should work after a cross origin navigation", - "platforms": ["darwin", "linux", "win32"], - "parameters": ["headful"], - "expectations": ["FAIL"] - }, { "testIdPattern": "[page-request-continue.spec.ts] should amend method on main request", "platforms": ["darwin", "linux", "win32"],