Skip to content

Commit

Permalink
[java] Fixing a broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Jun 4, 2020
1 parent fbe887f commit 1e40aa0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ public void findElementTwoBy() {
elems345.addAll(elems34);
elems345.addAll(elems5);

when(driver.findElements(By.name("cheese"))).thenReturn(elems12);
when(elem1.findElements(By.name("photo"))).thenReturn(elems34);
when(elem2.findElements(By.name("photo"))).thenReturn(elems5);

Expand Down

0 comments on commit 1e40aa0

Please sign in to comment.