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
Copy file name to clipboardExpand all lines: bin/helpers/constants.js
+21-5Lines changed: 21 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,9 @@ const userMessages = {
13
13
API_DEPRECATED: "This version of API is deprecated, please use latest version of API.",
14
14
FAILED_TO_ZIP: "Failed to zip files.",
15
15
VISIT_DASHBOARD: "Visit the Automate dashboard for test reporting:",
16
-
CONFLICTING_INIT_ARGUMENTS: "Conflicting arguments given. You can use --path only with a file name, and not with a file path."
16
+
CONFLICTING_INIT_ARGUMENTS: "Conflicting arguments given. You can use --path only with a file name, and not with a file path.",
17
+
NO_PARALLELS: "Your tests will run sequentially. Read more about running your tests in parallel here: https://www.browserstack.com/docs/automate/cypress/run-tests-in-parallel",
18
+
NO_NPM_DEPENDENCIES: "No npm dependencies specified. Read more here: https://www.browserstack.com/docs/automate/cypress/npm-packages. You can suppress this warning by using --disable-npm-warning flag."
EMPTY_SPEC_FILES: "No spec files specified in run_settings",
27
+
EMPTY_CYPRESS_PROJ_DIR: "cypress_proj_dir is not set in run_settings. See https://www.browserstack.com/docs/automate/cypress/sample-tutorial to learn more.",
26
28
VALIDATED: "browserstack.json file is validated",
27
29
NOT_VALID: "browerstack.json is not valid",
28
30
NOT_VALID_JSON: "browerstack.json is not a valid json",
29
31
INVALID_EXTENSION: "Invalid files, please remove these files and try again.",
30
32
INVALID_PARALLELS_CONFIGURATION: "Invalid value specified for parallels to use. Maximum parallels to use should be a number greater than 0.",
31
33
CYPRESS_JSON_NOT_FOUND: "cypress.json file is not found at cypress_proj_dir path ",
32
-
INVALID_CYPRESS_JSON: "cypress.json is not a valid json"
34
+
INVALID_CYPRESS_JSON: "cypress.json is not a valid json",
35
+
INVALID_DEFAULT_AUTH_PARAMS: "Your username and access key are required to run your tests on BrowserStack. Learn more at https://www.browserstack.com/docs/automate/cypress/authentication",
36
+
LOCAL_NOT_SET: "To test <baseUrl value> on BrowserStack, you will have to set up Local testing. Read more here: https://www.browserstack.com/docs/automate/cypress/local-testing",
37
+
INCORRECT_DIRECTORY_STRUCTURE: "No tests to run. Note that your Cypress tests should be in the same directory where the cypress.json exists."
33
38
};
34
39
35
40
constcliMessages={
@@ -56,12 +61,17 @@ const cliMessages = {
56
61
INFO: "Run your tests on BrowserStack.",
57
62
DESC: "Path to BrowserStack config",
58
63
CONFIG_DEMAND: "config file is required",
59
-
BUILD_NAME: "The build name you want to use to name your test runs"
64
+
BUILD_NAME: "The build name you want to use to name your test runs",
65
+
EXCLUDE: "Exclude files matching a pattern from zipping and uploading",
66
+
DEFAULT_PARALLEL_MESSAGE: "Here goes the number of parallels you want to run",
67
+
SPECS_DESCRIPTION: 'Specify the spec files to run',
68
+
ENV_DESCRIPTION: "Specify the environment variables for your spec files"
0 commit comments