Skip to content

Commit d5a22c9

Browse files
committed
ci: add mobile devices
1 parent d1c92ce commit d5a22c9

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"flow": "flow check",
3434
"test:unit": "jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
3535
"test:e2e": "node test/e2e/runner.js",
36-
"test:e2e:ci": "node test/e2e/runner.js --local -e ie -c test/e2e/nightwatch.browserstack.js test/e2e/specs/active-links.js",
36+
"test:e2e:ci": "node test/e2e/runner.js --local -e ie,android44 -c test/e2e/nightwatch.browserstack.js test/e2e/specs/active-links.js",
3737
"test:e2e:ff": "node test/e2e/runner.js -e firefox -c test/e2e/nightwatch.config.js",
3838
"test:types": "tsc -p types/test",
3939
"docs": "vuepress dev docs",

test/e2e/nightwatch.browserstack.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,22 @@ const nwConf = {
7676
// name: 'Bstack-[Nightwatch] Vue Router',
7777
// 'browserstack.video': true
7878
}
79+
},
80+
81+
android44: {
82+
desiredCapabilities: {
83+
device: 'Google Nexus 5',
84+
realMobile: 'true',
85+
os_version: '4.4'
86+
}
87+
},
88+
89+
ios7: {
90+
desiredCapabilities: {
91+
device: 'iPhone 7',
92+
realMobile: 'true',
93+
os_version: '10'
94+
}
7995
}
8096
}
8197
}

0 commit comments

Comments
 (0)