File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
examples/java/src/test/java/dev/selenium/design_strategies Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 55import org .openqa .selenium .support .FindBy ;
66import org .openqa .selenium .support .PageFactory ;
77
8- import static org .junit .jupiter .api .Assertions . assertTrue ;
8+ import org .junit .jupiter .api .Assertions ;
99
1010public 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 ) {
Original file line number Diff line number Diff line change 22
33import org .openqa .selenium .WebDriver ;
44
5- import static org .junit .jupiter .api .Assertions . assertTrue ;
5+ import org .junit .jupiter .api .Assertions ;
66
77public 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}
Original file line number Diff line number Diff line change 55import org .openqa .selenium .WebDriver ;
66import org .openqa .selenium .WebElement ;
77
8- import static org . junit . jupiter . api . Assertions . assertTrue ;
8+
99
1010public class SecuredPage {
1111
You can’t perform that action at this time.
0 commit comments