Skip to content

Commit

Permalink
Disable flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Nov 17, 2023
1 parent f554bf9 commit d938e61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import javafx.beans.property.ListProperty;
import javafx.util.StringConverter;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
Expand Down Expand Up @@ -60,6 +61,7 @@ public void testResetFilter() {
}

@Test
@Disabled("Flaky on github")
public void testCheckUncheckItemsWithUsingSearchBar() {
runOnFxThreadAndWait(() -> instance.setItems(IntStream.rangeClosed(1, 10).boxed().toList()));
runOnFxThreadAndWait(() -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ public void testOnDisplay() {
}

@Test
@Disabled("Flaky on github")
public void testEmptyShowRoom() {
items = IntStream.range(0, 0).boxed().toList();
runOnFxThreadAndWait(() -> instance.display(new NavigateEvent(NavigationItem.MAP)));
Expand All @@ -204,6 +205,7 @@ public void testPagination() {
}

@Test
@Disabled("Flaky on github")
public void testLastPageButton() {
runOnFxThreadAndWait(() -> instance.display(new NavigateEvent(NavigationItem.MAP)));
WaitForAsyncUtils.waitForFxEvents();
Expand Down

0 comments on commit d938e61

Please sign in to comment.