feat: make sync-playwright command visible #2087
Annotations
4 errors and 10 warnings
help › should print core and additional commands and topic:
packages/cli/e2e/__tests__/help.spec.ts#L35
expect(received).toContain(expected) // indexOf
Expected substring: "ADDITIONAL COMMANDS
destroy Destroy your project with all its related resources.
env Manage Checkly environment variables.
help Display help for checkly.
login Login to your Checkly account or create a new one.
logout Log out and clear any local credentials.
runtimes List all supported runtimes and dependencies.
switch Switch user account.
whoami See your currently logged in account and user."
Received string: "Checkly CLI·
VERSION
checkly/0.0.1-dev linux-x64 node-v16.20.2·
USAGE
$ checkly [COMMAND]·
CORE COMMANDS
deploy Deploy your project to your Checkly account.
test Test your checks on Checkly.
trigger Trigger your checks on Checkly.·
ADDITIONAL COMMANDS
destroy Destroy your project with all its related resources.
env Manage Checkly environment variables.
help Display help for checkly.
login Login to your Checkly account or create a new one.
logout Log out and clear any local credentials.
runtimes List all supported runtimes and dependencies.
switch Switch user account.
sync-playwright Copy Playwright config into the Checkly config file
whoami See your currently logged in account and user.·
ENVIRONMENT VARIABLES
Running the CLI from your CI pipeline will need to export variables in the shell:·
CHECKLY_ACCOUNT_ID Checkly account ID.
CHECKLY_API_KEY Checkly User API Key.·····
EXAMPLES
Test your checks on Checkly with full logging.·
$ npx checkly test -v·
Pass environment variables to your checks.·
$ npx checkly test -e SECRET=my-password·
Record your test session in Checkly with logs, traces and videos.·
$ npx checkly test --record·
Deploy your project to your Checkly account.·
$ npx checkly deploy··
"
at Object.<anonymous> (e2e/__tests__/help.spec.ts:35:20)
|
test - ubuntu-latest
Process completed with exit code 1.
|
test - windows-latest
The job was canceled because "ubuntu-latest" failed.
|
test - windows-latest
The operation was canceled.
|
lint:
packages/cli/e2e/__tests__/fixtures/deploy-esm-project/api.check.mjs#L3
'api' is assigned a value but never used
|
lint:
packages/cli/e2e/__tests__/fixtures/esm-module/checks.check.ts#L3
'browserCheck' is assigned a value but never used
|
lint:
packages/cli/e2e/__tests__/fixtures/snapshot-project-missing-snapshots/checkly.config.ts#L5
Forbidden non-null assertion
|
lint:
packages/cli/e2e/__tests__/fixtures/snapshot-project/checkly.config.ts#L5
Forbidden non-null assertion
|
lint:
packages/cli/e2e/__tests__/fixtures/test-project/src/__checks__/group.check.ts#L22
'browserCheck' is assigned a value but never used
|
lint:
packages/cli/e2e/__tests__/fixtures/test-project/src/__checks__/heartbeat.check.ts#L3
'heartbeat' is assigned a value but never used
|
lint:
packages/cli/e2e/__tests__/fixtures/test-project/src/__checks__/secret.check.ts#L3
'browserCheck' is assigned a value but never used
|
lint:
packages/cli/e2e/__tests__/fixtures/test-project/src/services/api/api.check.ts#L4
'apiCheck' is assigned a value but never used
|
lint:
packages/cli/e2e/__tests__/fixtures/test-project/src/services/api/api.check.ts#L21
'skipSslApiCheck' is assigned a value but never used
|
lint:
packages/cli/e2e/__tests__/fixtures/test-project/src/services/api/typo.checkz.ts#L3
'apiCheck' is assigned a value but never used
|