Resolves https://github.com/microsoft/playwright/issues/31847 by adding playwright config's `baseURL` value to the `context-options` trace event, and showing that in the Trace Viewer. Because the added property is optional, I didn't increment the trace format version. I've also considered pulling the `baseURL` from the existing `browser.newContext` step to get around modifying the trace format, but that felt pretty hacky. https://github.com/user-attachments/assets/ecaef747-727d-4937-9ca3-1605ca9907b9 --------- Signed-off-by: Simon Knott <info@simonknott.de> Co-authored-by: Dmitry Gozman <dgozman@gmail.com> |
||
|---|---|---|
| .. | ||
| testserver | ||
| baseTest.ts | ||
| browserTest.ts | ||
| commonFixtures.ts | ||
| comparator.ts | ||
| debugControllerBackend.ts | ||
| errors.ts | ||
| platformFixtures.ts | ||
| proxy.ts | ||
| queryObjects.ts | ||
| remote-server-impl.js | ||
| remoteServer.ts | ||
| serverFixtures.ts | ||
| testMode.ts | ||
| testModeFixtures.ts | ||
| traceViewerFixtures.ts | ||
| utils.ts | ||