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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@

### 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 All @@ -32,9 +31,8 @@ Understand how many parallel sessions you need by using our [Parallel Test Calcu

### Running your tests

- To run a single test, run `gradle singleTest`
- To run tests, run `gradle parallelTest`
- To run local tests, run `gradle localTest`
- To run parallel tests, run `gradle parallelTest`
- To run the test suite, run `gradle suiteTest`

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 @@ -54,7 +54,7 @@
<version>${surefire.version}</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 @@ -95,7 +95,7 @@ public void setUp(String config_file, String environment) throws Exception {
options.put("key", accessKey);
l.start(options);
}
bstackOptionsMap.put("source", "testng:sample-selenium-4:v1.1");
bstackOptionsMap.put("source", "testng:sample-selenium-4:v1.2");
}

ClientConfig customConfig = ClientConfig.defaultConfig().readTimeout(Duration.ofMinutes(15))
Expand Down