Skip to content

Commit

Permalink
daily job running mobile example on real devices
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Mar 26, 2023
1 parent 4f16d6e commit cdfc498
Show file tree
Hide file tree
Showing 9 changed files with 4,938 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/start-mobile-example/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules/
/test-results/
/playwright-report/
/playwright/.cache/
screenshot.png
35 changes: 35 additions & 0 deletions .github/start-mobile-example/mobile.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
exports.config = {
user: process.env.BROWSERSTACK_USERNAME,
key: process.env.BROWSERSTACK_ACCESS_KEY,

updateJob: false,
specs: [
'./specs/screenshot.js'
],
exclude: [],

capabilities: [{
project: "Bevy Example",
build: 'Bevy Example Runner',
name: 'run_example',
device: process.env.DEVICE || 'Samsung Galaxy S23',
os_version: process.env.OS_VERSION || "13.0",
app: process.env.BROWSERSTACK_APP_ID,
'browserstack.debug': true,
orientation: 'LANDSCAPE'
}],

logLevel: 'info',
coloredLogs: true,
screenshotPath: './screenshots/',
baseUrl: '',
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,

framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 20000
}
};
Loading

0 comments on commit cdfc498

Please # to comment.