Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/vlad/develop' into vlad/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean committed Apr 14, 2024
2 parents 745ec96 + 3b5c807 commit 5ad88db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions e2e-tests/src/main/java/io/kafbat/ui/screens/BasePage.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,14 @@ protected void waitUntilSpinnerDisappear(int... timeoutInSeconds) {
}
}

protected void clickClearSearchFieldButton() {
clickByActions(searchFld.$x("./../span[@role='button']"));
waitUntilSpinnerDisappear(1);
}

protected void searchItem(String tag) {
log.debug("\nsearchItem: {}", tag);
clickClearSearchFieldButton();
sendKeysAfterClear(searchFld, tag);
searchFld.pressEnter().shouldHave(Condition.value(tag));
waitUntilSpinnerDisappear(1);
Expand Down

0 comments on commit 5ad88db

Please sign in to comment.