Skip to content

Commit a141abe

Browse files
committed
chore: update check suite usage
1 parent dcdcf9b commit a141abe

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

docs/index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,10 @@ resource "checkly_check" "example_check" {
7676
<!-- schema generated by tfplugindocs -->
7777
## Schema
7878

79-
### Required
80-
81-
- `api_key` (String)
82-
8379
### Optional
8480

8581
- `account_id` (String)
82+
- `api_key` (String)
8683
- `api_url` (String)
8784

8885
> For additional documentation and examples, check the Resources sections.

examples/resources/checkly_playwright_check_suite/resource.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,14 @@ resource "checkly_playwright_check_suite" "example-playwright-check" {
2525
]
2626

2727
bundle {
28-
key = checkly_playwright_code_bundle.playwright-bundle.key
28+
id = checkly_playwright_code_bundle.playwright-bundle.id
2929
metadata = checkly_playwright_code_bundle.playwright-bundle.metadata
3030
}
3131

3232
runtime {
3333
steps {
34-
install {
35-
command = "pnpm i"
36-
}
37-
3834
test {
39-
command = "pnpm playwright test"
35+
command = "npx playwright test --config \"playwright.config.ts\""
4036
}
4137
}
4238

@@ -46,6 +42,10 @@ resource "checkly_playwright_check_suite" "example-playwright-check" {
4642
device {
4743
type = "chromium"
4844
}
45+
46+
device {
47+
type = "firefox"
48+
}
4949
}
5050
}
5151
}

0 commit comments

Comments
 (0)