From 6c687f8c49c043457af0b64ac3082b8ccfb21dab Mon Sep 17 00:00:00 2001 From: Surya Tripathi Date: Wed, 11 Jan 2023 11:50:51 +0530 Subject: [PATCH] Adding support for CFR files --- bin/helpers/constants.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/helpers/constants.js b/bin/helpers/constants.js index 02b9fe58..0994b6c0 100644 --- a/bin/helpers/constants.js +++ b/bin/helpers/constants.js @@ -120,7 +120,7 @@ const validationMessages = { EMPTY_RUN_SETTINGS: "Empty run settings", 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.", - EMPTY_CYPRESS_CONFIG_FILE: + EMPTY_CYPRESS_CONFIG_FILE: "cypress_config_file is not set in run_settings. See https://www.browserstack.com/docs/automate/cypress/configuration-file to learn more.", VALIDATED: "browserstack.json file is validated", NOT_VALID: "browerstack.json is not valid", @@ -129,9 +129,9 @@ const validationMessages = { INVALID_PARALLELS_CONFIGURATION: "Invalid value specified for parallels to use. Maximum parallels to use should be a number greater than 0.", INVALID_CYPRESS_CONFIG_FILE: "Invalid cypress_config_file", - CYPRESS_CONFIG_FILE_NOT_FOUND: + CYPRESS_CONFIG_FILE_NOT_FOUND: "No cypress config file was found at directory.", - MORE_THAN_ONE_CYPRESS_CONFIG_FILE_FOUND: + MORE_THAN_ONE_CYPRESS_CONFIG_FILE_FOUND: "Cypress does not allow more than one cypress config file.", INVALID_CYPRESS_JSON: "cypress.json is not a valid json", INVALID_DEFAULT_AUTH_PARAMS: @@ -309,7 +309,8 @@ const allowedFileTypes = [ "mjpeg", "y4m", "tsx", - "pfx" + "pfx", + "cfr", ]; const filesToIgnoreWhileUploading = [