Pavel Feldman
c45d8749b0
chore: split trace events into phases ( #21696 )
2023-03-15 22:33:40 -07:00
Dmitry Gozman
40a6eff8f2
feat: support name
option in tracing.startChunk()
( #21692 )
2023-03-15 17:34:56 -07:00
Dmitry Gozman
bde2e90973
fix(selector generator): do not produce has-text="foo"s
( #21679 )
...
There is no locator counterpart for it. Instead, produce a regex.
Also fix locator generator to not produce incorrect locator in this
case.
Fixes #21649 .
2023-03-15 13:43:42 -07:00
Dmitry Gozman
b149d132a6
chore(test runner): split loadAllTests into parts ( #21674 )
2023-03-15 13:40:58 -07:00
Pavel Feldman
99d8f6e7de
chore(ui): show live trace ( #21677 )
2023-03-15 11:17:03 -07:00
Dmitry Gozman
69a94ed044
docs: update default timeouts in js to be zero and mention config ( #21675 )
...
Fixes #19018 .
2023-03-14 16:34:30 -07:00
Pavel Feldman
27048adebe
chore: introduce testInfo.testId ( #21670 )
2023-03-14 15:58:55 -07:00
Pavel Feldman
7666894d77
chore(ui): minor trace viewer improvements ( #21672 )
2023-03-14 15:24:48 -07:00
Dmitry Gozman
455e11c1d9
fix(shards): shard test groups instead of files ( #21638 )
...
Fixes #21497 .
2023-03-14 10:41:37 -07:00
Max Schmitt
a2c96494e0
chore: throw pretty error if rest parameters is used inside fixtures ( #21659 )
...
Fixes https://github.com/microsoft/playwright/issues/21566
2023-03-14 17:35:52 +01:00
Playwright Service
7965a8f0bc
feat(chromium-tip-of-tree): roll to r1094 ( #21658 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-14 15:04:08 +01:00
Pavel
ec10308c1b
chore: follow up to ui-mode style change, fix image style
2023-03-13 22:22:52 -07:00
Pavel Feldman
f5fa18a279
chore: reimplement filters ( #21647 )
2023-03-13 22:19:31 -07:00
Dmitry Gozman
ccd5d7fd10
fix(hit target): workaround webkit elementsFromPoint bug ( #21642 )
...
Fixes #21596 .
2023-03-13 19:33:56 -07:00
Dmitry Gozman
c9837dfcc7
docs: add flakiness note to locator.all ( #21645 )
2023-03-13 19:33:36 -07:00
Dmitry Gozman
809725e114
fix(reuse): only reuse the default browser, not explicitly launched ones ( #21631 )
...
Fixes #20399 .
2023-03-13 16:50:51 -07:00
Playwright Service
4e807f9824
feat(firefox): roll to r1390 ( #21591 )
2023-03-13 16:43:49 -07:00
Playwright Service
e6d13f1f2c
feat(webkit): roll to r1811 ( #21637 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-13 22:34:34 +01:00
Alex Neo
9c8d0822d6
fix(html-reporter): annotations.size rendered 0 on UI ( #21635 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-03-13 21:23:17 +01:00
Dmitry Gozman
8e7ec88462
fix(electron): do not use loader for packaged apps ( #21577 )
...
References #21387 , #21512 .
2023-03-13 12:52:52 -07:00
Pavel Feldman
1d870ac407
chore(ui): start adding ui mode tests (2) ( #21608 )
2023-03-13 12:14:51 -07:00
Pavel Feldman
a12e909a40
chore(ui): start adding ui mode tests ( #21601 )
2023-03-12 15:18:47 -07:00
Pavel Feldman
493171cb6b
chore: select files to watch explicitly ( #21599 )
2023-03-12 10:50:21 -07:00
Pavel Feldman
08a5922c4d
chore: select first failure ( #21593 )
2023-03-12 10:42:02 -07:00
Pavel Feldman
b85d670491
chore(ui): show output on demand ( #21592 )
2023-03-11 11:43:33 -08:00
Pavel Feldman
428ea66578
chore: hide timeline bars and stack from ui mode ( #21590 )
2023-03-10 22:52:31 -08:00
Dmitry Gozman
ea8aa63f1a
feat: support PWTEST_PROFILE_DIR in run-server ( #21582 )
...
This creates one profile per connection in the specified directory.
2023-03-10 19:07:40 -08:00
Andrey Lushnikov
fa9edcbbc1
feat(firefox): roll Firefox to 1389 ( #21584 )
...
Fixes #20824
2023-03-10 17:43:59 -08:00
Pavel Feldman
0b9c037f36
chore(ui): do not add sources into the zip file ( #21588 )
2023-03-10 17:01:30 -08:00
Pavel Feldman
34efbea4c5
chore(ui): throttle tree updates ( #21578 )
2023-03-10 17:01:19 -08:00
Pavel Feldman
e45a496850
chore(tv): render error in-line ( #21586 )
2023-03-10 16:22:19 -08:00
Dmitry Gozman
21950bc8ce
feat(html reporter): render multiple annotations of the same type together ( #21580 )
...
Multiple annotations are rendered as comma-separated lists. Fixes
#21253 .
![IMAGE 2023-03-10
14:24:10](https://user-images.githubusercontent.com/9881434/224439435-3bf8e4f4-d874-4595-931d-ea5ff33ea374.jpg )
2023-03-10 15:26:02 -08:00
Dmitry Gozman
46f9fa005e
fix(tracing): do not double-zip entries in remote mode ( #21579 )
...
Fixes #21435 .
2023-03-10 14:54:32 -08:00
Dmitry Gozman
6d27d2c029
fix(test runner): improved fixture teardown timeout error message ( #21572 )
...
The new message looks like this:
```
Test finished within timeout of 500ms, but tearing down "playwright configuration" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.·
```
References #21259 .
2023-03-10 13:45:47 -08:00
Pavel Feldman
1073e42686
chore: allow running failing ( #21569 )
2023-03-10 12:41:00 -08:00
Andrey Lushnikov
e202091ca3
feat(firefox): roll Firefox to 1388 ( #21570 )
...
Fixes #21393
2023-03-10 10:20:56 -08:00
Andrey Lushnikov
870edd1aae
feat(firefox): roll Firefox to 1387 ( #21542 )
...
Fixes #21109
Fixes #21430
2023-03-10 09:25:54 -08:00
Dmitry Gozman
58a23bc7a0
fix(test runner): allow worker-only dynamic imports ( #21545 )
...
Fixes #21409 .
2023-03-10 08:58:26 -08:00
Dmitry Gozman
0794cb1486
fix(fetch): preserve case in header names ( #21543 )
...
Fixes #21492 .
2023-03-10 08:58:12 -08:00
Playwright Service
dab61df451
feat(chromium): roll to r1054 ( #21559 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-10 15:09:36 +01:00
Pavel Feldman
c3b4820f1e
chore: animate the running progress ( #21554 )
...
https://github.com/microsoft/playwright/issues/21541
2023-03-09 21:45:57 -08:00
Pavel Feldman
0106a54e6e
chore: ui mode fixes ( #21546 )
...
For https://github.com/microsoft/playwright/issues/21541
2023-03-09 20:02:42 -08:00
Pavel Feldman
e737ff83b4
chore: migrate to useRef take 2 ( #21552 )
2023-03-09 19:34:05 -08:00
Pavel
a619ea4d68
Revert "chore: replace createRef with useRef in most of the places ( #21536 )"
...
This reverts commit 908c0462d5
.
2023-03-09 16:46:31 -08:00
Pavel Feldman
908c0462d5
chore: replace createRef with useRef in most of the places ( #21536 )
2023-03-09 13:31:21 -08:00
Pavel Feldman
e7b21425f7
chore: support both test --ui and ui clis ( #21537 )
2023-03-09 13:03:01 -08:00
Yury Semikhatsky
c30d88a63a
test: setContent with disabled javascript ( #21399 )
...
Fixes https://github.com/microsoft/playwright/issues/21379
2023-03-09 10:45:19 -08:00
Pavel Feldman
47a71731f4
chore: add explicit command for gui runner ( #21509 )
2023-03-09 08:04:02 -08:00
Playwright Service
45a97bb4f7
feat(chromium-tip-of-tree): roll to r1093 ( #21526 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-09 16:18:01 +01:00
Pavel Feldman
5ef2edb9f7
chore: support suites in the tree ( #21508 )
2023-03-08 19:50:32 -08:00
Pavel Feldman
72c41db668
chore: propagate status along the tree ( #21507 )
2023-03-08 18:24:45 -08:00
Pavel Feldman
adc895d31f
chore: introduce tree control ( #21505 )
2023-03-08 17:33:27 -08:00
Pavel Feldman
a2490a8fc8
chore(ui): maintain test order when updating ( #21478 )
2023-03-07 20:34:57 -08:00
Pavel Feldman
f5894ed089
chore: open location in vscode ( #21472 )
2023-03-07 17:20:41 -08:00
Pavel Feldman
de0b66c888
chore: allow opt out from watch ( #21471 )
2023-03-07 15:07:52 -08:00
Pavel Feldman
e9f94f0346
chore: add ui mode terminal ( #21470 )
2023-03-07 14:24:50 -08:00
Pavel Feldman
9e7abb2a76
chore: rearrange settings ( #21467 )
2023-03-07 12:43:16 -08:00
Max Schmitt
c9eac69f2b
fix(types): accept string in expect().toMatch() ( #21454 )
...
Fixes https://github.com/microsoft/playwright/issues/21453
2023-03-07 17:53:50 +01:00
Playwright Service
90d1f74dbf
feat(webkit): roll to r1808 ( #21460 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-07 16:53:44 +01:00
Playwright Service
55df9e0029
feat(chromium-tip-of-tree): roll to r1092 ( #21458 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-07 15:25:04 +01:00
Playwright Service
2b0a663dc2
feat(chromium): roll to r1053 ( #21459 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-07 15:24:24 +01:00
Pavel Feldman
041d0ab0d6
chore: create trace model off steps for progress ( #21448 )
2023-03-06 22:35:57 -08:00
Pavel Feldman
9e477a183e
chore: various trace viewer ui fixes ( #21447 )
2023-03-06 21:37:39 -08:00
Pavel Feldman
65117702e7
chore: consistent xterm naming ( #21446 )
2023-03-06 20:39:52 -08:00
Pavel Feldman
cffb6ac269
chore: move sever/isomorphic to utils/ to use it in client ( #21445 )
2023-03-06 18:49:14 -08:00
Pavel Feldman
04b35089be
chore: extract shared trace viewer components ( #21433 )
2023-03-06 12:25:00 -08:00
Pavel Feldman
b6ff3bad98
chore: split code mirror and xterm modules ( #21415 )
2023-03-06 10:40:45 -08:00
Sander
99e736afc8
fix(ct): react17 primitive as slot ( #21396 )
2023-03-06 08:59:35 -08:00
Sander
872b8ddbdd
chore(ct): vue prop type of JsonObject ( #21400 )
2023-03-06 08:58:56 -08:00
Pavel Feldman
86ca7e3949
chore: introduce manual promise race ( #21358 )
...
Fixes https://github.com/microsoft/playwright/issues/21345
2023-03-06 08:50:03 -08:00
Pavel Feldman
47427e87ec
chore: do not use module.exports in the injected esm files ( #21412 )
...
Follow up to #17145
2023-03-05 20:01:35 -08:00
Pavel Feldman
5735752c65
chore: use xterm for test output in the ui mode ( #21411 )
2023-03-05 14:28:59 -08:00
Pavel Feldman
bae9173208
chore: split ui mode toolbar into lines, show progress ( #21403 )
2023-03-05 13:46:21 -08:00
Pavel Feldman
d8d410db6e
chore: implement project filter ( #21402 )
2023-03-04 19:39:55 -08:00
Pavel Feldman
ec056a6312
chore: merge projects in the tree ( #21401 )
2023-03-04 16:28:30 -08:00
Pavel Feldman
f0cd123a45
chore(ui): make ui-side drive things ( #21398 )
2023-03-04 15:05:41 -08:00
Yury Semikhatsky
0ebe090b8c
fix(har): do not hang on chunked response in har recorder ( #21397 )
...
Fixes #21182
2023-03-03 17:27:34 -08:00
Dmitry Gozman
0c5d46bb94
feat: allow chaining locators with Locator.locator(anotherLocator) ( #21391 )
2023-03-03 14:50:53 -08:00
Dmitry Gozman
d904a6129f
chore: run check-deps for all packages ( #21395 )
2023-03-03 14:50:43 -08:00
Sebastian Silbermann
fbaf56a13f
feat(ct-react): Support React 18 only ( #19814 )
...
BREAKING CHANGE: Drop support for React 17 and earlier
Support for React 17 an earlier is provided by
`@playwright/experimental-ct-react-17`
Closes #19923
2023-03-03 14:28:33 -08:00
Yury Semikhatsky
be259dac7c
fix: expose window.safari in webkit ( #21361 )
...
The actual API of the object is not implemented because those who want
to test it will likely need their own mock and for the browser detection
logic (as described in the bug) just having the property on window
should be sufficient.
Fixes #21037
2023-03-03 13:38:13 -08:00
Playwright Service
0af8c0169e
feat(webkit): roll to r1807 ( #21389 )
2023-03-03 11:28:05 -08:00
Pavel Feldman
fc91e6086b
chore: minor trace viewer ui fixes ( #21368 )
2023-03-03 09:17:40 -08:00
Pavel Feldman
c17eea7a3c
chore: fix xpath-in-iframe ( #21367 )
...
Fixes https://github.com/microsoft/playwright/issues/21364
2023-03-03 09:13:25 -08:00
Dmitry Gozman
eb3f8bfba8
fix(test runner): do not optimize filtering when sourcemap is present ( #21359 )
...
Fixes #21204 .
2023-03-03 07:49:19 -08:00
Playwright Service
00c34a83ef
feat(chromium-tip-of-tree): roll to r1091 ( #21356 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-03 13:38:32 +01:00
Max Schmitt
778f8e65d2
chore: do not cache between reused context ( #20052 )
...
Fixes https://github.com/microsoft/playwright/issues/19926
2023-03-03 12:37:44 +01:00
Dmitry Gozman
6769a311ed
feat(test runner): error out when one test file imports another ( #21357 )
...
This situation is not supported, and we can now detect it by looking at
collected file dependencies.
Fixes #21270 .
2023-03-02 15:09:50 -08:00
Pavel Feldman
09ff7eaaf2
chore: throw on context.close() if it was closed externally ( #21347 )
2023-03-02 13:46:54 -08:00
Pavel Feldman
57624bc01b
chore: ui mode ui improvements ( #21325 )
2023-03-02 13:45:15 -08:00
Sander
2cbde9b8ef
chore(ct): vue2 import h from vue ( #21035 )
2023-03-02 13:43:08 -08:00
Sander
d58d833daf
fix(ct): solid and react JS as child ( #20125 )
2023-03-02 13:40:51 -08:00
Dmitry Gozman
0b300f455c
fix(test runner): empty dependency should not skip other projects ( #21354 )
...
References #21270 .
2023-03-02 13:32:23 -08:00
Playwright Service
b7dd226edd
feat(chromium): roll to r1052 ( #21353 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-02 22:07:20 +01:00
Playwright Service
0ce5651975
feat(webkit): roll to r1805 ( #21349 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-02 22:07:05 +01:00
Max Schmitt
e1e69cbbcc
fix(cli): pdf/screenshot did not save artifacts ( #21352 )
...
As of today we support CLI argument wise `--save-storage` and
`--save-har` in pdf/screenshot CLI command. But they are not working,
since we just close the browser rather than the context where we take
care of saving the artifacts.
`launchContext` has 4 usages:
- open/codegen there closing the browser / `SIGINT` will close it
gracefully
- pdf/screenshot there we will now close the page which will then
[here](b00579edb7/packages/playwright-core/src/cli/cli.ts (L503)
)
close the browser.
I did not find any tests except the [installation
test](3e84ab4701/tests/installation/playwright-cli-screenshot-should-work.spec.ts
),
I'm happy to add one for both command if requested.
Fixes https://github.com/microsoft/playwright/issues/20718
2023-03-02 22:05:39 +01:00
Yury Semikhatsky
b00579edb7
fix(trace): do not show duration tooltip for events ( #21342 )
...
Fixes https://github.com/microsoft/playwright/issues/21255
2023-03-02 11:31:10 -08:00
Andrey Lushnikov
bfc895787f
fix(firefox): fix reload with hash URLs ( #21322 )
...
Fixes #21145
2023-03-01 18:56:30 -08:00
Pavel Feldman
e64d0ae556
chore: update trace every time it is loaded ( #21323 )
2023-03-01 17:42:50 -08:00
Yury Semikhatsky
3b800344b0
fix(oopif): get response body from adopting frame ( #21324 )
...
Fixes https://github.com/microsoft/playwright/issues/20809
2023-03-01 17:18:58 -08:00