Skip to content

Commit

Permalink
Update Eyes Dependency #5
Browse files Browse the repository at this point in the history
  • Loading branch information
oomelianchuk committed Jun 15, 2022
1 parent f1552a6 commit d4b47b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@
</dependency>
<dependency>
<groupId>com.applitools</groupId>
<artifactId>eyes-selenium-java3</artifactId>
<version>3.160.3</version>
<artifactId>eyes-selenium-java5</artifactId>
<version>5.3.0</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void testPageAssertBeforeEyesOpened()
ApplitoolsApi.updateConfiguration();

ApplitoolsApi.setupGlobal();
Assert.assertThrows("Eyes not open", IllegalStateException.class, () -> {
Assert.assertThrows("Eyes not open", EyesException.class, () -> {
ApplitoolsApi.assertPage("Homepage");
});
}
Expand All @@ -87,7 +87,7 @@ public void testElementAssertBeforeEyesOpened()
ApplitoolsApi.updateConfiguration();

ApplitoolsApi.setupGlobal();
Assert.assertThrows("Eyes not open", IllegalStateException.class, () -> {
Assert.assertThrows("Eyes not open", EyesException.class, () -> {
ApplitoolsApi.assertElement(By.cssSelector("#navigation"), "top navigation menu");
});
}
Expand Down

0 comments on commit d4b47b6

Please sign in to comment.