Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: add video to trace viewer docs (#21568)
Debbie O'Brien06107055465e
diff --git a/docs/src/trace-viewer-intro-js.md b/docs/src/trace-viewer-intro-js.mdindex 3980b5c63c..e364ad6149 100644--- a/docs/src/trace-viewer-intro-js.md+++ b/docs/src/trace-viewer-intro-js.md@@ -3,6 +3,8 @@ id: trace-viewer-introtitle: "Trace viewer"---+import LiteYouTube from '@site/src/components/LiteYouTube';+Playwright Trace Viewer is a GUI tool that lets you explore recorded Playwright traces of your tests meaning you can go back and forward through each action of your test and visually see what was happening during each action.**You will learn**@@ -11,7 +13,10 @@ Playwright Trace Viewer is a GUI tool that lets you explore recorded Playwright- [How to open the HTML report](/trace-viewer-intro.md#opening-the-html-report)- [How to open and view the trace](/trace-viewer-intro.md#viewing-the-trace)-+<LiteYouTube+ id="lfxjs--9ZQs"+ title="Viewing Playwright Traces"+/>## Recording a TraceBy default the [playwright.config](/test-configuration.md#record-test-trace) file will contain the configuration needed to create a `trace.zip` file for each test. Traces are setup to run `on-first-retry` meaning they will be run on the first retry of a failed test. Also `retries` are set to 2 when running on CI and 0 locally. This means the traces will be recorded on the first retry of a failed test but not on the first run and not on the second retry.diff --git a/docs/src/trace-viewer.md b/docs/src/trace-viewer.mdindex 640bc08b71..4f13355d53 100644--- a/docs/src/trace-viewer.md+++ b/docs/src/trace-viewer.md@@ -3,14 +3,15 @@ id: trace-viewertitle: "Trace viewer"---+import LiteYouTube from '@site/src/components/LiteYouTube';Playwright Trace Viewer is a GUI tool that helps you explore recorded Playwright traces after the script has ran. You can open traces [locally](#viewing-the-trace) or in your browser on [`trace.playwright.dev`](https://trace.playwright.dev).-<video width="100%" height="100%" controls muted>- <source src="https://user-images.githubusercontent.com/13063165/219132713-17b9d75b-71e3-42c4-a43f-3f9e2e15f834.mp4" type="video/mp4" />- Your browser does not support the video tag.-</video>+<LiteYouTube+ id="lfxjs--9ZQs"+ title="Viewing Playwright Traces"+/>## Viewing the trace