test: add e2e tests for login/logout commands [gh-0] #1886
Annotations
3 errors
packages/cli/e2e/__tests__/login.spec.ts#L20
expect(received).toContain(expected) // indexOf
Expected substring: " › Warning: `CHECKLY_API_KEY` or `CHECKLY_ACCOUNT_ID` environment variables·
› are configured. You must delete them to use `npx checkly login`.
"
Received string: " » Warning: `CHECKLY_API_KEY` or `CHECKLY_ACCOUNT_ID` environment variables·
» are configured. You must delete them to use `npx checkly login`.
"
at Object.<anonymous> (e2e/__tests__/login.spec.ts:20:20)
|
packages/cli/e2e/__tests__/login.spec.ts#L56
expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: " Error: Unable to start a local server on port 4242. Please check that·
`checkly login` isn't already running in a separate tab. On OS X and·
Linux, you can run `lsof -i :4242` to see which process is blocking the·
port.
"
at Object.<anonymous> (e2e/__tests__/login.spec.ts:56:20)
|
|
The logs for this run have expired and are no longer available.
Loading