Skip to content

Commit

Permalink
fix flaky e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
SbloodyS committed Jun 19, 2024
1 parent 1915474 commit b9206de
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public ApplicationsPage startApplication(String applicationName) {

String startJobFormMessage = "Start Job";
new WebDriverWait(driver, Duration.ofSeconds(10)).until(ExpectedConditions.visibilityOfElementLocated(By.xpath(String.format("//*[contains(.,'%s')]", startJobFormMessage))));
new WebDriverWait(driver, Duration.ofSeconds(10)).until(ExpectedConditions.elementToBeClickable(startJobForm.radioFromSavepoint()));
startJobForm.radioFromSavepoint().click();
startJobForm.buttonSubmit().click();
String startPopUpMessage = "The current job is starting";
Expand Down

0 comments on commit b9206de

Please sign in to comment.