File tree 3 files changed +5
-5
lines changed
examples/java/src/test/java/dev/selenium/design_strategies
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
import org .openqa .selenium .support .FindBy ;
6
6
import org .openqa .selenium .support .PageFactory ;
7
7
8
- import static org .junit .jupiter .api .Assertions . assertTrue ;
8
+ import org .junit .jupiter .api .Assertions ;
9
9
10
10
public class EditIssueBetter extends EditIssue {
11
11
@@ -35,7 +35,7 @@ protected void load() {
35
35
@ Override
36
36
protected void isLoaded () throws Error {
37
37
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" ));
39
39
}
40
40
41
41
public void setHowToReproduce (String howToReproduce ) {
Original file line number Diff line number Diff line change 2
2
3
3
import org .openqa .selenium .WebDriver ;
4
4
5
- import static org .junit .jupiter .api .Assertions . assertTrue ;
5
+ import org .junit .jupiter .api .Assertions ;
6
6
7
7
public class ProjectPage {
8
8
@@ -23,6 +23,6 @@ protected void load() {
23
23
protected void isLoaded () throws Error {
24
24
String url = driver .getCurrentUrl ();
25
25
26
- assertTrue (url .contains (projectName ));
26
+ Assertions . assertTrue (url .contains (projectName ));
27
27
}
28
28
}
Original file line number Diff line number Diff line change 5
5
import org .openqa .selenium .WebDriver ;
6
6
import org .openqa .selenium .WebElement ;
7
7
8
- import static org . junit . jupiter . api . Assertions . assertTrue ;
8
+
9
9
10
10
public class SecuredPage {
11
11
You can’t perform that action at this time.
0 commit comments