Skip to content

Commit

Permalink
Merge pull request #5005 from edalex-yinzi/fix/AdvancedSearchPageTest
Browse files Browse the repository at this point in the history
OEQ-1811 - fix(selectUser test): remove findElement
  • Loading branch information
edalex-yinzi authored Feb 9, 2024
2 parents ec7488d + 9489f96 commit 381c448
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void selectUser(String username) {
WebElement targetUser =
waiter.until(
ExpectedConditions.elementToBeClickable(
dialog.findElement(By.xpath(".//span[text()='" + username + "']"))));
By.xpath("//div[@role='dialog']//span[text()='" + username + "']")));
targetUser.click();

// Confirm the selection.
Expand Down

0 comments on commit 381c448

Please sign in to comment.