Pavel Feldman
798d0bfa9b
chore: fix headers api again ( #8854 )
2021-09-11 13:27:00 -07:00
Yury Semikhatsky
b6180055df
feat(fetch): make fetch api public ( #8853 )
2021-09-10 18:36:55 -07:00
Max Schmitt
cfe7c1a7e3
fix(sizes): responseBodySize on CR & WK macOS ( #8846 )
2021-09-10 23:19:34 +02:00
Yury Semikhatsky
ebdad167f2
feat(fetch): support new headers api ( #8843 )
2021-09-10 14:03:56 -07:00
github-actions[bot]
b1b801a3a7
feat(firefox): roll to r1295 ( #8842 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-10 21:45:20 +02:00
github-actions[bot]
6096c9e4ab
feat(firefox): roll to r1294 ( #8785 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-09-10 19:31:45 +02:00
Pavel Feldman
ccff6e3036
chore(html): render steps and errors ( #8826 )
2021-09-10 07:52:29 -07:00
github-actions[bot]
09afd50ab3
feat(chromium): roll to r920003 ( #8833 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-10 15:34:50 +02:00
Dmitry Gozman
bcb0c1745b
fix(waitForEventInfo): reply from the server side ( #8825 )
...
Otherwise, client thinks that `waitForEventInfo` is a pending operation.
2021-09-09 21:20:26 -07:00
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
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
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
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
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
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
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
Kai Hao
a1f26976b0
fix(locators): not waiting until handle is disposed ( #8735 )
2021-09-07 11:16:43 +02:00
github-actions[bot]
1f43df3249
feat(firefox): roll to r1291 ( #8704 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-09-06 13:36:10 +02:00
Yury Semikhatsky
152f6c6f1c
fix: support connectOverCDP over https ( #8703 )
2021-09-03 17:52:22 -07:00
Yury Semikhatsky
e5e461c0de
fix: use logger from config if specified ( #8697 )
2021-09-03 14:21:25 -07:00
Dmitry Gozman
5d278db17b
fix(snapshot): remove CSP meta from snapshot ( #8698 )
2021-09-03 13:44:02 -07:00
Dmitry Gozman
e2b092c1a0
feat(html reporter): show log for pw:api and expect steps ( #8692 )
2021-09-03 13:08:17 -07:00
Max Schmitt
e7d4d61442
feat: add forced-colors media query emulation ( #6903 )
2021-09-03 21:48:06 +02:00
github-actions[bot]
97717f25d2
feat(chromium): roll to r917400 ( #8685 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-03 14:47:43 +02:00
Pavel Feldman
5ac11a7760
fix(headers): fix webkit win headers tests ( #8675 )
2021-09-02 22:05:22 -07:00
Pavel Feldman
0d5b41ce7b
feat(headers): add Headers.headers that would mimic the behavior of the deprecated getters ( #8665 )
2021-09-02 20:48:23 -07:00
Dmitry Gozman
620712a5d9
feat(expect): support array of RegExp objects in toHaveText/toHaveClass ( #8667 )
2021-09-02 15:48:04 -07:00
Dmitry Gozman
e691b649de
feat(test runner): describe.parallel ( #8662 )
2021-09-02 15:42:07 -07:00
Pavel Feldman
94170dacbd
chore: rename rawHeaders to allHeaders ( #8659 )
2021-09-02 11:46:52 -07:00
Yury Semikhatsky
f9312061bf
fix(firefox): use startTime of the same response when computing responseEndTime ( #8642 )
2021-09-02 10:59:07 -07:00