Skip to content

Commit

Permalink
Fix page url test
Browse files Browse the repository at this point in the history
  • Loading branch information
martingrossmann committed Sep 19, 2024
1 parent 4c35453 commit 68d2a41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public Class<WebTestPage> getPageClass() {
return WebTestPage.class;
}

@Test(expectedExceptions = AssertionError.class, expectedExceptionsMessageRegExp = "Expected that WebTestPage url=\\[http://localhost/Input/input.html\\] ends with \\[nonexistingfile.html\\] is true")
@Test(expectedExceptions = AssertionError.class, expectedExceptionsMessageRegExp = "Expected that WebTestPage url=\\[http://localhost:8080/Input/input.html\\] ends with \\[nonexistingfile.html\\] is true")
public void test_Page_url_format() {
WebTestPage page = getPage();
CONTROL.withTimeout(0, () -> page.expect().url().endsWith("nonexistingfile.html").is(true));
Expand Down

0 comments on commit 68d2a41

Please sign in to comment.