CLI Login
Last updated
Last updated
a. Go to your accounts page
b. Click to create a new CLI token
c. Copy the newly generated CLI token and add it as a env var with key "HT_CLI_REFRESH_TOKEN"
a. Once the test is started, cli will prompt the user to login by opening the dashboard url.
b. If cli is unable to open the url then it will log the url, user can manually click on the link to open dashboard.
c. User can login with SSO or email password option.
d. Once login is successful the user is redirected to accounts page where the cli token is generated if it doesn't exist and the test execution will resume.
e. If the cli session times out then the process needs to be repeated. Once the token is saved in local, the same token will be reused for future test runs.