-
Notifications
You must be signed in to change notification settings - Fork 4
Add Playwright check type comparison #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3044b5b to
a1ceb67
Compare
a1ceb67 to
9b83f86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds a new documentation page that compares Playwright-based monitoring options and links it into the docs navigation, with a shared snippet for check run durations.
- Introduces a Playwright monitoring comparison page with feature table and guidance.
- Adds a reusable MDX snippet for max check durations.
- Registers the new page in docs.json.
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| snippets/check-comparison.mdx | Exports shared check duration constants for reuse across docs. |
| docs.json | Adds navigation entry for the new comparison page. |
| detect/synthetic-monitoring/playwright-monitoring-comparison.mdx | New doc page with comparison content, imports shared durations, and presents a feature table. |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| | Supported test formats | API and Browser | API and Browser | API only | | ||
| | Multiple spec files | Yes | No | No | | ||
| | Flexible test selection via tags and projects | Yes | No | No | | ||
| | Browser compatibility | Chromium, Webkit, Firefox | Chromium, Chrome | Chromium, Chrome | |
Copilot
AI
Oct 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This row states that MultiStep Checks support 'Chromium, Chrome', but line 20 clarifies there's no browser available for MultiStep Checks. Update the MultiStep column to 'N/A' or 'None' to avoid contradiction.
| | Browser compatibility | Chromium, Webkit, Firefox | Chromium, Chrome | Chromium, Chrome | | |
| | Browser compatibility | Chromium, Webkit, Firefox | Chromium, Chrome | N/A | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch!
| | Feature | Playwright Check Suite | Browser Check | MultiStep Check | | ||
| |-----------------------------------------------|-------------------------------|---------------------------------|---------------------------------| |
Copilot
AI
Oct 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The table header and separator should not include a leading empty column. The current diff shows double leading pipes earlier; ensure you use a single leading pipe per row as shown here to prevent an extra empty column.
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
| | Supported test formats | API and Browser | API and Browser | API only | | ||
| | Multiple spec files | Yes | No | No | | ||
| | Flexible test selection via tags and projects | Yes | No | No | | ||
| | Browser compatibility | Chromium, Webkit, Firefox | Chromium, Chrome | Chromium, Chrome | |
Copilot
AI
Oct 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Capitalize 'WebKit' correctly.
| | Browser compatibility | Chromium, Webkit, Firefox | Chromium, Chrome | Chromium, Chrome | | |
| | Browser compatibility | Chromium, WebKit, Firefox | Chromium, Chrome | Chromium, Chrome | |
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
MariadeAnton
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor suggestions for clarity @stefanjudis !
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
| | Feature | Playwright Check Suites | Browser Check | MultiStep Check | | ||
| |-----------------------------------------------|-------------------------------|---------------------------------|---------------------------------| | ||
| | Supports *Monitoring as Code* | Yes | Yes | Yes | | ||
| | Supported test formats | API and Browser | API and Browser | API only | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| | Supported test formats | API and Browser | API and Browser | API only | | |
| | [Test fixtures ](https://playwright.dev/docs/test-fixtures) | API and Browser | API and Browser | API only | |
Would it make sense to make this Playwright named? As In Test Fixtures
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that a lot! 💯 But I'll go for the actual fixtures names instead of browser and api.
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: María de Antón <maria@checklyhq.com>
Co-authored-by: María de Antón <maria@checklyhq.com>
Co-authored-by: María de Antón <maria@checklyhq.com>
Co-authored-by: María de Antón <maria@checklyhq.com>
Co-authored-by: María de Antón <maria@checklyhq.com>
Co-authored-by: María de Antón <maria@checklyhq.com>
|
@MariadeAnton Ready for another round. I think it's way smoother and rounder now. :) great stuff! |
detect/synthetic-monitoring/playwright-monitoring-comparison.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: María de Antón <maria@checklyhq.com>
MariadeAnton
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏🏼
Affected Components
Notes for the Reviewer
As part of documenting the migration from MultiStep or Browser checks I formalized the different playwright capabilities of all check types. :)