Skip to content

Commit a1bcaf8

Browse files
committed
ugh
1 parent bb3631a commit a1bcaf8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

examples/java/src/test/java/dev/selenium/design_strategies/EditIssueBetter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.openqa.selenium.support.FindBy;
66
import org.openqa.selenium.support.PageFactory;
77

8-
import static org.junit.jupiter.api.Assertions.assertTrue;
8+
import org.junit.jupiter.api.Assertions;
99

1010
public class EditIssueBetter extends EditIssue {
1111

@@ -35,7 +35,7 @@ protected void load() {
3535
@Override
3636
protected void isLoaded() throws Error {
3737
String url = driver.getCurrentUrl();
38-
assertTrue("Not on the issue entry page: " + url, url.endsWith("/new"));
38+
Assertions.assertTrue("Not on the issue entry page: " + url, url.endsWith("/new"));
3939
}
4040

4141
public void setHowToReproduce(String howToReproduce) {

examples/java/src/test/java/dev/selenium/design_strategies/ProjectPage.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import org.openqa.selenium.WebDriver;
44

5-
import static org.junit.jupiter.api.Assertions.assertTrue;
5+
import org.junit.jupiter.api.Assertions;
66

77
public class ProjectPage {
88

@@ -23,6 +23,6 @@ protected void load() {
2323
protected void isLoaded() throws Error {
2424
String url = driver.getCurrentUrl();
2525

26-
assertTrue(url.contains(projectName));
26+
Assertions.assertTrue(url.contains(projectName));
2727
}
2828
}

examples/java/src/test/java/dev/selenium/design_strategies/SecuredPage.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import org.openqa.selenium.WebDriver;
66
import org.openqa.selenium.WebElement;
77

8-
import static org.junit.jupiter.api.Assertions.assertTrue;
8+
99

1010
public class SecuredPage{
1111

0 commit comments

Comments
 (0)