Skip to content

Commit ff275a1

Browse files
Merge pull request #452 from browserstack/add-cfr-support
Adding support for CFR files
2 parents a70acc7 + 6c687f8 commit ff275a1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

bin/helpers/constants.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const validationMessages = {
120120
EMPTY_RUN_SETTINGS: "Empty run settings",
121121
EMPTY_CYPRESS_PROJ_DIR:
122122
"cypress_proj_dir is not set in run_settings. See https://www.browserstack.com/docs/automate/cypress/sample-tutorial to learn more.",
123-
EMPTY_CYPRESS_CONFIG_FILE:
123+
EMPTY_CYPRESS_CONFIG_FILE:
124124
"cypress_config_file is not set in run_settings. See https://www.browserstack.com/docs/automate/cypress/configuration-file to learn more.",
125125
VALIDATED: "browserstack.json file is validated",
126126
NOT_VALID: "browerstack.json is not valid",
@@ -129,9 +129,9 @@ const validationMessages = {
129129
INVALID_PARALLELS_CONFIGURATION:
130130
"Invalid value specified for parallels to use. Maximum parallels to use should be a number greater than 0.",
131131
INVALID_CYPRESS_CONFIG_FILE: "Invalid cypress_config_file",
132-
CYPRESS_CONFIG_FILE_NOT_FOUND:
132+
CYPRESS_CONFIG_FILE_NOT_FOUND:
133133
"No cypress config file was found at <location> directory.",
134-
MORE_THAN_ONE_CYPRESS_CONFIG_FILE_FOUND:
134+
MORE_THAN_ONE_CYPRESS_CONFIG_FILE_FOUND:
135135
"Cypress does not allow more than one cypress config file.",
136136
INVALID_CYPRESS_JSON: "cypress.json is not a valid json",
137137
INVALID_DEFAULT_AUTH_PARAMS:
@@ -309,7 +309,8 @@ const allowedFileTypes = [
309309
"mjpeg",
310310
"y4m",
311311
"tsx",
312-
"pfx"
312+
"pfx",
313+
"cfr",
313314
];
314315

315316
const filesToIgnoreWhileUploading = [

0 commit comments

Comments
 (0)