Skip to content

Commit

Permalink
add explicit timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
GnsP committed Oct 24, 2024
1 parent 6114c36 commit 57d31b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/e2e-test/java/io/cdap/cdap/ui/utils/Commands.java
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public static void dismissTopBanner() {
try {
WebElement bannerCloseButton = Helper.locateElementByXPath(
"//div[@data-testid='valium-banner-hydrator']//button[@class='close ng-scope']");
WaitHelper.waitForElementToBeClickable(bannerCloseButton);
WaitHelper.waitForElementToBeClickable(bannerCloseButton, 10);
ElementHelper.clickOnElement(bannerCloseButton);
} catch (NoSuchElementException e) {
// pass
Expand Down

0 comments on commit 57d31b7

Please sign in to comment.