Skip to content

Commit cff6f6b

Browse files
committed
restrucutre files
update readme
1 parent f43395a commit cff6f6b

File tree

25 files changed

+62
-21
lines changed

25 files changed

+62
-21
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This repository demonstrates how to run Appium tests using [WebdriverIO](http://
99
Code samples to get started with Appium tests for your Native App using WebdriverIO.
1010

1111
## Setup
12-
-----------
12+
1313
### Requirements
1414
* Node.js
1515
- Install at least **v8.11.2 or higher** as this is the oldest active LTS version
@@ -29,7 +29,7 @@ npm i
2929
```
3030

3131
## Getting Started
32-
-----------
32+
3333
Getting Started with Appium tests using WebdriverIO on BrowserStack couldn't be easier!
3434

3535
### Run first test:
@@ -50,11 +50,11 @@ Getting Started with Appium tests using WebdriverIO on BrowserStack couldn't be
5050

5151

5252
## Integration with other Java frameworks
53-
-----------
53+
5454
For other test frameworks supported by App-Automate refer our [Developer documentation](https://www.browserstack.com/docs/)
5555

5656

5757
## Getting Help
58-
-----------
58+
5959
If you are running into any issues or have any queries, please check [Browserstack Support page](https://www.browserstack.com/support/app-automate) or [get in touch with us](https://www.browserstack.com/contact?ref=help).
6060

android/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"description": "Selenium examples for WebdriverIO and BrowserStack App Automate",
66
"scripts": {
77
"test": "npm run single && npm run local && npm run parallel",
8-
"single": "./node_modules/.bin/wdio conf/single.conf.js",
9-
"parallel": "./node_modules/.bin/wdio conf/parallel.conf.js",
10-
"local": "./node_modules/.bin/wdio conf/local.conf.js",
11-
"multiple": "./node_modules/.bin/wdio conf/multiple.conf.js"
8+
"single": "./node_modules/.bin/wdio run_first_test/first.conf.js",
9+
"parallel": "./node_modules/.bin/wdio run_parallel_test/parallel.conf.js",
10+
"local": "./node_modules/.bin/wdio run_local_test/local.conf.js",
11+
"multiple": "./node_modules/.bin/wdio run_multiple_test/multiple.conf.js"
1212
},
1313
"repository": {
1414
"type": "git",

android/conf/single.conf.js renamed to android/run_first_test/first.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ exports.config = {
44

55
updateJob: false,
66
specs: [
7-
'./tests/specs/single_test.js'
7+
'./run_first_test/specs/first_test.js'
88
],
99
exclude: [],
1010

1111
capabilities: [{
1212
name: 'single_appium_test',
1313
build: 'webdriver-browserstack',
14-
device: 'Samsung Galaxy S10e',
14+
device: 'Google Pixel 3',
1515
os_version: "9.0",
1616
browserName: 'android',
1717
app: process.env.BROWSERSTACK_APP_ID || 'bs://<hashed app-id>',
File renamed without changes.

android/conf/local.conf.js renamed to android/run_local_test/local.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exports.config = {
66

77
updateJob: false,
88
specs: [
9-
'./tests/specs/local_test.js'
9+
'./run_local_test/specs/local_test.js'
1010
],
1111
exclude: [],
1212

File renamed without changes.

android/conf/multiple.conf.js renamed to android/run_multiple_test/multiple.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports.config = {
44

55
updateJob: false,
66
specs: [
7-
'./tests/specs/multiple_test.js'
7+
'./run_multiple_test/specs/multiple_test.js'
88
],
99
exclude: [],
1010

0 commit comments

Comments
 (0)