feat: update inline hints and tips #2257
Annotations
10 errors and 11 warnings
help › should print core and additional commands and topic:
packages/cli/e2e/__tests__/help.spec.ts#L30
expect(received).toContain(expected) // indexOf
Expected substring: "CORE COMMANDS
deploy Deploy your project to your Checkly account.
test Test your checks on Checkly.
trigger Trigger your checks on Checkly."
Received string: "Checkly CLI·
VERSION
checkly/0.0.1-dev linux-x64 node-v18.20.6·
USAGE
$ checkly [COMMAND]·
CORE COMMANDS
deploy Deploy your project to your Checkly account.
test Test your checks on Checkly.
trigger Trigger your existing 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
Record your test session in Checkly with logs, traces and videos.·
$ npx checkly test --record·
Pass environment variables to your checks.·
$ npx checkly test -e SECRET=my-password·
Deploy your project to your Checkly account.·
$ npx checkly deploy··
"
at Object.<anonymous> (e2e/__tests__/help.spec.ts:30:20)
|
bootstrap › Should create an boilerplate-project without installing dependencies:
packages/create-cli/e2e/__tests__/bootstrap.spec.ts#L45
expect(received).toContain(expected) // indexOf
Expected substring: "All done. Time to get testing & monitoring with Checkly·
> Enter your project directory using cd /home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-90274f70-b1c9-44dd-b8b9-e7f3af89b759
> Run npx checkly login to login to your Checkly account
> Run npx checkly test to dry run your checks
> Run npx checkly deploy to deploy your checks to the Checkly cloud·
Questions?·
- Check the docs at https://checklyhq.com/docs/cli
- Join the Checkly Slack community at https://checklyhq.com/slack"
Received string: "
Notice: replacing version '0.0.1-dev' with latest '4.19.1'.·
checkly v4.19.1 Build and Run Synthetics That Scale·
Hi there! Let's get you started on your monitoring as code journey!·
◼ Cool. Your project will be created in the directory \"/home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-90274f70-b1c9-44dd-b8b9-e7f3af89b759\"·
- Downloading example template...
✔ Example template copied!
◼ No worries. Just remember to install the dependencies after this setup··
next All done. Time to get testing & monitoring with Checkly·
> Enter your project directory using cd /home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-90274f70-b1c9-44dd-b8b9-e7f3af89b759
> Run npx checkly login to login to your Checkly account or create a free new account.
> Run npx checkly test --record to dry run your checks
> Run npx checkly deploy to deploy your checks to the Checkly cloud·
Questions?·
- Check the docs at https://checklyhq.com/docs/cli
- Join the Checkly Slack community at https://checklyhq.com/slack·
"
at expectCompleteCreation (e2e/__tests__/bootstrap.spec.ts:45:32)
at Object.<anonymous> (e2e/__tests__/bootstrap.spec.ts:118:5)
|
bootstrap › Should create an boilerplate-project using an older version:
packages/create-cli/e2e/__tests__/bootstrap.spec.ts#L45
expect(received).toContain(expected) // indexOf
Expected substring: "All done. Time to get testing & monitoring with Checkly·
> Enter your project directory using cd /home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-d50e6351-dff5-401c-871b-25c4b60d773b
> Run npx checkly login to login to your Checkly account
> Run npx checkly test to dry run your checks
> Run npx checkly deploy to deploy your checks to the Checkly cloud·
Questions?·
- Check the docs at https://checklyhq.com/docs/cli
- Join the Checkly Slack community at https://checklyhq.com/slack"
Received string: " checkly v4.0.13 Build and Run Synthetics That Scale·
Hi there! Let's get you started on your monitoring as code journey!·
◼ Cool. Your project will be created in the directory \"/home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-d50e6351-dff5-401c-871b-25c4b60d773b\"·
- Downloading example template...
✔ Example template copied!
◼ No worries. Just remember to install the dependencies after this setup··
next All done. Time to get testing & monitoring with Checkly·
> Enter your project directory using cd /home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-d50e6351-dff5-401c-871b-25c4b60d773b
> Run npx checkly login to login to your Checkly account or create a free new account.
> Run npx checkly test --record to dry run your checks
> Run npx checkly deploy to deploy your checks to the Checkly cloud·
Questions?·
- Check the docs at https://checklyhq.com/docs/cli
- Join the Checkly Slack community at https://checklyhq.com/slack·
"
at expectCompleteCreation (e2e/__tests__/bootstrap.spec.ts:45:32)
at Object.<anonymous> (e2e/__tests__/bootstrap.spec.ts:153:5)
|
bootstrap › Should create projects with all available templates (without installing dependencies):
packages/create-cli/e2e/__tests__/bootstrap.spec.ts#L45
expect(received).toContain(expected) // indexOf
Expected substring: "All done. Time to get testing & monitoring with Checkly·
> Enter your project directory using cd /home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-56d07e64-2a68-4a62-8f8f-095ed8f8ff52
> Run npx checkly login to login to your Checkly account
> Run npx checkly test to dry run your checks
> Run npx checkly deploy to deploy your checks to the Checkly cloud·
Questions?·
- Check the docs at https://checklyhq.com/docs/cli
- Join the Checkly Slack community at https://checklyhq.com/slack"
Received string: "
Notice: replacing version '0.0.1-dev' with latest '4.19.1'.·
checkly v4.19.1 Build and Run Synthetics That Scale·
Hi there! Let's get you started on your monitoring as code journey!·
◼ Cool. Your project will be created in the directory \"/home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-56d07e64-2a68-4a62-8f8f-095ed8f8ff52\"·
- Downloading example template...
✔ Example template copied!
◼ No worries. Just remember to install the dependencies after this setup··
next All done. Time to get testing & monitoring with Checkly·
> Enter your project directory using cd /home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-56d07e64-2a68-4a62-8f8f-095ed8f8ff52
> Run npx checkly login to login to your Checkly account or create a free new account.
> Run npx checkly test --record to dry run your checks
> Run npx checkly deploy to deploy your checks to the Checkly cloud·
Questions?·
- Check the docs at https://checklyhq.com/docs/cli
- Join the Checkly Slack community at https://checklyhq.com/slack·
"
at expectCompleteCreation (e2e/__tests__/bootstrap.spec.ts:45:32)
at e2e/__tests__/bootstrap.spec.ts:226:7
at Array.forEach (<anonymous>)
at Object.<anonymous> (e2e/__tests__/bootstrap.spec.ts:205:24)
|
bootstrap › Should create a project with --template argument:
packages/create-cli/e2e/__tests__/bootstrap.spec.ts#L45
expect(received).toContain(expected) // indexOf
Expected substring: "All done. Time to get testing & monitoring with Checkly·
> Enter your project directory using cd /home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-a2bad17c-4088-41fd-8ac9-e09c179c2ea5
> Run npx checkly login to login to your Checkly account
> Run npx checkly test to dry run your checks
> Run npx checkly deploy to deploy your checks to the Checkly cloud·
Questions?·
- Check the docs at https://checklyhq.com/docs/cli
- Join the Checkly Slack community at https://checklyhq.com/slack"
Received string: "
Notice: replacing version '0.0.1-dev' with latest '4.19.1'.·
checkly v4.19.1 Build and Run Synthetics That Scale·
Hi there! Let's get you started on your monitoring as code journey!·
◼ Cool. Your project will be created in the directory \"/home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-a2bad17c-4088-41fd-8ac9-e09c179c2ea5\"·
- Downloading example template...
✔ Example template copied!
◼ No worries. Just remember to install the dependencies after this setup··
next All done. Time to get testing & monitoring with Checkly·
> Enter your project directory using cd /home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/empty-project/e2e-test-project-a2bad17c-4088-41fd-8ac9-e09c179c2ea5
> Run npx checkly login to login to your Checkly account or create a free new account.
> Run npx checkly test --record to dry run your checks
> Run npx checkly deploy to deploy your checks to the Checkly cloud·
Questions?·
- Check the docs at https://checklyhq.com/docs/cli
- Join the Checkly Slack community at https://checklyhq.com/slack·
"
at expectCompleteCreation (e2e/__tests__/bootstrap.spec.ts:45:32)
at Object.<anonymous> (e2e/__tests__/bootstrap.spec.ts:264:5)
|
bootstrap › Should copy the playwright config:
packages/create-cli/e2e/__tests__/bootstrap.spec.ts#L45
expect(received).toContain(expected) // indexOf
Expected substring: "All done. Time to get testing & monitoring with Checkly·
> Enter your project directory using cd /home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/playwright-project
> Run npx checkly login to login to your Checkly account
> Run npx checkly test to dry run your checks
> Run npx checkly deploy to deploy your checks to the Checkly cloud·
Questions?·
- Check the docs at https://checklyhq.com/docs/cli
- Join the Checkly Slack community at https://checklyhq.com/slack"
Received string: "
Notice: replacing version '0.0.1-dev' with latest '4.19.1'.·
checkly v4.19.1 Build and Run Synthetics That Scale·
Hi there! Let's get you started on your monitoring as code journey!·
- Downloading example template...
✔ Example template copied!
◼ No worries. Just remember to install the dependencies after this setup·
- Copying your playwright config
✔ Playwright config copied!·
next All done. Time to get testing & monitoring with Checkly·
> Enter your project directory using cd /home/runner/work/checkly-cli/checkly-cli/packages/create-cli/e2e/__tests__/fixtures/playwright-project
> Run npx checkly login to login to your Checkly account or create a free new account.
> Run npx checkly test --record to dry run your checks
> Run npx checkly deploy to deploy your checks to the Checkly cloud·
Questions?·
- Check the docs at https://checklyhq.com/docs/cli
- Join the Checkly Slack community at https://checklyhq.com/slack·
"
at expectCompleteCreation (e2e/__tests__/bootstrap.spec.ts:45:32)
at Object.<anonymous> (e2e/__tests__/bootstrap.spec.ts:299:5)
|
test - ubuntu-latest
Process completed with exit code 1.
|
test - windows-latest
The job was canceled because "ubuntu-latest" failed.
|
help › should print core and additional commands and topic:
packages/cli/e2e/__tests__/help.spec.ts#L30
expect(received).toContain(expected) // indexOf
Expected substring: "CORE COMMANDS
deploy Deploy your project to your Checkly account.
test Test your checks on Checkly.
trigger Trigger your checks on Checkly."
Received string: "Checkly CLI·
VERSION
checkly/0.0.1-dev win32-x64 node-v18.20.6·
USAGE
$ checkly [COMMAND]·
CORE COMMANDS
deploy Deploy your project to your Checkly account.
test Test your checks on Checkly.
trigger Trigger your existing 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
Record your test session in Checkly with logs, traces and videos.·
$ npx checkly test --record·
Pass environment variables to your checks.·
$ npx checkly test -e SECRET=my-password·
Deploy your project to your Checkly account.·
$ npx checkly deploy··
"
at Object.<anonymous> (e2e/__tests__/help.spec.ts:30:20)
|
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#L25
'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
|
test - windows-latest
Cache not found for keys: node-cache-Windows-x64-npm-1134725199ef7aabad47a2b77a01dee5aeee006d1633f9988109561647fb665c
|