Skip to content

Commit 5396dde

Browse files
yury-sclaude
andcommitted
test: skip shouldInheritTouchSupportFromBrowserContext on Firefox >= 148
Firefox 148+ broke ontouchstart inheritance in popups (bugzilla 2014330). Matches upstream fixme added in page-popup.spec.ts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8a07471 commit 5396dde

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

playwright/src/test/java/com/microsoft/playwright/TestPopup.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package com.microsoft.playwright;
1818

1919
import org.junit.jupiter.api.Test;
20+
import org.junit.jupiter.api.Assumptions;
2021

2122
import java.util.ArrayList;
2223
import java.util.Arrays;
@@ -107,6 +108,8 @@ void shouldInheritHttpCredentialsFromBrowserContext() {
107108

108109
@Test
109110
void shouldInheritTouchSupportFromBrowserContext() {
111+
// https://bugzilla.mozilla.org/show_bug.cgi?id=2014330
112+
Assumptions.assumeFalse(isFirefox() && Integer.parseInt(browser.version().split("\\.")[0]) >= 148);
110113
BrowserContext context = browser.newContext(new Browser.NewContextOptions()
111114
.setViewportSize(400, 500)
112115
.setHasTouch(true));

0 commit comments

Comments
 (0)