playwright/tests/config
Simon Knott b06a95dd75
feat(trace viewer): show baseURL in Metadata pane (#31852)
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>
2024-07-25 17:14:46 +02:00
..
testserver chore: fix typos (#30645) 2024-05-08 19:40:03 +01:00
baseTest.ts chore: introduce clock test mode (#31110) 2024-05-31 14:44:26 -07:00
browserTest.ts test: update Electron to v30 (#30334) 2024-06-21 00:43:26 +02:00
commonFixtures.ts chore: add find-related-tests command (#29439) 2024-02-09 19:02:42 -08:00
comparator.ts chore: simplify types handling in toHaveScreenshot (#29374) 2024-02-05 19:07:30 -08:00
debugControllerBackend.ts test: generate debug controller channel (#30018) 2024-03-20 16:56:29 +01:00
errors.ts chore: unify target closed errors (#27540) 2023-10-12 11:05:34 -07:00
platformFixtures.ts chore: fix s2 mode (#24525) 2023-07-31 11:24:04 -07:00
proxy.ts test: vendor 'proxy' dependency (#29370) 2024-02-05 21:57:14 +01:00
queryObjects.ts chore: upgrade internal types to support TypeScript 4.9.3 (#19280) 2022-12-05 17:22:25 -08:00
remote-server-impl.js fix(launcher): unregister global process handlers when all browser are closed (#29011) 2024-01-16 14:41:26 -08:00
remoteServer.ts chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
serverFixtures.ts test: fix Windows Socks tests (#31654) 2024-07-11 23:16:24 +02:00
testMode.ts chore: fix driver modes to test with under_test set (#31117) 2024-06-01 08:33:46 -07:00
testModeFixtures.ts Revert "chore: move artifacts recording to TestLifecycleInstrumentation (#30935)" (#31686) 2024-07-15 07:01:51 -07:00
traceViewerFixtures.ts feat(trace viewer): show baseURL in Metadata pane (#31852) 2024-07-25 17:14:46 +02:00
utils.ts chore: render testInfo errors in the Errors tab (#28179) 2023-11-16 11:37:57 -08:00