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
+58-57Lines changed: 58 additions & 57 deletions
Original file line number
Diff line number
Diff line change
@@ -3,24 +3,24 @@ const syncCLI = {
3
3
};
4
4
5
5
constuserMessages={
6
-
BUILD_FAILED: "Build creation failed.",
7
-
BUILD_CREATED: "Build created",
8
-
BUILD_INFO_FAILED: "Failed to get build info.",
9
-
BUILD_STOP_FAILED: "Failed to stop build.",
10
-
BUILD_REPORT_MESSAGE: "See the entire build report here:",
11
-
ZIP_UPLOADER_NOT_REACHABLE: "Could not reach to zip uploader.",
12
-
ZIP_UPLOAD_FAILED: "Zip Upload failed.",
13
-
CONFIG_FILE_CREATED: "BrowserStack Config File created, you can now run browserstack-cypress --config-file run",
14
-
CONFIG_FILE_EXISTS: "File already exists, delete the browserstack.json file manually. skipping...",
15
-
DIR_NOT_FOUND: "Given path does not exist. Failed to create browserstack.json in %s",
16
-
ZIP_DELETE_FAILED: "Could not delete local file.",
17
-
ZIP_DELETED: "Zip file deleted successfully.",
18
-
API_DEPRECATED: "This version of API is deprecated, please use latest version of API.",
19
-
FAILED_TO_ZIP: "Failed to zip files.",
20
-
VISIT_DASHBOARD: "Visit the Automate dashboard for test reporting:",
21
-
CONFLICTING_INIT_ARGUMENTS: "Conflicting arguments given. You can use --path only with a file name, and not with a file path.",
22
-
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",
23
-
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."
6
+
BUILD_FAILED: "Build creation failed.",
7
+
BUILD_CREATED: "Build created",
8
+
BUILD_INFO_FAILED: "Failed to get build info.",
9
+
BUILD_STOP_FAILED: "Failed to stop build.",
10
+
BUILD_REPORT_MESSAGE: "See the entire build report here:",
11
+
ZIP_UPLOADER_NOT_REACHABLE: "Could not reach to zip uploader.",
12
+
ZIP_UPLOAD_FAILED: "Zip Upload failed.",
13
+
CONFIG_FILE_CREATED: "BrowserStack Config File created, you can now run browserstack-cypress --config-file run",
14
+
CONFIG_FILE_EXISTS: "File already exists, delete the browserstack.json file manually. skipping...",
15
+
DIR_NOT_FOUND: "Given path does not exist. Failed to create browserstack.json in %s",
16
+
ZIP_DELETE_FAILED: "Could not delete local file.",
17
+
ZIP_DELETED: "Zip file deleted successfully.",
18
+
API_DEPRECATED: "This version of API is deprecated, please use latest version of API.",
19
+
FAILED_TO_ZIP: "Failed to zip files.",
20
+
VISIT_DASHBOARD: "Visit the Automate dashboard for test reporting:",
21
+
CONFLICTING_INIT_ARGUMENTS: "Conflicting arguments given. You can use --path only with a file name, and not with a file path.",
22
+
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",
23
+
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."
24
24
};
25
25
26
26
constvalidationMessages={
@@ -44,45 +44,46 @@ const validationMessages = {
44
44
};
45
45
46
46
constcliMessages={
47
-
VERSION: {
48
-
INFO: "shows version information",
49
-
HELP: "Specify --help for available options",
50
-
DEMAND: "Requires init, run or poll argument"
51
-
},
52
-
INIT: {
53
-
INFO: "create a browserstack.json file in the folder specified with the default configuration options.",
54
-
DESC: "Init in a specified folder"
55
-
},
56
-
BUILD: {
57
-
INFO: "Check status of your build.",
58
-
STOP: "Stop your build.",
59
-
DEMAND: "Requires a build id.",
60
-
DESC: "Path to BrowserStack config",
61
-
CONFIG_DEMAND: "config file is required",
62
-
INFO_MESSAGE: "Getting information for buildId ",
63
-
STOP_MESSAGE: "Stopping build with given buildId "
64
-
},
65
-
RUN: {
66
-
PARALLEL_DESC: "The maximum number of parallels to use to run your test suite",
67
-
INFO: "Run your tests on BrowserStack.",
68
-
DESC: "Path to BrowserStack config",
69
-
CYPRESS_DESC: "Path to Cypress config file",
70
-
CONFIG_DEMAND: "config file is required",
71
-
CYPRESS_CONFIG_DEMAND: "Cypress config file is required",
72
-
BUILD_NAME: "The build name you want to use to name your test runs",
73
-
EXCLUDE: "Exclude files matching a pattern from zipping and uploading",
74
-
DEFAULT_PARALLEL_MESSAGE: "Here goes the number of parallels you want to run",
75
-
SPECS_DESCRIPTION: 'Specify the spec files to run',
76
-
ENV_DESCRIPTION: "Specify the environment variables for your spec files",
0 commit comments