mirror of
https://github.com/microsoft/playwright-java.git
synced 2025-09-08 21:01:00 +00:00
test: disable flaky worker test in ff (#104)
This commit is contained in:
parent
00ba6ae862
commit
176aa98139
@ -17,6 +17,7 @@
|
|||||||
package com.microsoft.playwright;
|
package com.microsoft.playwright;
|
||||||
|
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
import org.junit.jupiter.api.condition.DisabledIf;
|
||||||
import org.junit.jupiter.api.condition.EnabledIf;
|
import org.junit.jupiter.api.condition.EnabledIf;
|
||||||
|
|
||||||
import static com.microsoft.playwright.Page.EventType.*;
|
import static com.microsoft.playwright.Page.EventType.*;
|
||||||
@ -94,6 +95,7 @@ public class TestWorkers extends TestBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@DisabledIf(value="com.microsoft.playwright.TestBase#isFirefox", disabledReason="flaky upstream")
|
||||||
void shouldClearUponNavigation() {
|
void shouldClearUponNavigation() {
|
||||||
page.navigate(server.EMPTY_PAGE);
|
page.navigate(server.EMPTY_PAGE);
|
||||||
Deferred<Event<Page.EventType>> workerCreatedPromise = page.waitForEvent(WORKER);
|
Deferred<Event<Page.EventType>> workerCreatedPromise = page.waitForEvent(WORKER);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user