chore: wait a bit more
This commit is contained in:
parent
1f9f92ce05
commit
27f03d7a0a
2 changed files with 3 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ public abstract class BaseTest extends ApplicationTest {
|
|||
@AfterEach
|
||||
public void tearDown() throws Exception {
|
||||
FxToolkit.cleanupStages();
|
||||
WaitForAsyncUtils.waitForFxEvents();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,8 +40,10 @@ public class CRUDTest extends BaseTest {
|
|||
}
|
||||
@Test
|
||||
public void changeRecipeNameDoesChangeName() {
|
||||
WaitForAsyncUtils.waitForFxEvents();
|
||||
ListView<Recipe> list = lookup("#recipeList").query();
|
||||
clickOn("#addRecipeButton");
|
||||
WaitForAsyncUtils.waitForFxEvents();
|
||||
write("TEST_RECIPE");
|
||||
type(KeyCode.ENTER);
|
||||
WaitForAsyncUtils.waitForFxEvents();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue