Skip to content

Commit cf99377

Browse files
agarneha1331francisf
authored andcommitted
name fixes
1 parent a374877 commit cf99377

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

junit-4/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* Update `browserstack.yml` files inside the root directory with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings).
1212

1313
## Running your tests
14-
* To run a parallel test, run `mvn test -P sample-test`
15-
* To run local tests, set `browserStackLocal: true` in `browserstack.yml` and run `mvn test -P sample-local-test`
14+
* To run a parallel test, run `mvn test -P sample`
15+
* To run local tests, set `browserStackLocal: true` in `browserstack.yml` and run `mvn test -P local`
1616

1717
Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
1818

junit-4/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787

8888
<profiles>
8989
<profile>
90-
<id>sample-test</id>
90+
<id>sample</id>
9191
<build>
9292
<plugins>
9393
<plugin>
@@ -107,7 +107,7 @@
107107
</profile>
108108

109109
<profile>
110-
<id>sample-local-test</id>
110+
<id>local</id>
111111
<build>
112112
<plugins>
113113
<plugin>

junit-5/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Master branch contains **Selenium 4 - W3C protocol** samples, for **Selenium 3**
1010
* Update `browserstack.yml` files inside the root directory with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings).
1111

1212
## Running your tests
13-
* To run a single test, run `mvn test -P sample-test`
14-
* To run local tests, run `mvn test -P sample-local-test`
13+
* To run a single test, run `mvn test -P single`
14+
* To run local tests, run `mvn test -P local`
1515

1616
Understand how many parallel sessions you need by using our [Parallel Test Calculator](https://www.browserstack.com/automate/parallel-calculator?ref=github)
1717

junit-5/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<selenium-java>4.1.4</selenium-java>
1414
<maven-surefire-plugin>3.0.0-M5</maven-surefire-plugin>
1515
<httpclient>4.5.13</httpclient>
16-
<tests.sample>**/tests.BStackSampleTest.java</tests.sample>
16+
<tests.single>**/tests.BStackSampleTest.java</tests.single>
1717
<tests.local>**/tests.BStackLocalTest.java</tests.local>
1818
</properties>
1919
<dependencies>
@@ -89,7 +89,7 @@
8989
</build>
9090
<profiles>
9191
<profile>
92-
<id>sample-test</id>
92+
<id>single</id>
9393
<build>
9494
<plugins>
9595
<plugin>
@@ -98,7 +98,7 @@
9898
<version>3.0.0-M5</version>
9999
<configuration>
100100
<includes>
101-
<include>${tests.sample}</include>
101+
<include>${tests.single}</include>
102102
</includes>
103103
<argLine>
104104
-javaagent:${com.browserstack:browserstack-java-sdk:jar}
@@ -110,7 +110,7 @@
110110
</build>
111111
</profile>
112112
<profile>
113-
<id>sample-local-test</id>
113+
<id>local</id>
114114
<build>
115115
<plugins>
116116
<plugin>

junit-5/src/test/java/tests/BStackSampleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
public class BStackSampleTest extends BstackRunner {
1414

1515
@Test
16-
void sampleTest() {
16+
void singleTest() {
1717
driver.get("https://bstackdemo.com/");
1818
final WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10));
1919
wait.until(ExpectedConditions.titleIs("StackDemo"));

0 commit comments

Comments
 (0)