Dmitry Gozman
190c121e66
chore: bundle chokidar, leave fsevents as an optional dependency ( #20762 )
2023-02-09 08:40:27 -08:00
Pavel Feldman
b247bfe153
test(watch): start adding tests ( #20764 )
2023-02-09 08:31:02 -08:00
Playwright Service
3be6772fa5
feat(chromium-tip-of-tree): roll to r1085 ( #20782 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-09 17:06:39 +01:00
Pavel Feldman
6b0a7003c4
chore(watch): run by default again ( #20763 )
2023-02-08 18:53:07 -08:00
Pavel Feldman
027d6b5239
chore: set filters and run tests separately ( #20759 )
2023-02-08 14:30:53 -08:00
Dmitry Gozman
6e5964cccd
fix(connect): respect launch options when turning into connect ( #20757 )
2023-02-08 13:06:05 -08:00
Pavel Feldman
7a093329fa
chore: do not run all on watch ( #20758 )
2023-02-08 12:44:51 -08:00
Dmitry Gozman
98e2fe184e
chore(docs): sort members instead of validating ( #20755 )
2023-02-08 09:59:31 -08:00
Pavel Feldman
0678b6575f
chore(watch): allow toggling browser ( #20738 )
2023-02-08 08:36:02 -08:00
Yury Semikhatsky
a93cf767a1
feat: html reporter sharded option ( #20737 )
...
Make sharded report feature an opt-in:
```ts
{
reporter: [['html', { sharded: true }]]
};
```
#10437
2023-02-07 22:21:50 -08:00
Dmitry Gozman
edfff8cd8c
test: run more tests in 'service' mode ( #20734 )
2023-02-07 18:25:33 -08:00
Max Schmitt
161f3f144a
fix(html-reporter): do not show empty project name ( #20735 )
2023-02-08 01:07:25 +01:00
Pavel Feldman
4259d4e1d6
chore: implement repeat last run ( #20727 )
2023-02-07 15:56:39 -08:00
Dmitry Gozman
2d3e4027e7
fix(chromium): do not pre-populate non-preflight OPTIONS requests ( #20684 )
...
Fixes #20469 .
2023-02-07 15:10:44 -08:00
Dmitry Gozman
fbccc8ef64
fix(role): closed <details> are considered hidden ( #20726 )
...
Fixes #20610 .
2023-02-07 15:10:18 -08:00
Yury Semikhatsky
f10b29fd5e
feat: show warning when some report shards are missing ( #20731 )
...
When some of the report shards are missing still show the report but
display an error in the status line:
![image](https://user-images.githubusercontent.com/9798949/217371112-2317a307-204e-4c11-8d01-42e91fe6ca7a.png )
#10437
2023-02-07 14:22:10 -08:00
Dmitry Gozman
bc74383480
test: remove service2 mode and experimental-grid ( #20730 )
2023-02-07 14:19:37 -08:00
Pavel Feldman
96f0674e41
chore: calcular pool digests on the loader process side ( #20728 )
2023-02-07 14:08:17 -08:00
Andrey Lushnikov
b67cef2c4d
feat: introduce Dockerfile.remote image ( #20691 )
...
When this image is launched, it exposes a single endpoint
that can be used to connect to and to launch browsers.
2023-02-07 10:50:44 -08:00
Yury Semikhatsky
8f53bf7b41
feat: sharded html report ( #20700 )
...
This implementation is based on the [original
PR](https://github.com/microsoft/playwright/pull/19691 ) by @kevin940726.
It makes the reporter produce single file when there is no sharding and
multiple out-of-line report-x-of-y.zip reports which are automatically
merged together when put in one folder.
References https://github.com/microsoft/playwright/issues/10437
Co-authored-by: Kai Hao <kevin830726@gmail.com>
2023-02-07 10:21:26 -08:00
Pavel Feldman
98e348d16a
chore(watch): print current filters ( #20696 )
2023-02-07 09:48:46 -08:00
Andrey Lushnikov
303c5998f8
feat: release "comparator" option from experiment ( #20720 )
...
The option defines a comparator to be used to compare images.
Possible values are `"pixelmatch"` and `"ssim-cie94"`.
Note: This reverts commit 8167f8bf54
.
2023-02-07 08:51:48 -08:00
Playwright Service
740bd228aa
feat(chromium-tip-of-tree): roll to r1084 ( #20712 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-07 14:20:15 +01:00
Andrey Lushnikov
d3c5430080
fix: reset SNAP* env variables when launching Firefox ( #20692 )
...
Our builds never come from Snap, so Playwright's Firefox should
never consider that it's been installed via SNAP.
Fixes #20555
---------
Signed-off-by: Andrey Lushnikov <aslushnikov@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-02-07 01:41:12 -08:00
Playwright Service
439d3cefcf
feat(webkit): roll to r1792 ( #20694 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-07 09:03:09 +01:00
Pavel Feldman
361ea949aa
chore: respect deps when watching files ( #20695 )
2023-02-06 17:09:16 -08:00
Pavel Feldman
430d08f4fb
chore: watch mode first cut ( #20647 )
2023-02-06 15:52:14 -08:00
Pavel Feldman
b6df48758d
chore: collect test dependencies ( #20645 )
2023-02-06 14:52:40 -08:00
Dmitry Gozman
33a05446d2
fix(expect): update docs to point to GenericAssertions instead of expect library ( #20688 )
...
Closes #20432 .
2023-02-06 14:51:24 -08:00
Andrey Lushnikov
1120b82ba2
feat(firefox): roll Firefox & Firefox Beta ( #20670 )
...
Fixes #19685
Fixes #20093
2023-02-06 14:08:32 -08:00
Yury Semikhatsky
86dd29a15e
docs: custom selectors registration ( #20687 )
...
https://github.com/microsoft/playwright/issues/20424
2023-02-06 13:32:00 -08:00
Andrey Lushnikov
0a752f3fd6
chore(docker): remove experimental docker integration ( #20676 )
...
This removes everything related to docker integration experiments that
we conducted over the last 6 months.
I'll send a follow-up with an alternative suggestion that was demo'ed on
a team meeting in the end of December.
2023-02-06 10:50:45 -08:00
Playwright Service
73b07610c3
feat(webkit): roll to r1791 ( #20630 )
2023-02-04 10:33:48 -08:00
Dmitry Gozman
e64c623e61
feat(expect): strip down Expect types ( #20601 )
...
This only leaves:
- documented assertions;
- asymmetric matchers;
- `resolves`/`rejects`;
- `expect.extend()`;
- `expect.getState()` with selected properties.
References #20432 .
2023-02-03 15:56:31 -08:00
Sam Chen
340cacf4fd
feat: show diff tab by default ( #19820 )
...
Close https://github.com/microsoft/playwright/issues/19803
I had to manually inject `window.playwrightReportBase64` data into
`playwright/packages/html-reporter/index.html` when developing,
wondering if there's any method I don't know.
2023-02-03 10:32:23 -08:00
Andrey Lushnikov
9c6a1a6ff0
fix: make sure screenshots work when main page context is tampered ( #20615 )
...
This patch has 2 fixes:
- screenshot code was accidentally using main page context to fetch
page layout metrics instead of a utility context
- Avoid usage of `self.eval` inside utility context since it escapes
Firefox sandbox. This turns out to be an upstream bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1814898
Fixes #20434
2023-02-03 10:01:23 -08:00
Andrey Lushnikov
f45f20a8c9
fix: handle not.toPass() with expect.soft inside ( #20596 )
...
Fixes #20518
2023-02-03 09:14:05 -08:00
Pavel Feldman
ffb719385b
chore: fix oop loading, prepare to watch ( #20618 )
2023-02-03 09:11:02 -08:00
Pavel Feldman
b0b9b08167
chore: fix plugin reporting, rearrange steps ( #20616 )
2023-02-03 08:44:01 -08:00
Pavel Feldman
8b5e55d432
chore: implement compilation cache ( #20597 )
2023-02-02 16:46:54 -08:00
Dmitry Gozman
3180bc9804
fix(types): make most fixtures non-undefined ( #20573 )
...
Fixes #20416 .
2023-02-02 13:11:50 -08:00
Andrey Lushnikov
4f61105032
fix: swallow expect.soft errors inside successful toPass matcher ( #20509 )
...
Fixes #20437
2023-02-02 10:47:20 -08:00
Playwright Service
3e4d22d04a
feat(webkit): roll to r1790 ( #20585 )
2023-02-02 08:38:05 -08:00
Dmitry Gozman
190b0ab609
fix(options): do not default navigationTimeout to actionTimeout ( #20578 )
...
Fixes #20549 .
2023-02-02 07:36:16 -08:00
Playwright Service
f56d29709e
feat(firefox-beta): roll to r1377 ( #20516 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2023-02-02 07:14:18 -08:00
Playwright Service
c922b5e7de
feat(chromium-tip-of-tree): roll to r1083 ( #20591 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-02 15:33:22 +01:00
Dmitry Gozman
5fb430a743
fix(test runner): do not print timeout message upon interrupt ( #20574 )
...
We should only print "Test was interrupted."
Regressed in #18321 .
2023-02-01 19:39:43 -08:00
Dmitry Gozman
f46883e58e
feat(expect): add GenericAssertions documentation ( #20564 )
...
References #20432 .
2023-02-01 16:55:52 -08:00
Dmitry Gozman
6f699cd346
docs: clarify headers propagation to redirects ( #20572 )
...
References #20501 .
2023-02-01 16:55:03 -08:00
Pavel Feldman
421dd884a7
chore: implement --no-deps ( #20569 )
2023-02-01 16:32:13 -08:00