Skip to content

Commit 5253a62

Browse files
committed
daily job running mobile example on real devices
1 parent 4f16d6e commit 5253a62

File tree

9 files changed

+4938
-5
lines changed

9 files changed

+4938
-5
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
/test-results/
3+
/playwright-report/
4+
/playwright/.cache/
5+
screenshot.png
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
exports.config = {
2+
user: process.env.BROWSERSTACK_USERNAME,
3+
key: process.env.BROWSERSTACK_ACCESS_KEY,
4+
5+
updateJob: false,
6+
specs: [
7+
'./specs/screenshot.js'
8+
],
9+
exclude: [],
10+
11+
capabilities: [{
12+
project: "Bevy Example",
13+
build: 'Bevy Example Runner',
14+
name: 'run_example',
15+
device: process.env.DEVICE || 'Samsung Galaxy S23',
16+
os_version: process.env.OS_VERSION || "13.0",
17+
app: process.env.BROWSERSTACK_APP_ID,
18+
'browserstack.debug': true,
19+
orientation: 'LANDSCAPE'
20+
}],
21+
22+
logLevel: 'info',
23+
coloredLogs: true,
24+
screenshotPath: './screenshots/',
25+
baseUrl: '',
26+
waitforTimeout: 10000,
27+
connectionRetryTimeout: 90000,
28+
connectionRetryCount: 3,
29+
30+
framework: 'mocha',
31+
mochaOpts: {
32+
ui: 'bdd',
33+
timeout: 20000
34+
}
35+
};

0 commit comments

Comments
 (0)