How to pass CLI parameter for cypress to Lambdatest Platform?
Please use below CLI parameter with the cypress run command:
| OPTIONS | PURPOSE |
|---|---|
| –version | Show version number [boolean] |
| –help | Show help [boolean] |
| –ccf, –cypress-config-file | path of the config file [string] |
| –lcf, –lambdatest-config-file | path of the lambdatest config file [string] |
| -s, –specs | path of the spec file or directory or pattern [string] |
| –bn, –build-name | build name [string] |
| -t, –tags | build tags [string] |
| -p, –parellels | no of parellel sessions [string] |
| –version | Show version number [boolean] |
| — | — |
| –help | Show help [boolean] |
| –id, –build-id | Build Identifier [string] [required] |
You may also refer the below link to use environmental variable in the cypress: