Dmitry Gozman
7879cf30f0
fix(reuse): serial mode with tracing should not throw ( #21726 )
...
Regressed in #19733 .
Fixes #21113 .
2023-03-16 14:32:12 -07:00
Max Schmitt
a68201b491
test: fix component tests ( #21725 )
...
TypeScript in v5 emits a warning and this ends up in exit code 1. See
https://github.com/vuejs/tsconfig/issues/6 for more information. This CL
will make TypeScript still end up in exit code 0 even tho these warnings
are emitted until they fixed it upstream and released a new version of
their config.
2023-03-16 21:25:14 +01:00
Max Schmitt
771abe15fb
docs(node): consolidate JS/TS snippets for guides ( #21710 )
...
https://github.com/microsoft/playwright/issues/21385
2023-03-16 21:16:18 +01:00
Dmitry Gozman
2074a51299
docs: fix details about WorkerInfo vs TestInfo availability ( #21699 )
...
Fixes #21695 .
2023-03-16 12:36:34 -07:00
Playwright Service
03a0f479d2
feat(chromium): roll to r1055 ( #21721 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-16 19:25:59 +01:00
Max Schmitt
b86395a54a
test: unflake 'serviceWorker should intercept document request' ( #21722 )
...
fixes https://github.com/microsoft/playwright/issues/21691
2023-03-16 19:24:13 +01:00
Dmitry Gozman
2518bfa8d3
Revert "feat(tracing): throttle trace event writes ( #21694 )" ( #21718 )
...
This reverts commit 3f20602735
.
2023-03-16 11:15:57 -07:00
Max Schmitt
3ceac4bf53
docs: drop duplicate JS code snippets from test-api ( #21466 )
...
https://github.com/microsoft/playwright/issues/21385
2023-03-16 19:01:15 +01:00
Pavel Feldman
1ffe01b027
chore: render errors from all actions inline the source ( #21702 )
2023-03-16 10:01:17 -07:00
Max Schmitt
6c75c01fde
docs(dotnet): don't use C# option names ( #21709 )
...
Fixes https://github.com/microsoft/playwright-dotnet/issues/2513
Drive-by: hide C# option names
2023-03-16 09:23:31 -07:00
Dmitry Gozman
3f20602735
feat(tracing): throttle trace event writes ( #21694 )
2023-03-16 07:04:05 -07:00
Dmitry Gozman
ea85242941
chore: improve client-side options plumbing ( #21697 )
2023-03-16 07:03:33 -07:00
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
Jonatas Emidio
910b963ca6
docs: Avoid third-party with Network API ( #21629 )
...
docs: Avoid third-party with Network API
On the [Avoid testing third-party
dependencies](https://playwright.dev/docs/best-practices#avoid-testing-third-party-dependencies ).
Instead of only inform about third-party, this sesison is a good place
to share about Network API. Guiding them in not only inform about
avoiding third-party, but also explaining how to deal with this use
case.
Signed-off-by: Jonatas Emidio <jonatasemidio@gmail.com>
2023-03-14 11:40:03 -07:00
Drew Miller
d8b6b988cd
docs: spelling fix ( #21573 )
2023-03-14 19:04:02 +01: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
Yury Semikhatsky
716d451be5
test: use toHaveURL in the new test ( #21667 )
2023-03-14 09:23:00 -07:00
Max Schmitt
ba6b41d017
docs(locator): fix Locator frameLocator params ( #21662 )
2023-03-14 17:15:43 +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
Yury Semikhatsky
c691d1f436
test: skip "should respect the drop effect" in headed ( #21648 )
...
https://github.com/microsoft/playwright/issues/21646
2023-03-13 19:04:09 -07:00
Yury Semikhatsky
555cea38e7
test: unskip setContent with js disabled ( #21644 )
...
Fixes #21574
2023-03-13 19:03:31 -07:00
Yury Semikhatsky
6b3e7faad5
test: url bar navigation vs js redirect ( #21640 )
...
The tests document current behavior when url bar navigation competes
with a js redirect.
Fixes #20749
2023-03-13 17:53:39 -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
Max Schmitt
17498c30dc
devops: bump docker/setup-qemu-action ( #21627 )
...
This fixes:
<img width="1519" alt="image"
src="https://user-images.githubusercontent.com/17984549/224726302-95fc8ba1-08b3-4a78-8556-d7ea211b4427.png ">
2023-03-13 10:38:09 -07:00
Debbie O'Brien
c9007d952b
docs: remove youtube video for other langs ( #21616 )
2023-03-13 18:00:50 +01: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