LambdaTest / lambdatest-cypress-cli

Allows Customers to run cypress test on Lambdatest Infrastructure
https://www.lambdatest.com/
MIT License
7 stars 24 forks source link

Cannot set username and access key from the CLI #235

Closed tim-vyg closed 8 months ago

tim-vyg commented 1 year ago

Seems to force lambdatest_auth in config file but documentation says you can set from the command line

https://www.lambdatest.com/support/docs/authentication/

4DvAnCeBoY commented 1 year ago

@tim-vyg Please refer to this section, You can remove the lambdatest_auth block from the config json file. https://www.lambdatest.com/support/docs/getting-started-with-cypress-testing/

tim-vyg commented 1 year ago

When I do and insert into CLI - it says username is undefined

HRanjan-11 commented 9 months ago

@tim-vyg if you keep this empty in lambdatest config file "lambdatest_auth": {

},

and then pass the username through cli. it will pick the username from cli.

but generally without doing the above, passing username in cli should have worked. it will be fixed in the next release of cli.

HRanjan-11 commented 8 months ago

this has been released in the latest cli version. https://www.npmjs.com/package/lambdatest-cypress-cli/v/3.0.26

Closing this issue.