Im getting this error in Cypress:

Im getting this error in Cypress:

Error!! --ccf flag, cypress_config_file, cypress.json is not supported with cypress>=10,remove cypress.json if present and use
--cy="--config-file <file path>" For passing custom config files"
1 Like

Hi Ian,

With Cypress 10, you donā€™t have to pass cypress_config_file capability anymore thus, kindly try removing the below syntax from your lambdatest-config.json > under ā€œrun settingsā€ and run a new test.

cypress_config_file: "cypress.config.js"

2 Likes

When I run the lambda test by removing cypress_config_file: ā€œcypress.config.jsā€ line , got the below error (Using Cypress above 10 version) Opening Cypressā€¦

There is both a cypress.json and a cypress.config.js at the location below:

E:\lambda-node-remote-client\2a94f769-d49d-4323-9194-958f10623f08\project

Cypress does not know which one to read for config. Please remove one of the two and try again.