Commit graph

7208 commits

Author SHA1 Message Date
Andrey Lushnikov 8e98b44b96
chore: mark v1.20.1 (#12935) 2022-03-21 17:54:58 -07:00
Andrey Lushnikov 0093e8a753
cherry-pick(#12934): allow toMatchSnapshot to use text comparator for text data (#12938)
This was regressed awhile ago.

In v1.17 we shipped the following code: 30e15ad36f/packages/playwright-test/src/matchers/golden.ts (L122-L131)

`toMatchSnapshot` should fallback to text comparator in case of
unknown extension and string data.

Fixes #12862
2022-03-21 17:54:40 -07:00
Yury Semikhatsky c090a55828
cherry-pick(#12892): docs(fetch): clarify cookie handling (#12931) 2022-03-21 14:56:14 -07:00
Dmitry Gozman 1b0087ed38
cherry-pick(#12888): fix(click): workaround elementsFromPoint issue in Chromium (#12925)
Block elements inside elements are not returned correctly
from `document.elementsFromPoint(x, y)` in some cases.
See https://bugs.chromium.org/p/chromium/issues/detail?id=1307458 for details.
2022-03-21 11:03:56 -07:00
Pavel Feldman ef40d21945 cherry-pick(#12899): chore: make count() work with _vue selectors 2022-03-19 15:21:18 -07:00
Max Schmitt 39abfd6481
cherry-pick(#12864): chore: fix modification dates in driver (#12875) 2022-03-18 09:36:27 -07:00
Max Schmitt f2bdeb29ef
cherry-pick(#12820): chore: restore expect.any()/expect.anything() (#12849) 2022-03-17 21:37:46 +01:00
Henrik Storck 78f8852f7d cherry-pick(#12837): fix: folder traversal for isModule check 2022-03-16 16:56:01 -07:00
Dmitry Gozman 88eba741ad
cherr-pick(#12764): fix(screenshot): do not stall on hideHighlight (#12802) 2022-03-15 18:26:29 -07:00
Pavel Feldman 3dff476a92 cherry-pick(#12801): docs: fix grep release notes 2022-03-15 17:31:30 -07:00
Max Schmitt cd07b45809
cherry-pick(1.19): docs(docker): stop advertising :focal tag (#12792)
PR: #12791
2022-03-15 19:39:08 +01:00
Max Schmitt 16c4ae0831
cherry-pick(1.20): docs: fix broken release-notes links (#12749)
PR: #12747
2022-03-14 13:29:25 -07:00
Andrey Lushnikov eab96de6e4
chore: mark v1.20.0 (#12600) 2022-03-14 11:12:29 -07:00
Andrey Lushnikov f9ea3d53bc
cherry-pick(#12596): add release notes for all other languages (#12745)
Drive-by:
- backport removal of toHaveScreenshot from release 1.20
- change webkit 10.15 announcement

This also cherry-picks a follow-up to .NET release notes:
- docs(release-notes): fix release notes for .net (#12743)
2022-03-14 11:12:15 -07:00
Andrey Lushnikov cf1a60bce8
chore: pull expect.toHaveScreenshot() from 1.20 release (#12702)
This patch pulls `expect.toHaveScreenshot()` from 1.20 release.
We'd like to experiment more.

After this patch, there is no 'toHaveScreenshot' mention in the
codebase.
2022-03-11 19:56:43 -08:00
Andrey Lushnikov 4897967780
cherry-pick(#12627): bring back maxDiffPixels in toMatchSnapshot (#12701)
This patch reverts 2 commits that removed the feature from the method:
- "fix: explicitly ignore maxDiffPixels in toMatchSnapshot (#12570)"
  commit b8af8458d6.
- "chore: remove `maxDiffPixels` from toMatchSnapshot (#12539)"
  commit a3dff45974.
2022-03-11 17:02:44 -08:00
Yury Semikhatsky 97bca5c431
cherry-pick(1.20): recent assertion docs changes (#12696) 2022-03-11 16:51:42 -08:00
Max Schmitt b728609592
cherry-pick(1.20): fix(test-runner): ESM compatibly on Windows (#12653)
PR: #12615
2022-03-10 19:51:44 +01:00
Yury Semikhatsky 2531c590bc
cherry-pick(1.20): add missing dependency on Ubuntu 18.04 (#12626)
d49843edaa

Fixes #12613
2022-03-09 11:52:53 -08:00
Yury Semikhatsky 503dc782b6
cherry-pick(1.20): add name for screenshot animations option (#12608) 2022-03-08 18:04:32 -08:00
Yury Semikhatsky 84f36df415
cherry-pick(1.20): update POM guide (#12598) (#12607) 2022-03-08 16:41:56 -08:00
Meir Blachman 7e53facf1e
docs: Update pom.md to use locators (#12592) 2022-03-08 21:39:40 +01:00
Max Schmitt 30c954a3ba
docs: add Docker image for Python (#12595) 2022-03-08 21:21:46 +01:00
Andrey Lushnikov 422df4cbbe
docs: add js release notes for 1.20 (#12575) 2022-03-08 12:15:55 -08:00
github-actions[bot] 04e03728b8
feat(chromium): roll to r978106 (#12585)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-03-08 21:05:56 +01:00
Andrey Lushnikov 497b51ad8c
fix(toHaveScreenshot): fix initial screenshot time (#12576)
Instead of being taken immediately, first screenshot was actually
taken after 1 second.
2022-03-08 09:30:14 -08:00
github-actions[bot] 18e6aa3f15
feat(firefox): roll to r1319 (#12587)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-08 09:19:00 -08:00
Andrey Lushnikov b8af8458d6
fix: explicitly ignore maxDiffPixels in toMatchSnapshot (#12570)
Fixes #12564
2022-03-07 16:55:35 -08:00
Andrey Lushnikov e8ad7eb3f2
browser(firefox): roll Firefox to M97 (#12574)
Firefox 98 doesn't work on Ubuntu aarch64 yet.

https://github.com/microsoft/playwright/issues/12557
2022-03-07 16:16:42 -08:00
Andrey Lushnikov b0a1b412c9
devops: use xcode 13.2 when building WebKit @ MacOS 11 (#12573) 2022-03-07 15:45:35 -08:00
Yury Semikhatsky e3e29e25be
docs: update links to assertions class (#12562) 2022-03-07 10:37:36 -08:00
Dmitry Gozman d836ed41d3
feat(remote): send 'x-playwright-browser' header (#12556) 2022-03-07 10:30:53 -08:00
Max Schmitt 5ca7858ace
docs: use npm init @latest (#12561) 2022-03-07 19:30:03 +01:00
Siddharth Singha Roy a2b3d4f570
feat(cli) : allow passing PlaywrightServer.startDefault parameters via cli (#12530) 2022-03-07 09:15:46 -08:00
github-actions[bot] d81330f28f
browser(chromium): roll to r978106 (#12550)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-07 11:42:14 +01:00
Diego Pino cd0074fa41
browser(webkit): rebase to 03/04/22 (r290853) (#12551) 2022-03-07 11:39:09 +01:00
github-actions[bot] 702536d962
feat(webkit): roll to r1616 (#12541)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2022-03-06 12:22:47 +01:00
Andrey Lushnikov d7648d390c
fix(toHaveScreenshot): round ratio up (#12540)
This way the ratio value could be used right away in configuation.
2022-03-04 18:55:48 -08:00
Andrey Lushnikov a3dff45974
chore: remove maxDiffPixels from toMatchSnapshot (#12539)
References #12441
2022-03-04 18:27:04 -08:00
Andrey Lushnikov 6dac01aec7
fix: implement log scale back-off for screenshots (#12504)
References https://github.com/microsoft/playwright/issues/12441
2022-03-04 18:17:57 -08:00
Andrey Lushnikov 4953fc4845
chore: introduce toHaveScreenshot configuration options (#12507)
References https://github.com/microsoft/playwright/issues/12441
2022-03-04 17:30:43 -08:00
github-actions[bot] adb2847d84
feat(firefox): roll to r1318 (#12537)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-04 17:29:35 -08:00
Ross Wollman 281945c8b6
test: typo fix (#12531) 2022-03-04 17:09:18 -08:00
Max Schmitt 5fd43edcbb
chore: fix android tests after #12220 (#12535) 2022-03-05 00:18:03 +01:00
Yury Semikhatsky 6c4c62b674
browser(webkit): fix geolocation overrides (#12534) 2022-03-04 15:01:31 -08:00
Andrey Lushnikov d61862094e
devops: do not compile NaCL for chromium (#12508) 2022-03-04 14:38:02 -08:00
Andrey Lushnikov e10b39673c
devops: fix firefox build on Win10 (#12533) 2022-03-04 14:34:22 -08:00
Karan Shah fd1a1a2b1c
feat(android): Adding custom port parameter to connect to different adb server port (#12220) 2022-03-04 20:27:25 +01:00
Yury Semikhatsky 50cc1641d1
fix(webkit): add libopengl0 to the native deps (#12526) 2022-03-04 11:13:34 -08:00
Matt Butler 4d34815c36
docs(test-auth-js.md): remove unnecessary export (#12520) 2022-03-04 11:09:41 -08:00