Skip to content

Commit 3f2e8dd

Browse files
authored
Merge pull request #458 from checkly/add-screenshots-to-web-vitals-docs
docs: add screenshots to Playwright Check Suites Web Vitals page
2 parents 5e978c0 + 7ccca37 commit 3f2e8dd

4 files changed

Lines changed: 16 additions & 4 deletions

File tree

detect/synthetic-monitoring/playwright-checks/performance-metrics.mdx

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ canonical: 'https://www.checklyhq.com/docs/detect/synthetic-monitoring/playwrigh
88

99
Checkly automatically collects Web Vitals for the pages your Playwright Check Suites visit. Every page is measured and scored, and the results appear in the check result. No changes to your tests are needed.
1010

11-
<Callout type="info" emoji="💡">
11+
<Note>
1212
Collection is on by default on all browsers. TBT and INP are available on **Chromium** and shown as a dash where unsupported.
13-
</Callout>
13+
</Note>
1414

15-
<Callout type="info" emoji="🧪">
15+
<Warning>
1616
Web Vitals for Playwright Check Suites are in beta and under active development. The metrics and how they are presented may change.
17-
</Callout>
17+
</Warning>
1818

1919
## Where Web Vitals appear
2020

@@ -23,6 +23,10 @@ A single run can visit many pages across its tests, so Web Vitals are reported p
2323
- The check result's **Performance** tab, which lists every page visited across the run.
2424
- Each test result's **Web Vitals** section.
2525

26+
<Frame>
27+
![The Web Vitals section of a test result, listing each visited page with its LCP, CLS, FCP, TTFB, TBT, and INP scores](/images/pwn-web-vitals.png)
28+
</Frame>
29+
2630
Each row is one page visit. Expand a row to see what drove its largest paint and its slowest interaction.
2731

2832
## Web Vitals
@@ -85,6 +89,10 @@ Expand a page visit to see what produced its Largest Contentful Paint and where
8589

8690
This turns "LCP was 3.2 s" into "the hero image took 3.2 s, and most of that was the resource loading".
8791

92+
<Frame>
93+
![The Largest Contentful Paint breakdown of a page visit, showing the painted element, the loaded resource, and how the time split across TTFB, load delay, and render delay](/images/pwn-web-vitals-lcp.png)
94+
</Frame>
95+
8896
## What caused the INP
8997

9098
The same panel breaks down the page's INP, its slowest interaction:
@@ -95,6 +103,10 @@ The same panel breaks down the page's INP, its slowest interaction:
95103

96104
When an interaction started before a single-page route change, Checkly notes it. That interaction's latency then reflects the cost of arriving at the new route rather than a slow interaction on it.
97105

106+
<Frame>
107+
![The Interaction to Next Paint breakdown of a page visit, showing the interacted element, the event type, and how the time split across input delay, processing, and presentation delay](/images/pwn-web-vitals-inp.png)
108+
</Frame>
109+
98110
## Single-page apps and soft navigations
99111

100112
Core Web Vitals are measured per page load. A single-page app changes routes with `history.pushState` and no full reload, so to the browser it is still the same document, and the load metrics do not fire again for the new route.

images/pwn-web-vitals-inp.png

85.7 KB
Loading

images/pwn-web-vitals-lcp.png

94 KB
Loading

images/pwn-web-vitals.png

175 KB
Loading

0 commit comments

Comments
 (0)