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 5757 <artifactId >maven-surefire-plugin</artifactId >
5858 <version >3.5.2</version >
5959 <configuration >
60+ <rerunFailingTestsCount >3</rerunFailingTestsCount >
6061 <properties >
6162 <configurationParameters >
6263 junit.jupiter.execution.parallel.enabled = true
Original file line number Diff line number Diff line change 1313import java .util .regex .Pattern ;
1414import org .junit .jupiter .api .AfterEach ;
1515import org .junit .jupiter .api .Assertions ;
16+ import org .junit .jupiter .api .parallel .Execution ;
17+ import org .junit .jupiter .api .parallel .ExecutionMode ;
1618import org .junit .jupiter .api .Test ;
1719import org .openqa .selenium .By ;
1820import org .openqa .selenium .WebElement ;
@@ -48,6 +50,7 @@ public void arguments() {
4850 }
4951
5052 @ Test
53+ @ Execution (ExecutionMode .SAME_THREAD )
5154 public void setBrowserLocation () {
5255 ChromeOptions options = new ChromeOptions ();
5356
Original file line number Diff line number Diff line change 1313import java .util .regex .Pattern ;
1414import org .junit .jupiter .api .AfterEach ;
1515import org .junit .jupiter .api .Assertions ;
16+ import org .junit .jupiter .api .parallel .Execution ;
17+ import org .junit .jupiter .api .parallel .ExecutionMode ;
1618import org .junit .jupiter .api .Test ;
1719import org .openqa .selenium .By ;
1820import org .openqa .selenium .WebElement ;
@@ -49,6 +51,7 @@ public void arguments() {
4951 }
5052
5153 @ Test
54+ @ Execution (ExecutionMode .SAME_THREAD )
5255 public void setBrowserLocation () {
5356 EdgeOptions options = new EdgeOptions ();
5457
You can’t perform that action at this time.
0 commit comments