Skip to content

Commit f4643d0

Browse files
committed
Merge branch 'master' of github.com:amaanbs/browserstack-cypress-cli into OBS_1292_observability_cypress_support
2 parents 31770f1 + 970bb82 commit f4643d0

File tree

5 files changed

+1846
-0
lines changed

5 files changed

+1846
-0
lines changed

bin/commands/runs.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ module.exports = function run(args, rawArgs) {
8282
// set cypress geo location
8383
utils.setGeolocation(bsConfig, args);
8484

85+
// set timezone
86+
utils.setTimezone(bsConfig, args);
87+
8588
// set spec timeout
8689
utils.setSpecTimeout(bsConfig, args);
8790
}

bin/helpers/constants.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ const userMessages = {
8585
"Your build will run using Cypress <actualVersion> instead of Cypress <preferredVersion>.<frameworkUpgradeMessage> Read more about supported versions here: http://browserstack.com/docs/automate/cypress/supported-versions",
8686
LOCAL_START_FAILED: "Local Testing setup failed.",
8787
LOCAL_STOP_FAILED: "Local Binary stop failed.",
88+
INVALID_TIMEZONE:
89+
'The timezone specified is invalid. Refer to our documentation page https://www.browserstack.com/docs/automate/cypress/configure-timezones for the supported time zones.',
8890
INVALID_LOCAL_MODE_WARNING:
8991
'Invalid value specified for local_mode. local_mode: ("always-on" | "on-demand"). For more info, check out https://www.browserstack.com/docs/automate/cypress/cli-reference',
9092
LOCAL_BINARY_ALREADY_RUNNING:

0 commit comments

Comments
 (0)