Skip to content

Commit 0538261

Browse files
authored
Merge pull request #26 from kamal-kaur04/run-sample-test-by-default
run sample test by default
2 parents 6567a1f + 64e8dbd commit 0538261

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

android/testng-examples/browserstack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${
2424
# This property is needed to send test context to BrowserStack (test name, status)
2525
framework: testng
2626

27-
source: testng:appium-sample-sdk:v1.0
27+
source: testng:appium-sample-sdk:v1.1
2828

2929
app: ./WikipediaSample.apk
3030
#app: ./LocalSample.apk #For running local tests

android/testng-examples/pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>org.testng</groupId>
2525
<artifactId>testng</artifactId>
26-
<version>7.6.1</version>
26+
<version>7.5</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>io.appium</groupId>
@@ -72,6 +72,9 @@
7272
<artifactId>maven-surefire-plugin</artifactId>
7373
<version>2.22.2</version>
7474
<configuration>
75+
<suiteXmlFiles>
76+
<suiteXmlFile>src/test/resources/com/browserstack/sample-test.testng.xml</suiteXmlFile>
77+
</suiteXmlFiles>
7578
<argLine>-javaagent:${com.browserstack:browserstack-java-sdk:jar}</argLine>
7679
</configuration>
7780
</plugin>

ios/testng-examples/browserstack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${
2424
# This property is needed to send test context to BrowserStack (test name, status)
2525
framework: testng
2626

27-
source: testng:appium-sample-sdk:v1.0
27+
source: testng:appium-sample-sdk:v1.1
2828

2929
app: ./BStackSampleApp.ipa
3030
#app: ./LocalSample.ipa #For running local tests

ios/testng-examples/pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>org.testng</groupId>
2525
<artifactId>testng</artifactId>
26-
<version>7.6.1</version>
26+
<version>7.5</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>io.appium</groupId>
@@ -72,6 +72,9 @@
7272
<artifactId>maven-surefire-plugin</artifactId>
7373
<version>2.22.2</version>
7474
<configuration>
75+
<suiteXmlFiles>
76+
<suiteXmlFile>src/test/resources/com/browserstack/sample-test.testng.xml</suiteXmlFile>
77+
</suiteXmlFiles>
7578
<argLine>-javaagent:${com.browserstack:browserstack-java-sdk:jar}</argLine>
7679
</configuration>
7780
</plugin>

0 commit comments

Comments
 (0)