Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

daily job running mobile example on real devices #8216

Merged
merged 7 commits into from
Mar 28, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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