From 04cc114240a46c8574e86de2e41d7254ef9fb458 Mon Sep 17 00:00:00 2001 From: Sita Date: Mon, 29 Jul 2024 00:11:22 +0200 Subject: [PATCH] #86: Fix broken test --- .../test/java/place/sita/labelle/TagTranslationTabTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gui-local/src/test/java/place/sita/labelle/TagTranslationTabTest.java b/gui-local/src/test/java/place/sita/labelle/TagTranslationTabTest.java index 5ff62b4..19ec71b 100644 --- a/gui-local/src/test/java/place/sita/labelle/TagTranslationTabTest.java +++ b/gui-local/src/test/java/place/sita/labelle/TagTranslationTabTest.java @@ -46,6 +46,12 @@ public void shouldValidateTagTranslation(FxRobot robot) { .expect(toBeTrueAfterAction(() -> unstableSceneReporter.isStable())) .test(); + try { // todo fix test randomly failing + Thread.sleep(1000); + } catch (InterruptedException e) { + throw new RuntimeException(e); + } + // perform tag translation withAction(() -> { robot.clickOn(TagTranslationActions.tagLevelRulesTextArea());