From e650e41a2dd26bdd4139dcb5047d17377c066d18 Mon Sep 17 00:00:00 2001 From: Sweta Jewargikar Date: Wed, 9 Oct 2024 12:16:27 -0700 Subject: [PATCH] Teamcity intermittent test failure fix (#677) --- .../test/tests/wnprc_purchasing/WNPRC_PurchasingTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WNPRC_Purchasing/test/src/org/labkey/test/tests/wnprc_purchasing/WNPRC_PurchasingTest.java b/WNPRC_Purchasing/test/src/org/labkey/test/tests/wnprc_purchasing/WNPRC_PurchasingTest.java index 0b76fa8d7..453e1ac8c 100644 --- a/WNPRC_Purchasing/test/src/org/labkey/test/tests/wnprc_purchasing/WNPRC_PurchasingTest.java +++ b/WNPRC_Purchasing/test/src/org/labkey/test/tests/wnprc_purchasing/WNPRC_PurchasingTest.java @@ -64,7 +64,7 @@ import static org.labkey.test.WebTestHelper.getRemoteApiConnection; @Category({EHR.class, WNPRC_EHR.class}) -@BaseWebDriverTest.ClassTimeout(minutes = 5) +@BaseWebDriverTest.ClassTimeout(minutes = 10) public class WNPRC_PurchasingTest extends BaseWebDriverTest implements PostgresOnlyTest { //folders @@ -406,7 +406,7 @@ public void testPurchaseAdminWorkflow() throws IOException, CommandException log("Create new Request - START"); goToRequesterPage(); - clickButton("Create Request"); + waitForElement(Locator.linkWithText("Create Request")).click(); final CreateRequestPage requestPage = new CreateRequestPage(getDriver()); requestPage.setAccountsToCharge("acct100 - Assay Services")