Commit Graph

5673 Commits

Author SHA1 Message Date
Pavel Feldman
665143d629
chore(report): don't generate file per test (#8822) 2021-09-09 17:35:31 -07:00
Dmitry Gozman
e85fba1c7d
fix(check): allow checking/unchecking role=radio elements (#8821)
We already do this for `role=checkbox` but not for radio.
2021-09-09 16:01:21 -07:00
Pavel Feldman
7bbb63d143
feat(test): start authoring raw reporter (#8790) 2021-09-09 14:17:18 -07:00
Andrey Lushnikov
c5ce263de7
fix: make sure page.goto navigates away from pages with beforeunload (#8770)
As of today, we can't navigate away from a page with beforeunload unless
we have an explicit `beforeunload` handler.

This patch updates our dialog auto-closing logic so that it auto-accepts
all beforeunload dialogs.

Fixes #8144
2021-09-09 13:19:50 -07:00
Diego Pino
653e25fc01
build(webkit): disable OS_DARK_MODE_SUPPORT (#8802) 2021-09-09 13:01:33 -07:00
Joel Einbinder
7fe30bb182
test(goto): add failing load event test for webkit (#8809) 2021-09-09 12:42:46 -07:00
Dmitry Gozman
eca82eee4a
fix(video): reduce buffering in ffmpeg, avoid overbooking cpu (#8786)
This is an attempt to improve video performance when encoding
does not keep up with frames. This situation can be reproduced
by running multiple encoders at the same time.

Added `utils/video_stress.js` to manually reproduce this issue.

Observing ffmpeg logs, it does not do any encoding initially and
instead does "input analysis / probing" that detects fps and other
parameters. By the time it starts encoding (launches vpx and creates
the video file), we already have many frames in the buffer.
Reducing probing helps:
`-avioflags direct -fpsprobesize 0 -probesize 32 -analyzeduration 0`

Another issue observed is questionable default `-threads` value.
We compile without threads support, so logs say "using emulated threads".
For some reason, setting explicit `-threads 1` (or any other value)
makes it better when cpu is loaded.
2021-09-09 12:41:06 -07:00
Yury Semikhatsky
1ad6c8af6f
test: response finish hangs when page closes (#8816) 2021-09-09 12:27:57 -07:00
Andrey Lushnikov
c0e4602e70
docs: add "migration from Protractor" guide (#8807) 2021-09-09 09:34:54 -07:00
arukiidou
784f030c15
docs: allure-playwright is not experimental now. (#8811) 2021-09-09 09:23:31 -07:00
Yury Semikhatsky
e5a92c3e81
docs: less fancy header array type (#8808) 2021-09-09 09:00:11 -07:00
Anže Vodovnik
c6bb0bb44e
docs(dotnet): fix incorrect syntax (#8801) 2021-09-09 11:39:26 +02:00
houmingjie
fb1b887135
chore: fix wrong assert message in rewriteCookies (#8797) 2021-09-09 11:22:02 +02:00
github-actions[bot]
cfeadcdd52
feat(chromium): roll to r918973 (#8783)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-09 11:17:06 +02:00
Yury Semikhatsky
81ae790288
feat(fetch): support ignoreHTTPSErrors (#8795) 2021-09-08 20:32:52 -07:00
Yury Semikhatsky
5550f58284
feat(fetch): fetch with request parameter (#8793) 2021-09-08 16:31:58 -07:00
Yury Semikhatsky
b11b274b0d
feat(fetch): fulfill without passing fetch response body client<->server (#8789) 2021-09-08 14:59:12 -07:00
Pavel Feldman
5a305a9c2e
fix(recorder): move recorder scripts into the main world (#8761) 2021-09-08 14:27:05 -07:00
Pavel Feldman
6e97ac300c
Revert "docs: add waitForSelectorHidden (#8632)" (#8781) 2021-09-08 14:26:52 -07:00
Dmitry Gozman
41088029f4
fix(html reporter): show fetch error message and use no-cache (#8788) 2021-09-08 14:21:11 -07:00
Yury Semikhatsky
b4ca77be23
feat(fetch): get body lazily (#8784) 2021-09-08 13:40:07 -07:00
Yury Semikhatsky
77b3b0965a
feat(fetch): timeout option and default timeout (#8762) 2021-09-08 10:01:40 -07:00
Andrey Lushnikov
4e8d26c622
browser(ff-beta): roll ff-beta to 93.0b3 (#8779) 2021-09-08 07:54:44 -07:00
Dmitry Gozman
27f4ef566e
docs: test parallel/failures docs (#8706) 2021-09-08 07:44:26 -07:00
github-actions[bot]
9cd5c61716
browser(chromium): roll to r918973 (#8776)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-08 15:51:50 +02:00
Diego Pino
7debcf48ff
browser(webkit): roll to 08/09/21 (#8769) 2021-09-08 06:50:10 -07:00
Andrey Lushnikov
2a07b353dc
browser(firefox): roll Firefox to Firefox Stable 92.0 (#8774) 2021-09-08 06:47:26 -07:00
Andrey Lushnikov
06b69f6a97
browser(firefox): disable background tasks and updater for firefox (#8773)
References #8536
2021-09-08 06:15:22 -07:00
Andrey Lushnikov
32ea4f542b
fix: a human-readable error when lock cannot be acquired (#8768)
Fixes #8709
2021-09-08 06:03:16 -07:00
Max Schmitt
25b5927a4d
docs: sizes enhancements (#8771) 2021-09-08 14:09:11 +02:00
github-actions[bot]
ffb5ddbcde
feat(webkit): roll to r1541 (#8764)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-08 13:26:13 +02:00
Max Schmitt
25c8fc4229
docs: add waitForSelectorHidden (#8632) 2021-09-08 10:53:47 +02:00
Pavel Feldman
e36f6da030
browser(webkit): dsf-scale wpe videos (#8763) 2021-09-07 18:08:46 -07:00
Yury Semikhatsky
6263361284
feat(fetch): browser proxy credentials (#8760) 2021-09-07 17:42:31 -07:00
Yury Semikhatsky
afe92a6fcf
fix(runner): avoid line wrapping in list reporter (#8705) 2021-09-07 17:42:17 -07:00
Dmitry Gozman
bcbb792cf3
fix(tracing): retain script resources, but no body (#8758) 2021-09-07 15:23:13 -07:00
Dmitry Gozman
b30772c67e
fix(tracing): collect apiName for mouse/keyboard/touchscreen (#8755) 2021-09-07 13:48:30 -07:00
Daniel Dyssegaard Kallick
b2c59a15dd
feat(test-runner): include test step in json report (#8476) 2021-09-07 13:35:30 -07:00
Max Schmitt
913fb29353 test: fix 'should filter favicon and favicon redirects' in har.spec.ts 2021-09-07 19:42:14 +02:00
Dmitry Gozman
3739113e74
fix(test runner): allow dot-files and dot-directories with tests (#8751) 2021-09-07 10:32:47 -07:00
Joel Einbinder
e914f6bbc7
feat(network): remove Headers class and add headersArray method (#8749) 2021-09-07 10:27:53 -07:00
Max Schmitt
4f4bc72828
chore: add more tests for Request.sizes() (#8686) 2021-09-07 19:19:12 +02:00
Max Schmitt
e1c2d67359
fix(cli): allow unknown parameters in debug command (#8732) 2021-09-07 18:35:01 +02:00
Max Schmitt
e40b805782
feat(test-runner): support baseURL in toHaveURL (#8743) 2021-09-07 18:34:02 +02:00
Max Schmitt
b6ec6339d0
test: fix flaky 'should not fire events for favicon' test (#8738) 2021-09-07 13:05:29 +02:00
Max Schmitt
e832038ea2
test: skip wss/https tests which were failing on transport mode (#8733) 2021-09-07 11:17:09 +02:00
Kai Hao
a1f26976b0
fix(locators): not waiting until handle is disposed (#8735) 2021-09-07 11:16:43 +02:00
David Rousset
9626b111bc
docs(test-runner): fix code snippets by using Playwright Test in import instead of Playwright (#8729)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-09-07 11:07:05 +02:00
github-actions[bot]
f768ac03ee
feat(firefox): roll to r1292 (#8731)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-09-06 22:57:26 +02:00
github-actions[bot]
539bc4cf7a
feat(firefox-beta): roll to r1289 (#8728)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-06 21:35:26 +02:00