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
ZIP_UPLOADER_NOT_REACHABLE: "Could not reach to zip uploader.",
7
-
ZIP_UPLOAD_FAILED: "Zip Upload failed.",
8
-
CONFIG_FILE_CREATED: "BrowserStack Config File created, you can now run browserstack-cypress --config-file run",
9
-
CONFIG_FILE_EXISTS: "File already exists, delete the browserstack.json file manually. skipping...",
10
-
DIR_NOT_FOUND: "Given path does not exist. Failed to create browserstack.json in %s",
11
-
ZIP_DELETE_FAILED: "Could not delete local file.",
12
-
ZIP_DELETED: "Zip file deleted successfully.",
13
-
API_DEPRECATED: "This version of API is deprecated, please use latest version of API.",
14
-
FAILED_TO_ZIP: "Failed to zip files.",
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.",
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."
12
+
BUILD_FAILED: "Build creation failed.",
13
+
BUILD_CREATED: "Build created",
14
+
BUILD_INFO_FAILED: "Failed to get build info.",
15
+
BUILD_STOP_FAILED: "Failed to stop build.",
16
+
BUILD_REPORT_MESSAGE: "See the entire build report here:",
17
+
ZIP_UPLOADER_NOT_REACHABLE: "Could not reach to zip uploader.",
18
+
ZIP_UPLOAD_FAILED: "Zip Upload failed.",
19
+
CONFIG_FILE_CREATED: "BrowserStack Config File created, you can now run browserstack-cypress --config-file run",
20
+
CONFIG_FILE_EXISTS: "File already exists, delete the browserstack.json file manually. skipping...",
21
+
DIR_NOT_FOUND: "Given path does not exist. Failed to create browserstack.json in %s",
22
+
ZIP_DELETE_FAILED: "Could not delete tests.zip successfully.",
23
+
ZIP_DELETED: "Deleted tests.zip successfully.",
24
+
API_DEPRECATED: "This version of API is deprecated, please use latest version of API.",
25
+
FAILED_TO_ZIP: "Failed to zip files.",
26
+
VISIT_DASHBOARD: "Visit the Automate dashboard for real-time test reporting:",
27
+
CONFLICTING_INIT_ARGUMENTS: "Conflicting arguments given. You can use --path only with a file name, and not with a file path.",
28
+
NO_PARALLELS: "Your specs will run sequentially on a single machine. Read more about running your specs in parallel here: https://www.browserstack.com/docs/automate/cypress/run-tests-in-parallel",
29
+
NO_NPM_DEPENDENCIES: "No npm dependencies specified - your specs might fail if they need any packages to be installed before running.",
30
+
NO_NPM_DEPENDENCIES_READ_MORE: "Read more about npm dependencies here: https://www.browserstack.com/docs/automate/cypress/npm-packages. You can suppress this warning by using --disable-npm-warning flag.",
31
+
VALIDATING_CONFIG: "Validating the config",
32
+
UPLOADING_TESTS: "Uploading the tests to BrowserStack",
33
+
LOCAL_TRUE: "you will now be able to test localhost / private URLs",
34
+
LOCAL_FALSE: "you won't be able to test localhost / private URLs",
35
+
EXIT_SYNC_CLI_MESSAGE: "Exiting the CLI, but your build is still running. You can use the --sync option to keep getting test updates. You can also use the build-info <build-id> command now.",
36
+
FATAL_NETWORK_ERROR: `fatal: unable to access '${config.buildUrl}': Could not resolve host: ${config.rails_host}`,
37
+
RETRY_LIMIT_EXCEEDED: `Max retries exceeded trying to connect to the host (retries: ${config.retries})`,
38
+
CHECK_DASHBOARD_AT: "Please check the build status at: "
19
39
};
20
40
21
41
constvalidationMessages={
@@ -39,44 +59,46 @@ const validationMessages = {
39
59
};
40
60
41
61
constcliMessages={
42
-
VERSION: {
43
-
INFO: "shows version information",
44
-
HELP: "Specify --help for available options",
45
-
DEMAND: "Requires init, run or poll argument"
46
-
},
47
-
INIT: {
48
-
INFO: "create a browserstack.json file in the folder specified with the default configuration options.",
49
-
DESC: "Init in a specified folder"
50
-
},
51
-
BUILD: {
52
-
INFO: "Check status of your build.",
53
-
STOP: "Stop your build.",
54
-
DEMAND: "Requires a build id.",
55
-
DESC: "Path to BrowserStack config",
56
-
CONFIG_DEMAND: "config file is required",
57
-
INFO_MESSAGE: "Getting information for buildId ",
58
-
STOP_MESSAGE: "Stopping build with given buildId "
59
-
},
60
-
RUN: {
61
-
PARALLEL_DESC: "The maximum number of parallels to use to run your test suite",
62
-
INFO: "Run your tests on BrowserStack.",
63
-
DESC: "Path to BrowserStack config",
64
-
CYPRESS_DESC: "Path to Cypress config file",
65
-
CONFIG_DEMAND: "config file is required",
66
-
CYPRESS_CONFIG_DEMAND: "Cypress config file is required",
67
-
BUILD_NAME: "The build name you want to use to name your test runs",
68
-
EXCLUDE: "Exclude files matching a pattern from zipping and uploading",
69
-
DEFAULT_PARALLEL_MESSAGE: "Here goes the number of parallels you want to run",
70
-
SPECS_DESCRIPTION: 'Specify the spec files to run',
71
-
ENV_DESCRIPTION: "Specify the environment variables for your spec files"
0 commit comments