File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
src/test/java/dev/selenium/browsers Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 57
57
<artifactId >maven-surefire-plugin</artifactId >
58
58
<version >3.5.2</version >
59
59
<configuration >
60
+ <rerunFailingTestsCount >3</rerunFailingTestsCount >
60
61
<properties >
61
62
<configurationParameters >
62
63
junit.jupiter.execution.parallel.enabled = true
Original file line number Diff line number Diff line change 13
13
import java .util .regex .Pattern ;
14
14
import org .junit .jupiter .api .AfterEach ;
15
15
import org .junit .jupiter .api .Assertions ;
16
+ import org .junit .jupiter .api .parallel .Execution ;
17
+ import org .junit .jupiter .api .parallel .ExecutionMode ;
16
18
import org .junit .jupiter .api .Test ;
17
19
import org .openqa .selenium .By ;
18
20
import org .openqa .selenium .WebElement ;
@@ -48,6 +50,7 @@ public void arguments() {
48
50
}
49
51
50
52
@ Test
53
+ @ Execution (ExecutionMode .SAME_THREAD )
51
54
public void setBrowserLocation () {
52
55
ChromeOptions options = new ChromeOptions ();
53
56
Original file line number Diff line number Diff line change 13
13
import java .util .regex .Pattern ;
14
14
import org .junit .jupiter .api .AfterEach ;
15
15
import org .junit .jupiter .api .Assertions ;
16
+ import org .junit .jupiter .api .parallel .Execution ;
17
+ import org .junit .jupiter .api .parallel .ExecutionMode ;
16
18
import org .junit .jupiter .api .Test ;
17
19
import org .openqa .selenium .By ;
18
20
import org .openqa .selenium .WebElement ;
@@ -49,6 +51,7 @@ public void arguments() {
49
51
}
50
52
51
53
@ Test
54
+ @ Execution (ExecutionMode .SAME_THREAD )
52
55
public void setBrowserLocation () {
53
56
EdgeOptions options = new EdgeOptions ();
54
57
You can’t perform that action at this time.
0 commit comments