I am trying to run Cypress tests on LambdaTest and I am getting error that the Cypress config file couldn't be found. How can I resolve the error?

I am trying to run Cypress tests on LambdaTest and I am getting error that the Cypress config file couldn’t be found. How can I resolve the error?

Hello Macy-davis,

This issue usually happens when the Cypress config file is not in the root directory. So you need to pass the path of the config file with LambdaTest run command like below:

lambdatest-cypress run --cy="--config-file <file path>"