From 461cf2a324dd0cc511757791646e8b3a405b60ef Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Sat, 18 Jan 2025 20:20:26 -0500 Subject: [PATCH] update for tests --- Testing/src/org/sleuthkit/autopsy/testing/AutopsyTestCases.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Testing/src/org/sleuthkit/autopsy/testing/AutopsyTestCases.java b/Testing/src/org/sleuthkit/autopsy/testing/AutopsyTestCases.java index 1507e14792..b08193f99c 100644 --- a/Testing/src/org/sleuthkit/autopsy/testing/AutopsyTestCases.java +++ b/Testing/src/org/sleuthkit/autopsy/testing/AutopsyTestCases.java @@ -181,6 +181,7 @@ public class AutopsyTestCases { String img_path = getEscapedPath(System.getProperty("img_path")); String imageDir = img_path; ((JTextComponent) jtfo0.getSource()).setText(imageDir); + new Timeout("pausing", 60000).sleep(); JComboBoxOperator comboBoxOperator = new JComboBoxOperator(wo, 0); comboBoxOperator.setSelectedItem("(GMT-5:00) America/New_York"); wo.btNext().clickMouse(); @@ -219,6 +220,7 @@ public class AutopsyTestCases { // set the current directory one level above the directory containing logicalFileSet folder. fileChooserOperator.goUpLevel(); fileChooserOperator.chooseFile(new File(getEscapedPath(System.getProperty("img_path"))).getName()); + new Timeout("pausing", 60000).sleep(); wo.btNext().clickMouse(); } catch (TimeoutExpiredException ex) { logger.log(Level.SEVERE, "AutopsyTestCases.testNewCaseWizard encountered timed out", ex);