Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cli/checkly-init.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ npx checkly init -t cursor
The `init` command detects your project context and adjusts its flow:

- **No `package.json`** — prompts you to create one before continuing.
- **No Checkly config** — creates a `checkly.config.ts` and installs `checkly` and `jiti` as dev dependencies.
- **No Checkly config** — creates a `checkly.config.ts` and installs `checkly` as a dev dependency.
- **Playwright detected** — provides context-aware setup that accounts for your existing test infrastructure.
- **Existing Checkly project** — refreshes your agent skill to the latest version.

Expand Down
13 changes: 5 additions & 8 deletions quickstarts/playwright-check.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ description: 'Turn your Playwright tests into production monitors by creating a
sidebarTitle: 'Playwright Check Suite'
---

import { YoutubeEmbed } from "/snippets/youtube-embed.jsx"
import { CopyPromptButton } from "/snippets/copy-prompt-button.jsx"
import SetupPrompt from "/snippets/playwright-check-suite-setup-prompt.mdx"
import { CopyPromptButton } from "/snippets/copy-prompt-button.jsx";
import SetupPrompt from "/snippets/playwright-check-suite-setup-prompt.mdx";
import TsLoaderNote from '/snippets/ts-loader-note.mdx';
import { YoutubeEmbed } from "/snippets/youtube-embed.jsx";

Turn your Playwright tests into production monitors. Generate a working configuration with AI, or configure manually.

Expand Down Expand Up @@ -52,11 +53,7 @@ This prompt is also available in the Checkly UI when [creating a Playwright Chec
npm install --save-dev checkly
```

If you use TypeScript, also install `jiti` to bundle config and test files correctly:

```bash terminal
npm install --save-dev jiti
```
<TsLoaderNote />

## Step 2: Create Your checkly.config.ts

Expand Down
2 changes: 1 addition & 1 deletion snippets/playwright-check-suite-setup-prompt.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Set up the smallest possible working Checkly Playwright Check Suite from this re
* Use `pwProjects` and/or `pwTags` when that is the cleanest way to select tests.
* Configure `frequency` and `locations` for the check suite based on my choices.
* If needed, set `cli.runLocation` to one of the chosen locations for local validation.
* If this repo uses TypeScript for config/tests, make sure `checkly` is installed and add `jiti` if needed.
* If this repo uses TypeScript for config/tests, make sure `checkly` is installed.
* Only customize `installCommand` or `testCommand` if the repo layout or package manager requires it.

### Alert Channel Setup
Expand Down
2 changes: 1 addition & 1 deletion snippets/ts-loader-note.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<Note>
Built-in TypeScript support requires Checkly CLI `v8` or later. On earlier versions, also install a TypeScript loader with `npm install --save-dev ts-node typescript`.
Built-in TypeScript support requires Checkly CLI `v8` or later. On earlier versions, also install a TypeScript loader with `npm install --save-dev jiti` (preferred) or `npm install --save-dev ts-node typescript`.
</Note>
Loading