Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
d9b6ff5
Bump wdio version to 7.20.5 | Add wdio browserstack-service
avinash-bharti Aug 22, 2022
06df7e5
Add w3c capabilities
avinash-bharti Aug 22, 2022
d778bcb
Use browserstack-service for local binary invocation | Add W3C capabi…
avinash-bharti Aug 22, 2022
9a5e1e4
Add w3c capabilities
avinash-bharti Aug 22, 2022
0a80863
Add w3c capabilities for parllel tests
avinash-bharti Aug 22, 2022
c5e1e84
IOS | Bump wdio version | Add wdio browserstack-service
avinash-bharti Aug 22, 2022
8f102ee
IOS | Add w3c capabilities
avinash-bharti Aug 22, 2022
098bea4
IOS | use browserstack-service for local testing with w3c caps
avinash-bharti Aug 22, 2022
eeb0dd3
IOS | Add w3c caps for multiple tests
avinash-bharti Aug 22, 2022
f74c401
IOS | Add w3c caps for parallel tests
avinash-bharti Aug 22, 2022
ced3230
Update README with w3c and webdriverIO version
avinash-bharti Aug 22, 2022
77fcb84
Refactor code
avinash-bharti Aug 23, 2022
00a1ae8
Bump to latest appium client version
avinash-bharti Aug 23, 2022
5a182e4
Use standard build and test names
avinash-bharti Aug 24, 2022
1993c23
Use device configuration which supports sample ios app
avinash-bharti Aug 24, 2022
19414ba
Use local app file upload feature
avinash-bharti Oct 25, 2022
133f9c4
Use substring matching rather than exact matching of string
avinash-bharti Oct 25, 2022
ada94bd
remove app cap from caps, browserstack-service handling it
avinash-bharti Oct 31, 2022
b7202cd
remove session_name from caps, as browserstack-service will mark it a…
avinash-bharti Nov 1, 2022
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
Binary file added android/assets/SampleAndroidApp.apk
Binary file not shown.
Binary file added android/assets/SampleLocalAndroidApp.apk
Binary file not shown.
4 changes: 3 additions & 1 deletion android/examples/run-first-test/first.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ exports.config = {
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
services: [['browserstack']],
services: [['browserstack', {
app: 'assets/SampleAndroidApp.apk'
}]],

framework: 'mocha',
mochaOpts: {
Expand Down
3 changes: 2 additions & 1 deletion android/examples/run-local-test/local.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ exports.config = {
// Adding browserstackLocal to browserstack-service to initiate local binary
services: [
['browserstack', {
browserstackLocal: true
browserstackLocal: true,
app: 'assets/SampleLocalAndroidApp.apk'
}]
],

Expand Down
4 changes: 3 additions & 1 deletion android/examples/run-multiple-test/multiple.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ exports.config = {
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
services: [['browserstack']],
services: [['browserstack', {
app: 'assets/SampleAndroidApp.apk'
}]],

framework: 'mocha',
mochaOpts: {
Expand Down
4 changes: 3 additions & 1 deletion android/examples/run-parallel-test/parallel.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ exports.config = {
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
services: [['browserstack']],
services: [['browserstack', {
app: 'assets/SampleAndroidApp.apk'
}]],

framework: 'mocha',
mochaOpts: {
Expand Down
6 changes: 3 additions & 3 deletions android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@wdio/cli": "^7.23.0"
},
"devDependencies": {
"@wdio/browserstack-service": "^7.23.0",
"@wdio/local-runner": "^7.23.0",
"@wdio/mocha-framework": "^7.23.0"
"@wdio/browserstack-service": "^7.25.0",
"@wdio/local-runner": "^7.25.0",
"@wdio/mocha-framework": "^7.25.0"
}
}
Binary file added ios/assets/SampleIosApp.ipa
Binary file not shown.
Binary file added ios/assets/SampleLocalIosApp.ipa
Binary file not shown.
4 changes: 3 additions & 1 deletion ios/examples/run-first-test/first.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ exports.config = {
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
services: [['browserstack']],
services: [['browserstack', {
app: 'assets/SampleIosApp.ipa'
}]],

framework: 'mocha',
mochaOpts: {
Expand Down
3 changes: 2 additions & 1 deletion ios/examples/run-local-test/local.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ exports.config = {
// Adding browserstackLocal to browserstack-service to initiate local binary
services: [
['browserstack', {
browserstackLocal: true
browserstackLocal: true,
app: 'assets/SampleLocalIosApp.ipa'
}]
],

Expand Down
4 changes: 2 additions & 2 deletions ios/examples/run-local-test/specs/local_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var assert = require('assert');

describe('BrowserStack Local Testing', () => {
it('can check tunnel working', async () => {
var searchSelector = await $(`~Test BrowserStackLocal connection`);
var searchSelector = await $(`~TestBrowserStackLocal`);
await searchSelector.waitForDisplayed({ timeout: 30000 });
await searchSelector.click();

Expand All @@ -25,6 +25,6 @@ describe('BrowserStack Local Testing', () => {
}

var matchedString = await testElement.getText();
assert(matchedString == 'Response is: Up and running');
assert(matchedString == 'Up and running');
});
});
4 changes: 3 additions & 1 deletion ios/examples/run-multiple-test/multiple.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ exports.config = {
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
services: [['browserstack']],
services: [['browserstack', {
app: 'assets/SampleIosApp.ipa'
}]],

framework: 'mocha',
mochaOpts: {
Expand Down
4 changes: 3 additions & 1 deletion ios/examples/run-parallel-test/parallel.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ exports.config = {
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
services: [['browserstack']],
services: [['browserstack', {
app: 'assets/SampleIosApp.ipa'
}]],

framework: 'mocha',
mochaOpts: {
Expand Down
6 changes: 3 additions & 3 deletions ios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@wdio/cli": "^7.23.0"
},
"devDependencies": {
"@wdio/browserstack-service": "^7.23.0",
"@wdio/local-runner": "^7.23.0",
"@wdio/mocha-framework": "^7.23.0"
"@wdio/browserstack-service": "^7.25.0",
"@wdio/local-runner": "^7.25.0",
"@wdio/mocha-framework": "^7.25.0"
}
}