Skip to content

Commit

Permalink
Update Test to trigger execution
Browse files Browse the repository at this point in the history
  • Loading branch information
eataborda committed Aug 27, 2024
1 parent aba21dc commit 10ed227
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void orderInventoryItemsTest() {
SoftAssertions softAssertions = new SoftAssertions();
loginSteps.login(LoginUser.STANDARD_USER.getUser(), LoginUser.STANDARD_USER.getPassword());

//// initial list of item upd
//// initial list of item upda
List<String> initialNameList = inventorySteps.getItemNameList();

// inventory order name z to a
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/com/github/eataborda/ui/pages/BasePage.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ public BasePage(WebDriver driver) {

public FluentWait<WebDriver> getFluentWait() {
FluentWait<WebDriver> fluentWait = new FluentWait<>(driver);
fluentWait.withTimeout(Duration.ofSeconds(10));
fluentWait.pollingEvery(Duration.ofMillis(400));
fluentWait.withTimeout(Duration.ofSeconds(5));
fluentWait.pollingEvery(Duration.ofMillis(500));
fluentWait.ignoring(NoSuchElementException.class);
return fluentWait;
}

public FluentWait<WebDriver> getLongFluentWait() {
FluentWait<WebDriver> fluentWait = new FluentWait<>(driver);
fluentWait.withTimeout(Duration.ofSeconds(10));
fluentWait.pollingEvery(Duration.ofMillis(550));
fluentWait.pollingEvery(Duration.ofMillis(650));
fluentWait.ignoring(NoSuchElementException.class);
return fluentWait;
}
Expand Down

0 comments on commit 10ed227

Please sign in to comment.