Skip to content

Commit fa217bd

Browse files
committed
Add conclusion
1 parent 95ddb4d commit fa217bd

3 files changed

Lines changed: 25 additions & 0 deletions

File tree

409 KB
Loading
435 KB
Loading

‎tutorial/stage-4-completed/understanding-test-results.mdx‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import { Aside, Tabs, TabItem } from '@astrojs/starlight/components';
99
import { Image } from "astro:assets";
1010
import HtmlReportTrace from "../../../assets/html-report-trace.png";
1111
import ExampleTrace from "../../../assets/example-trace.png";
12+
import EndformResults from "../../../assets/endform-results.png";
13+
import EndformFilters from "../../../assets/endform-filters.png";
1214

1315
In this guide, we will use the endform dashboard to understand the test results.
1416

@@ -113,3 +115,26 @@ pnpm endform test --repeat-each=10 flaky-test.spec.ts
113115
```
114116

115117
There you'll get a link to the Endform dashboard where you can also look at the results.
118+
119+
<Image src={EndformResults} alt="Endform results" width={900} />
120+
121+
Enform dashboard is particularly useful for understanding suite's performance over time. You can query for things like:
122+
123+
- Which test fails most frequently?
124+
- Which test is the slowest?
125+
- Which test is the most flaky?
126+
127+
You can do this using a combination of the graph view and the results filters.
128+
Here for example we have a view of the most frequently failing tests over the last few weeks.
129+
130+
<Image src={EndformFilters} alt="Endform filters" width={900} />
131+
132+
## Conclusion
133+
134+
Thanks for following along with our Playwright tutorial!
135+
136+
Our favourite takeaways from this tutorial are:
137+
138+
- Spending some time on a good playwright set up early on saves you a lot of pain further down the road.
139+
- Generating tests using the Playwright MCP server is a great way to get going - and it becomes even more powerful if you have the right tools to generate the test data you need.
140+
- Don't forget to take care of your suite as you scale it to more tests. Endform is a great platform to help you do so.

0 commit comments

Comments
 (0)