test: disable flaky worker test in ff (#104)

This commit is contained in:
Yury Semikhatsky 2020-12-09 13:49:43 -08:00 committed by GitHub
parent 00ba6ae862
commit 176aa98139
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,7 @@
package com.microsoft.playwright;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIf;
import org.junit.jupiter.api.condition.EnabledIf;
import static com.microsoft.playwright.Page.EventType.*;
@ -94,6 +95,7 @@ public class TestWorkers extends TestBase {
}
@Test
@DisabledIf(value="com.microsoft.playwright.TestBase#isFirefox", disabledReason="flaky upstream")
void shouldClearUponNavigation() {
page.navigate(server.EMPTY_PAGE);
Deferred<Event<Page.EventType>> workerCreatedPromise = page.waitForEvent(WORKER);