|
8 | 8 | --- |
9 | 9 |
|
10 | 10 | import PlaywrightCheckSuiteTryOut from "/snippets/playwright-check-suite-tryout.mdx" |
| 11 | +import { YoutubeEmbed } from "/snippets/youtube-embed.jsx" |
11 | 12 |
|
12 | 13 | <PlaywrightCheckSuiteTryOut /> |
13 | 14 |
|
@@ -209,17 +210,7 @@ A full walkthrough of the code changes is [on our documentation site](/detect/sy |
209 | 210 |
|
210 | 211 | To see a demo of how this state works in Checkly, take a look at Stefan’s tutorial video: |
211 | 212 |
|
212 | | -<Frame> |
213 | | - <iframe |
214 | | - src="https://www.youtube.com/embed/kzQu0Y_Nxjk" |
215 | | - width="560" |
216 | | - height="315" |
217 | | - title="Degraded states in checkly" |
218 | | - frameborder="0" |
219 | | - allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
220 | | - allowfullscreen |
221 | | - /> |
222 | | -</Frame> |
| 213 | +<YoutubeEmbed id="kzQu0Y_Nxjk" title="Get alerted when your Playwright checks degrade in performance" /> |
223 | 214 |
|
224 | 215 | ## 3. Monitor network traffic with `waitForResponse` |
225 | 216 |
|
@@ -265,17 +256,7 @@ A note on code reading: for myself, and many other users on Stack Overflow, it's |
265 | 256 |
|
266 | 257 | See response body waiting in action as demonstrated by Stefan here: |
267 | 258 |
|
268 | | -<Frame> |
269 | | - <iframe |
270 | | - src="https://www.youtube.com/embed/5CER0dKweyw" |
271 | | - width="560" |
272 | | - height="315" |
273 | | - title="Response body waiting in Playwright" |
274 | | - frameborder="0" |
275 | | - allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
276 | | - allowfullscreen |
277 | | - /> |
278 | | -</Frame> |
| 259 | +<YoutubeEmbed id="5CER0dKweyw" title="How to wait for a specific API response in your Playwright end-to-end tests" /> |
279 | 260 |
|
280 | 261 | ## 4. Implement your own auto-waiting and retry mechanism |
281 | 262 |
|
@@ -306,17 +287,7 @@ This approach won't fix the application's UI/UX issues but allows you to "work a |
306 | 287 |
|
307 | 288 | Stefan explains it in detail on YouTube if you want to learn more about this approach. |
308 | 289 |
|
309 | | -<Frame> |
310 | | - <iframe |
311 | | - src="https://www.youtube.com/embed/8g7FvoRToGo" |
312 | | - width="560" |
313 | | - height="315" |
314 | | - title="Avoid flaky end-to-end tests due to poorly hydrated Frontends with Playwright's toPass()" |
315 | | - frameborder="0" |
316 | | - allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
317 | | - allowfullscreen |
318 | | - /> |
319 | | -</Frame> |
| 290 | +<YoutubeEmbed id="8g7FvoRToGo" title="Avoid flaky end-to-end tests due to poorly hydrated Frontends with Playwright's toPass()" /> |
320 | 291 |
|
321 | 292 | ## Conclusions |
322 | 293 |
|
|
0 commit comments