docs(trace-viewer): viewing remote traces on trace.playwright.dev (#12363)

This commit is contained in:
Max Schmitt 2022-02-25 19:23:39 +01:00 committed by GitHub
parent 8292fe8940
commit c1a1eaec34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 4 deletions

View File

@ -6,8 +6,6 @@ on:
- release-*
paths:
- ".github/workflows/test_test_runner.yml"
- "!browser_patches/**"
- "!docs/**"
- "tests/playwright-test/**/*"
- "packages/playwright-test/**/*"
- "package.json"
@ -17,8 +15,6 @@ on:
- release-*
paths:
- ".github/workflows/test_test_runner.yml"
- "!browser_patches/**"
- "!docs/**"
- "tests/playwright-test/**/*"
- "packages/playwright-test/**/*"
- "package.json"

View File

@ -222,3 +222,19 @@ playwright show-trace https://example.com/trace.zip
```bash csharp
pwsh bin\Debug\netX\playwright.ps1 show-trace https://example.com/trace.zip
```
## Using [trace.playwright.dev](https://trace.playwright.dev)
[trace.playwright.dev](https://trace.playwright.dev) is a statically hosted variant of the Trace Viewer.
### Viewing local traces
When navigating to [trace.playwright.dev](https://trace.playwright.dev), you can upload trace files using drag and drop.
### Remote traces
You can also pass the URL of your uploaded trace (e.g. inside your CI) from some accessible storage as a parameter. CORS (Cross-Origin Resource Sharing) rules might apply.
```txt
https://trace.playwright.dev/?trace=https://demo.playwright.dev/reports/todomvc/data/cb0fa77ebd9487a5c899f3ae65a7ffdbac681182.zip
```