diff --git a/panoramapublic/test/src/org/labkey/test/tests/panoramapublic/PanoramaPublicBaseTest.java b/panoramapublic/test/src/org/labkey/test/tests/panoramapublic/PanoramaPublicBaseTest.java index 980b4ea2..449a341f 100644 --- a/panoramapublic/test/src/org/labkey/test/tests/panoramapublic/PanoramaPublicBaseTest.java +++ b/panoramapublic/test/src/org/labkey/test/tests/panoramapublic/PanoramaPublicBaseTest.java @@ -26,6 +26,7 @@ import org.openqa.selenium.support.ui.WebDriverWait; import java.io.File; +import java.time.Duration; import java.util.List; import static org.junit.Assert.assertEquals; @@ -234,7 +235,7 @@ private void makeCopy(String projectName, String folderName, String experimentTi clickAndWait(copyLink); // In the copy form's folder tree view select the Panorama Public project as the destination. - Locator.tagWithClass("span", "x4-tree-node-text").withText(PANORAMA_PUBLIC).waitForElement(new WebDriverWait(getDriver(), 5)).click(); + Locator.tagWithClass("span", "x4-tree-node-text").withText(PANORAMA_PUBLIC).waitForElement(new WebDriverWait(getDriver(), Duration.ofSeconds(5))).click(); // Enter the name of the destination folder in the Panorama Public project setFormElement(Locator.tagWithName("input", "destContainerName"), destinationFolder); uncheck("Assign ProteomeXchange ID:");