Max Schmitt
dcdf38f119
chore: keep UI Mode running when used with browser mode ( #23876 )
...
This will keep UI Mode running in browser mode. When launched in normal
persistent context mode, we know when the persistent context closes, so
we can run the project teardown code.
Fixes https://github.com/microsoft/playwright/issues/23801
2023-06-26 22:21:44 +02:00
Max Schmitt
e1c220a37b
fix(trace-viewer): file path contains encoded characters ( #23893 )
...
This fixes:
```
npx playwright show-trace %20I%20Love%20Node.zip
```
Extracted from https://github.com/microsoft/playwright/pull/23414 .
2023-06-26 18:13:40 +02:00
Max Schmitt
605dfde2be
chore: rename popout.html to snapshot.html in trace viewer ( #23842 )
...
Turns out its caused by a uBlockOrigin EasyList entry which thinks we
are an ad since we call ourselves "popout.html". See this entry:
e7883cfe74/easylist/easylist_general_block_popup.txt (L42)
Fixes https://github.com/microsoft/playwright/issues/23799
2023-06-21 21:10:50 +02:00
Andrey Lushnikov
1736479e41
fix: fix locator picker in Trace ( #23820 )
...
- make sure links are not clickable with enabled locator picker
- make sure locator picker state is preserved when switching actions
2023-06-20 11:39:21 -07:00
Dmitry Gozman
132a5a4bf5
fix(trace viewer): prefer latest resource with the same url ( #23763 )
...
When rendering snapshot, disregard earlier resources with the same url,
because it's most likely that the latest one was used for rendering.
An example would be reloading the page before the stylesheet has
finished loading. In this case, the stylesheet will be requested twice,
and the second copy that was not aborted should be used for the
snapshot.
Fixes #23709 .
2023-06-17 06:58:16 -07:00
Max Schmitt
4d02aa1e52
chore: render locator in trace viewer timeline label ( #23754 )
2023-06-16 17:56:11 +02:00
Andrey Lushnikov
dc81cfaf81
Revert "fix: scroll timeline with multiple pages in context ( #23493 )" ( #23711 )
...
This reverts commit a4d361379f
.
Reason for revert: this breaks screencast preview (the image
that is shown when you hover over the screencast).
2023-06-14 11:41:42 -07:00
Andrey Lushnikov
3c0fab489b
chore: miscellaneous trace viewer fixes ( #23695 )
...
- properly annotate continued requests
- nest `attach` steps inside the related `expect` step
- fix primary-id-to-non-primary-id mapping
- make sure images in trace are not draggable
Fixes #23693
---------
Signed-off-by: Andrey Lushnikov <aslushnikov@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-06-14 09:37:19 -07:00
Yury Semikhatsky
abdfe264fa
chore: run html reporter tests with merged report ( #23626 )
2023-06-09 15:41:15 -07:00
Tyler Gould
a4d361379f
fix: scroll timeline with multiple pages in context ( #23493 )
...
Fixes #23490
Before:
<img width="500" alt="image"
src="https://github.com/microsoft/playwright/assets/4130722/faa1f7c3-9aeb-4e0c-aca3-0d9c24609628 ">
After:
<img width="500" alt="image"
src="https://github.com/microsoft/playwright/assets/4130722/6dfbc204-8ff2-49cb-a374-734750c6a385 ">
---------
Signed-off-by: Tyler Gould <4130722+scitech@users.noreply.github.com>
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2023-06-09 09:07:14 -07:00
Pavel Feldman
83cf6cc1e8
chore: do not show select item when Show trace ( #23583 )
2023-06-07 16:11:57 -07:00
Pavel Feldman
0b30f2017c
chore: make trace server work over http ( #23561 )
2023-06-06 18:36:05 -07:00
Andrey Lushnikov
2e327c9d0c
fix: miscellaneous improvements for tracing UI ( #23558 )
...
- feat(tracing): mark API requests with "API" label
- feat(tracing): do not attribute any resources to `route.` API calls;
otherwise, network traffic might get inside the `route.` actions.
- fix(tracing): map actionIds from primary contexts to actionIds from
non-primary contexts
- fix(tracing): show leading `/` in URL path in network panel
This is a result of a pair-programming session with @pavelfeldman
2023-06-06 17:38:44 -07:00
Pavel Feldman
7579572688
chore: unflake the network status test ( #23551 )
2023-06-06 16:55:53 -07:00
Pavel Feldman
037da65d83
chore: fix ui mode tests on windows ( #23553 )
2023-06-06 14:24:42 -07:00
Max Schmitt
ce2f902c1f
chore: fix UI Mode on Codespaces ( #23549 )
2023-06-06 20:09:39 +02:00
Pavel Feldman
699ac3a0f2
chore: allow opening ui mode over http ( #23536 )
2023-06-06 08:31:52 -07:00
Max Schmitt
0e12831a02
chore: hide 'Open in VSCode' for folders in UI Mode ( #23499 )
2023-06-05 22:09:45 +02:00
KotlinIsland
afa531ef60
feat: Allow multiple trace uploads in the trace viewer ( #23517 )
2023-06-05 12:34:54 -07:00
Pavel Feldman
5a14619bab
chore: render route markers in the trace network panel ( #23476 )
...
Fixes https://github.com/microsoft/playwright/issues/23040
![net](https://github.com/microsoft/playwright/assets/883973/5191163e-63f9-4999-9197-d10dcd09a665 )
2023-06-02 13:00:27 -07:00
Pavel Feldman
d1666d2dde
chore: include test-end-screenshot in a trace ( #23457 )
...
Fixes https://github.com/microsoft/playwright/issues/23222
2023-06-01 20:29:32 -07:00
Pavel Feldman
b99c214b29
chore(trace): render drawer as a sidebar in the tv mode ( #23451 )
...
Fixes: https://github.com/microsoft/playwright/issues/23227
2023-06-01 15:49:48 -07:00
Pavel Feldman
658b1dfea3
chore: trace viewer server for vscode ( #23383 )
2023-05-30 18:31:15 -07:00
Pavel Feldman
1e95b6d906
chore: allow sending trace URLs over stdin ( #23288 )
2023-05-25 15:38:47 -07:00
Dmitry Gozman
848f1dff3f
feat(trace): instantiate consoleAPI in popout with correct testIdAttribute ( #23238 )
2023-05-23 12:17:26 -07:00
Pavel Feldman
b814e8a5f1
chore: bring back per test artifacts ( #23153 )
2023-05-23 09:36:35 -07:00
Pavel Feldman
0e1aeaaecf
chore: do not show stale source in the trace ( #23163 )
2023-05-19 15:18:18 -07:00
Pavel Feldman
2697e93663
chore: do not annotate actions after failed ones as timed out ( #23148 )
2023-05-18 15:52:44 -07:00
Pavel Feldman
4c4085e105
chore: partially hide built-in fixture steps ( #23005 )
2023-05-12 19:15:31 -07:00
Pavel Feldman
5e0574dc44
chore: list attachments in the trace ( #22919 )
...
Fixes https://github.com/microsoft/playwright/issues/22736
2023-05-09 17:53:01 -07:00
Pavel Feldman
0bf297f523
fix(trace): merge step hierarchies ( #22916 )
2023-05-09 14:50:28 -07:00
Pavel Feldman
b10cc03314
chore: render parse errors in the UI mode ( #22888 )
...
Fixes: https://github.com/microsoft/playwright/issues/22863
2023-05-08 18:51:27 -07:00
Pavel Feldman
9771b1ee74
chore: show steps for fixtures ( #22860 )
...
Fixes https://github.com/microsoft/playwright/issues/22565
2023-05-06 10:25:32 -07:00
Pavel Feldman
efad19b332
chore: render test steps in the trace ( #22837 )
2023-05-05 15:12:18 -07:00
Pavel Feldman
9c29f24c65
chore: poll test result along with the live trace ( #22714 )
...
Fixes: https://github.com/microsoft/playwright/issues/22656
2023-04-28 16:56:28 -07:00
Pavel Feldman
d34c4e99f5
chore: add step attachments into the expect trace event ( #22543 )
2023-04-25 17:38:12 -07:00
Pavel Feldman
0c70f6900e
chore: fix ui mode w/ multiple contexts ( #22514 )
...
Fixes: https://github.com/microsoft/playwright/issues/21895
2023-04-20 08:19:00 -07:00
Pavel Feldman
8f14517de2
chore: allow collapsing all ( #22512 )
...
Fixes https://github.com/microsoft/playwright/issues/21915
2023-04-19 18:16:18 -07:00
Pavel Feldman
a45f04568b
chore: rename watchmode to uimode tsx ( #22511 )
2023-04-19 16:51:42 -07:00
Pavel Feldman
320b9d5dbb
chore: speculative attempt to unflake ui mode tests ( #22476 )
2023-04-19 07:29:28 -07:00
Yury Semikhatsky
fc23d35697
chore: clear previous test results optionally ( #22224 )
2023-04-06 08:33:17 -07:00
Yury Semikhatsky
b5195122d9
chore: return promise from tele receiver dispatch ( #22218 )
2023-04-05 14:23:06 -07:00
Pavel Feldman
0d31d69d65
chore(trace): improve loading progress bar ( #22201 )
...
Fixes: https://github.com/microsoft/playwright/issues/22118
2023-04-05 13:03:25 -07:00
Dmitry Gozman
82e52004c9
fix(ui mode): preserve manually selected action in live trace ( #22131 )
2023-03-31 18:34:51 -07:00
Pavel Feldman
a4f67c64e3
chore: allow ts decorators ( #22080 )
2023-03-29 20:43:08 -07:00
Pavel Feldman
add948cdd0
chore: allow sibling describes with the same name ( #21967 )
...
Fixes https://github.com/microsoft/playwright/issues/21953
2023-03-24 17:09:11 -07:00
Pavel Feldman
31e70c17be
chore: filter skipped tests ( #21938 )
...
Fixes https://github.com/microsoft/playwright/issues/21918
2023-03-23 13:29:52 -07:00
Pavel Feldman
6b83631f24
chore: fix trace viewer backwards compat ( #21935 )
2023-03-23 12:49:53 -07:00
Pavel Feldman
f5bd236c7b
chore: install global watch late ( #21927 )
2023-03-23 11:30:28 -07:00
Andrey Lushnikov
3477c89f20
fix(trace-viewer): survive broken selectors ( #21866 )
...
Fixes https://github.com/microsoft/playwright/issues/21832
2023-03-22 18:52:04 -07:00