Skip to content

Commit

Permalink
fix(selectUser test): remove findElement
Browse files Browse the repository at this point in the history
  • Loading branch information
edalex-yinzi committed Feb 7, 2024
1 parent ec7488d commit 9489f96
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 9489f96

Please sign in to comment.