diff --git a/test-acceptance/src/org/omegat/gui/align/AlignerWindowTest.java b/test-acceptance/src/org/omegat/gui/align/AlignerWindowTest.java index c35c35ba28..ceb5daa2d3 100644 --- a/test-acceptance/src/org/omegat/gui/align/AlignerWindowTest.java +++ b/test-acceptance/src/org/omegat/gui/align/AlignerWindowTest.java @@ -79,13 +79,13 @@ public void testAligner() throws Exception { picker.comboBox("targetLanguagePicker").requireSelection("fr - French"); // picker.button("sourceChooseFileButton").click(); - picker.fileChooser("aligner_choose_source").requireVisible(); + picker.fileChooser("aligner_choose_source").requireEnabled(Timeout.timeout(1000)); picker.fileChooser("aligner_choose_source").selectFile(new File(tmpDir, SOURCE_PATH)); picker.fileChooser("aligner_choose_source").approve(); robot().waitForIdle(); // picker.button("targetChooseFileButton").click(); - picker.fileChooser("aligner_choose_target").requireVisible(); + picker.fileChooser("aligner_choose_target").requireEnabled(Timeout.timeout(1000)); picker.fileChooser("aligner_choose_target").selectFile(new File(tmpDir, TARGET_PATH)); picker.fileChooser("aligner_choose_target").approve(); robot().waitForIdle();