Skip to content

Commit

Permalink
Fix tst
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- committed Nov 5, 2021
1 parent c8d84f6 commit 2d0aa18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ public void secondTheme_staticFilesNotCopied() {

getDriver().get(getRootURL() + "/path/themes/no-copy/no-copy.txt");
Assert.assertTrue("no-copy theme should not be handled",
driver.getPageSource().contains(
"Could not navigate to 'themes/no-copy/no-copy.txt'"));
driver.getPageSource().matches(
"Could not navigate to.*themes/no-copy/no-copy.txt"));
}

@Test
Expand Down

0 comments on commit 2d0aa18

Please sign in to comment.