Skip to content

Commit

Permalink
cli: verfiy that a phone has a internet connection before a test (#3152)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Sep 26, 2020
1 parent 83e3281 commit 6d37a98
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/cli/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,13 @@ module.exports.parseCommandLine = function parseCommandLine() {
describe:
'How long time to wait (in seconds) if the androidBatteryTemperatureWaitTimeInSeconds is not met before the next try'
})
.option('browsertime.androidVerifyNetwork', {
alias: 'androidVerifyNetwork',
type: 'boolean',
default: false,
describe:
'Before a test start, verify that the device has a Internet connection by pinging 8.8.8.8 (or a configurable domain with --androidPingAddress)'
})
.option('browsertime.chrome.android.deviceSerial', {
alias: 'chrome.android.deviceSerial',
describe:
Expand Down

0 comments on commit 6d37a98

Please sign in to comment.