Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ This branch contains TestNG samples with selenium-4.

### Running your tests

- To run a single test, run `mvn test -P single`
- To run tests, run `mvn test -P parallel`
- To run local tests, run `mvn test -P local`
- To run parallel tests, run `mvn test -P parallel`
- To run the test suite, run `mvn test -P suite`

Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<version>2.18.1</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>config/single.testng.xml</suiteXmlFile>
<suiteXmlFile>config/parallel.testng.xml</suiteXmlFile>
</suiteXmlFiles>
</configuration>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/browserstack/BrowserStackTestNGTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void setUp(String config_file, String environment) throws Exception {
options.put("key", accessKey);
l.start(options);
}
bstackOptionsMap.put("source", "java-selenium:sample-selenium-4:v1.0");
bstackOptionsMap.put("source", "java-selenium:sample-selenium-4:v1.1");
}

driver = new RemoteWebDriver(
Expand Down