Skip to content

Commit 6ba39f2

Browse files
authored
Merge pull request #3 from kn-neeraj/master
Minor changes in Readme and config files
2 parents f761e12 + e5433e8 commit 6ba39f2

File tree

11 files changed

+25
-90
lines changed

11 files changed

+25
-90
lines changed

README.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,23 @@ Code samples to get started with Appium tests for your Native App using Webdrive
1111
## Setup
1212

1313
### Requirements
14-
* Node.js
15-
- Install at least **v8.11.2 or higher** as this is the oldest active LTS version
16-
- If you don't have Node installed, you can get get it installed from [here](https://nodejs.org/en/)
1714

18-
### Install Dependencies
19-
To install the dependencies for Android tests, run :
15+
* Node.js 8.11.2+
16+
- If you don't have Node installed, download it from [here](https://nodejs.org/en/)
17+
18+
### Install the dependencies
19+
20+
For Android tests, run the following command in project's base directory :
21+
2022
```sh
2123
cd android
2224
npm i
2325
```
26+
2427
Or,
25-
To install the dependencies for iOS tests, run :
28+
29+
For dependencies for iOS tests, run following command in project's base directory :
30+
2631
```sh
2732
cd ios
2833
npm i
@@ -33,26 +38,20 @@ npm i
3338
Getting Started with Appium tests using WebdriverIO on BrowserStack couldn't be easier!
3439

3540
### Run first test:
36-
- Switch to `run-first-test` directory under [Android examples](./android) or [iOS examples](./ios)
41+
- Test script is available in `run-first-test` directory under [Android examples](./android) or [iOS examples](./ios)
3742
- Follow the steps outlined in the documentation - [Get Started with your first test on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/nodejs/webdriverio)
3843

3944
### Speed up test execution with parallel testing :
4045

41-
- Switch to `run-parallel-test` directory under [Android examples](./android) or [iOS examples](./ios)
46+
- Test script is available in `run-parallel-test` directory under [Android examples](./android) or [iOS examples](./ios)
4247
- Follow the steps outlined in the documentation - [Get Started with parallel testing on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/nodejs/webdriverio/parallelize-tests)
4348

4449
### Use Local testing for apps that access resources hosted in development or testing environments :
4550

46-
- Switch to `run-local-test` directory under [Android examples](./android) or [iOS examples](./ios)
51+
- Test script is available in `run-local-test` directory under [Android examples](./android) or [iOS examples](./ios)
4752
- Follow the steps outlined in the documentation - [Get Started with Local testing on App Automate](https://www.browserstack.com/docs/app-automate/appium/getting-started/nodejs/webdriverio/local-testing)
4853

49-
**Note**: If you are facing any issues, refer [Getting Help section](#Getting-Help)
50-
51-
52-
## Integration with other Javascript frameworks
53-
54-
For other test frameworks supported by App-Automate refer our [Developer documentation](https://www.browserstack.com/docs/)
55-
54+
**Note**: For other test frameworks supported by App-Automate refer our [Developer documentation](https://www.browserstack.com/docs/)
5655

5756
## Getting Help
5857

android/README.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

android/examples/run-first-test/first.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ exports.config = {
1010

1111
capabilities: [{
1212
project: "First Webdriverio Android Project",
13-
build: 'Webdriverio Android First',
14-
name: 'single_appium_test',
13+
build: 'Webdriverio Android',
14+
name: 'first_test',
1515
device: 'Google Pixel 3',
1616
os_version: "9.0",
1717
app: process.env.BROWSERSTACK_APP_ID || 'bs://<hashed app-id>',

android/examples/run-local-test/local.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports.config = {
1313
capabilities: [{
1414
project: "First Webdriverio Android Project",
1515
build: 'Webdriverio Android Local',
16-
name: 'local_appium_test',
16+
name: 'local_test',
1717
device: 'Google Pixel 3',
1818
os_version: "9.0",
1919
app: process.env.BROWSERSTACK_APP_ID || 'bs://<hashed app-id>',

android/examples/run-multiple-test/multiple.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ exports.config = {
1111
capabilities: [{
1212
project: "First Webdriverio Android Project",
1313
build: 'Webdriverio Android Multiple',
14-
name: 'multiple_appium_test',
14+
name: 'multiple_test',
1515
device: 'Google Pixel 3',
1616
os_version: "9.0",
1717
app: process.env.BROWSERSTACK_APP_ID || 'bs://<hashed app-id>',

android/examples/run-parallel-test/parallel.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exports.config = {
1212
commonCapabilities: {
1313
project: "First Webdriverio Android Project",
1414
build: 'Webdriverio Android Parallel',
15-
name: 'parallel_appium_test',
15+
name: 'parallel_test',
1616
app: process.env.BROWSERSTACK_APP_ID || 'bs://<hashed app-id>',
1717
'browserstack.debug': true
1818
},

ios/README.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

ios/examples/run-first-test/first.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ exports.config = {
1010

1111
capabilities: [{
1212
project: "First Webdriverio iOS Project",
13-
build: 'Webdriverio iOS First',
14-
name: 'single_appium_test',
13+
build: 'Webdriverio iOS',
14+
name: 'single_test',
1515
device: 'iPhone 11 Pro',
1616
os_version: "13",
1717
app: process.env.BROWSERSTACK_APP_ID || 'bs://<hashed app-id>',

ios/examples/run-local-test/local.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports.config = {
1313
capabilities: [{
1414
project: "First Webdriverio iOS Project",
1515
build: 'Webdriverio iOS Local',
16-
name: 'local_appium_test',
16+
name: 'local_test',
1717
device: 'iPhone 11 Pro',
1818
os_version: "13",
1919
app: process.env.BROWSERSTACK_APP_ID || 'bs://<hashed app-id>',

ios/examples/run-multiple-test/multiple.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ exports.config = {
1111
capabilities: [{
1212
project: "First Webdriverio iOS Project",
1313
build: 'Webdriverio iOS Multiple',
14-
name: 'multiple_appium_test',
14+
name: 'multiple_test',
1515
device: 'iPhone 11 Pro',
1616
os_version: "13",
1717
app: process.env.BROWSERSTACK_APP_ID || 'bs://<hashed app-id>',

0 commit comments

Comments
 (0)