Yury Semikhatsky
0adf5536af
docs(fetch): clarify cookie handling ( #12892 )
2022-03-21 13:20:17 -07:00
github-actions[bot]
e8fbe97211
browser(chromium): roll to r983172 ( #12919 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-21 11:25:29 +01:00
github-actions[bot]
9a60067fc2
feat(chromium): roll to r982481 ( #12903 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-19 13:06:55 +01:00
Pavel Feldman
e044bae888
chore: make count() work with _vue selectors ( #12899 )
2022-03-18 21:22:33 -07:00
Yury Semikhatsky
96b0a4b993
browser(firefox): fast post body conversion to base64 ( #12898 )
2022-03-18 18:30:28 -07:00
Dmitry Gozman
85b01056b6
fix(click): workaround elementsFromPoint issue in Chromium ( #12888 )
...
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-18 18:20:48 -07:00
Pavel Feldman
98ed81dc00
chore: do not initialize full sessions for pages used in session restore ( #12886 )
2022-03-18 18:17:37 -07:00
Pavel Feldman
4aaa63beaa
test: add a test for #12837 ( #12838 )
2022-03-18 18:09:59 -07:00
Andrey Lushnikov
cfe92e1608
feat(test-runner): implement expect.poll
( #12815 )
...
This patch implements `expect.poll()` method that polls given
predicate until a given synchronous predicate completes.
Usage:
```js
// wait until page gets 3 frames.
await expect.poll(() => page.frames().length, {
timeout: 1000,
message: 'custom error message',
}).toBe(3);
```
Fixes #10235
2022-03-18 16:31:26 -07:00
Dmitry Gozman
009185bb89
fix(test runner): do not print fixture location without a separate timeout ( #12894 )
...
Otherwise, user randomly sees some "extend" calls that have no real meaning.
2022-03-18 16:09:41 -07:00
Dmitry Gozman
209bde5000
feat(test runner): descrbe.skip ( #12865 )
...
`describe.skip` declares a test group that is skipped.
2022-03-18 16:07:11 -07:00
Andrey Lushnikov
2ec3866f7c
devops: update electron build tools ( #12891 )
2022-03-18 14:48:10 -07:00
Max Schmitt
dd32956ccc
chore: improve handling with missing xserver ( #12724 )
2022-03-18 22:39:11 +01:00
Andrey Lushnikov
daff643516
Revert "devops: use i686 for webkit on win ( #12881 )" ( #12889 )
...
This reverts commit a10f6f3406
.
2022-03-18 13:42:48 -07:00
Max Schmitt
d795f5dd64
chore: print error if install-deps is used != ubuntu ( #12877 )
2022-03-18 19:13:11 +01:00
Andrey Lushnikov
bb756c5b23
test: mark webkit ubuntu fonts test as fixme ( #12885 )
...
References https://github.com/microsoft/playwright/issues/12839
2022-03-18 09:35:41 -07:00
Andrey Lushnikov
a10f6f3406
devops: use i686 for webkit on win ( #12881 )
2022-03-18 09:09:27 -07:00
Yury Semikhatsky
a8d80621b2
feat(chromium): large file uploads ( #12860 )
2022-03-18 09:00:52 -07:00
Yury Semikhatsky
c721c5c3b1
browser(webkit): set input file paths ( #12868 )
2022-03-18 08:37:51 -07:00
Max Schmitt
f3ffd328dd
chore: fix modification dates in driver ( #12864 )
2022-03-18 13:03:09 +01:00
github-actions[bot]
642392c217
browser(chromium): roll to r982481 ( #12872 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-18 12:04:08 +01:00
Dmitry Gozman
3a009531b1
feat(hooks): add a step per hook ( #12867 )
...
It is now possible to see which hooks were run in the html report.
2022-03-17 19:33:01 -07:00
Pavel Feldman
c7d6f96328
chore: disambiguate internal flags ( #12866 )
2022-03-17 18:27:33 -07:00
Dmitry Gozman
25483452c0
feat(fixtures): per-fixture timeout ( #12751 )
...
By default, fixtures share timeout with the test they are instantiated for.
However, for more heavy fixtures, especially worker-scoped ones, it makes
sense to have a separate timeout.
This introduces `{ timeout: number }` option to the list of fixture options
that opts the fixture into a dedicated timeout rather than sharing it
with the test.
2022-03-17 09:36:03 -07:00
Diego Pino
b3ca805591
browser(webkit): rebase to 03/10/22 (r291123) ( #12852 )
2022-03-17 09:11:03 -07:00
Benny Neugebauer
2e434f725b
chore: fix markdown links in NPM README's ( #12833 )
2022-03-17 15:28:57 +01:00
Henrik Storck
05387b7835
fix: fix folder traversal for isModule check ( #12836 ) ( #12837 )
2022-03-16 15:52:39 -08:00
Andrey Lushnikov
fa81561073
docs: remove ---disable-dev-shm-usage
recommendation from docs ( #12811 )
...
We now pass this flag to chromium unconditionally.
2022-03-16 15:44:31 -07:00
Andrey Lushnikov
e16f3c46b4
docs: always keep docker references up-to-date in documentation ( #12795 )
...
References #12796
2022-03-16 13:51:39 -07:00
Max Schmitt
e231db1810
chore: restore expect.any()/expect.anything() ( #12820 )
2022-03-16 21:34:41 +01:00
Yury Semikhatsky
bb68875e82
devops: remove webkit-mac-10.15 from expected builds ( #12826 )
2022-03-16 10:01:23 -07:00
Yury Semikhatsky
0e79fd59fd
devops: delete deprecated 10.14 build trigger ( #12825 )
2022-03-16 09:07:27 -07:00
o.mingaleev
9fc9aeeb23
docs: fixed wrong types for WebServerConfig.cwd ( #12817 )
...
Co-authored-by: Oleg Mingaleev <oleg.m@profi.io>
2022-03-16 12:14:12 +01:00
Ross Wollman
964eeba0dc
docs: remove mis-placed command ( #12787 )
2022-03-15 17:38:36 -07:00
Pavel Feldman
9ff9a9711d
docs: fix grep release notes ( #12801 )
2022-03-15 17:28:25 -07:00
Yury Semikhatsky
1284ab8101
feat(webkit): bump to 1617, freeze macOS 10.15 ( #12790 )
2022-03-15 16:09:56 -07:00
Pavel Feldman
b6c001c6de
chore: add vue components example ( #12797 )
2022-03-15 14:47:42 -07:00
Dmitry Gozman
f8c4cb3d24
fix(screenshot): do not stall on hideHighlight ( #12764 )
2022-03-15 14:13:45 -07:00
Pavel Feldman
6b324d3780
chore(vue): allow adding events in jsx templates ( #12746 )
2022-03-15 13:02:10 -07:00
Max Schmitt
61c66bb82b
docs(docker): stop advertising :focal tag ( #12791 )
...
Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
2022-03-15 19:28:19 +01:00
Andrey Lushnikov
c1c44055f8
devops: move everyone to use xcode 13.2 ( #12788 )
2022-03-15 10:44:53 -07:00
Yury Semikhatsky
0da255bc44
devops: use xcode 12 on macOS 11 for webkit ( #12783 )
2022-03-15 09:53:42 -07:00
Ross Wollman
b364efca38
chore: update GitHub issue template ( #12752 )
2022-03-14 20:29:09 -07:00
github-actions[bot]
08c29b305b
feat(chromium): roll to r980398 ( #12757 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-03-14 18:51:46 -07:00
Andrey Lushnikov
88610c8b4c
fix: properly define apiName for web-first assertions ( #12706 )
...
Turns out relying on PWTRAP in stack is not reliable: depending on the
call structure, the stack might be cut unpredictably by Node.js.
This patch removes PWTRAP and instead plumbs explicit stack and
pre-set `apiName` all the way down to `wrapApiCall`.
2022-03-14 18:01:13 -07:00
Andrey Lushnikov
e3bd7ce119
fix(test-runner): resolve outputDir wrt rootDir ( #12755 )
...
Currently, running `npx playwright test` in a subfolder of your project
will result in a `test-results` folder created in your `cwd`.
This is unexpected; instead, we should always resolve all paths
against `rootDir` - directory that contains config.
2022-03-14 17:20:17 -07:00
Yury Semikhatsky
990224bde4
Revert "feat(webkit): bump to 1617 ( #12738 )" ( #12760 )
...
This reverts commit 77824ee19e
.
2022-03-14 17:08:32 -07:00
Yury Semikhatsky
77824ee19e
feat(webkit): bump to 1617 ( #12738 )
2022-03-14 15:11:21 -07:00
Max Schmitt
01beb6310a
docs: mention locator.nth is zero based ( #12750 )
...
Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
2022-03-14 21:06:44 +01:00
Max Schmitt
fff4681c6c
docs: fix broken release-notes links ( #12747 )
2022-03-14 12:25:26 -07:00