You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STARTUP_MESSAGE: "BrowserStack machines are now setting up Cypress with the specified npm dependencies for running your tests. It might take some time before your tests start runnning and showing up below..."
10
11
};
11
12
12
13
constuserMessages={
@@ -41,15 +42,16 @@ const userMessages = {
41
42
FATAL_NETWORK_ERROR: `fatal: unable to access '${config.buildUrl}': Could not resolve host: ${config.rails_host}`,
42
43
RETRY_LIMIT_EXCEEDED: `Max retries exceeded trying to connect to the host (retries: ${config.retries})`,
43
44
CHECK_DASHBOARD_AT: "Please check the build status at: ",
44
-
CYPRESS_VERSION_CHANGED: "Your build will run using Cypress <actualVersion> instead of Cypress <preferredVersion>. Read more about supported versions here: http://browserstack.com/docs/automate/cypress/supported-versions",
45
+
CYPRESS_VERSION_CHANGED: "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",
INVALID_LOCAL_MODE_WARNING: "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",
48
49
SPEC_LIMIT_WARNING: "You might not see all your results on the dashboard because of high spec count, please consider reducing the number of spec files in this folder.",
49
50
DOWNLOAD_BUILD_ARTIFACTS_FAILED: "Downloading build artifacts for the build <build-id> failed for <machine-count> machines.",
50
51
ASYNC_DOWNLOADS: "Test artifacts as specified under 'downloads' can be downloaded after the build has completed its run, using 'browserstack-cypress generate-downloads <build-id>'",
51
52
DOWNLOAD_BUILD_ARTIFACTS_SUCCESS: "Your build artifact(s) have been successfully downloaded in '<user-path>/build_artifacts/<build-id>' directory",
52
-
LATEST_SYNTAX_TO_ACTUAL_VERSION_MESSAGE: "Your build will run using Cypress <actualVersion> as you had specified <latestSyntaxVersion>. Read more about supported versions here: http://browserstack.com/docs/automate/cypress/supported-versions"
53
+
LATEST_SYNTAX_TO_ACTUAL_VERSION_MESSAGE: "Your build will run using Cypress <actualVersion> as you had specified <latestSyntaxVersion>.<frameworkUpgradeMessage> Read more about supported versions here: http://browserstack.com/docs/automate/cypress/supported-versions",
54
+
PROCESS_KILL_MESSAGE: "Stopping the CLI and the execution of the build on BrowserStack",
53
55
};
54
56
55
57
constvalidationMessages={
@@ -74,7 +76,8 @@ const validationMessages = {
74
76
INVALID_LOCAL_MODE: "When using --local-mode, a value needs to be supplied. \n--local-mode (\"always-on\" | \"on-demand\").\nFor more info, check out https://www.browserstack.com/docs/automate/cypress/cli-reference",
75
77
INVALID_LOCAL_CONFIG_FILE: "Using --local-config-file requires an input of the form /path/to/config-file.yml.\nFor more info, check out https://www.browserstack.com/docs/automate/cypress/cli-reference",
76
78
INVALID_LOCAL_IDENTIFIER: "Invalid value specified for local_identifier. For more info, check out https://www.browserstack.com/docs/automate/cypress/cli-reference",
77
-
INVALID_BROWSER_ARGS: "Aborting as an unacceptable value was passed for --browser. Read more at https://www.browserstack.com/docs/automate/cypress/cli-reference"
79
+
INVALID_BROWSER_ARGS: "Aborting as an unacceptable value was passed for --browser. Read more at https://www.browserstack.com/docs/automate/cypress/cli-reference",
80
+
INVALID_LOCAL_ASYNC_ARGS: "Cannot run in --async mode when local is set to true. Please run the build after removing --async",
78
81
};
79
82
80
83
constcliMessages={
@@ -96,7 +99,7 @@ const cliMessages = {
96
99
},
97
100
RUN: {
98
101
PARALLEL_DESC: "The maximum number of parallels to use to run your test suite",
99
-
INFO: "Run your tests on BrowserStack.",
102
+
INFO: "Run your tests on BrowserStack. For more help: `browserstack-cypress run --help`.",
100
103
CYPRESS_DESC: "Path to Cypress config file",
101
104
CYPRESS_CONFIG_DEMAND: "Cypress config file is required",
102
105
BUILD_NAME: "The build name you want to use to name your test runs",
@@ -105,6 +108,7 @@ const cliMessages = {
105
108
SPECS_DESCRIPTION: "Specify the spec files to run",
106
109
ENV_DESCRIPTION: "Specify the environment variables for your spec files",
107
110
SYNC_DESCRIPTION: "Makes the run command in sync",
111
+
ASYNC_DESCRIPTION: "Makes the run command in async",
108
112
BUILD_REPORT_MESSAGE: "See the entire build report here",
109
113
HEADED: "Run your tests in a headed browser instead of a headless browser",
110
114
LOCAL: "Accepted values: (true | false) - create a local testing connection to let you test staging and localhost websites, or sites behind proxies; learn more at browserstack.com/local-testing",
0 commit comments