Dmitry Gozman
d9d2d809a2
fix(test): make use
in config accept option values only ( #8828 )
...
Also include default options in FullConfig/FullProject.
Also make examples compile and add a test.
2021-09-13 17:50:31 -07:00
Dmitry Gozman
ed34a67d4a
fix(junit reporter): put stdio under testcase ( #8900 )
...
When output happened during test execution, it should be
under `<testcase><system-out>...</system-out></testcase>`.
2021-09-13 17:50:08 -07:00
Dmitry Gozman
440651e05c
test(test runner): calling test.step() from fixture ( #8899 )
2021-09-13 17:49:58 -07:00
Dmitry Gozman
6c41ad3329
test: expect(locator).toHaveCount should wait ( #8901 )
2021-09-13 17:06:19 -07:00
Pavel Feldman
478a7bcc90
fix(recorder): check that glass pane is in the current document ( #8891 )
2021-09-13 16:17:34 -07:00
Yury Semikhatsky
b79be5d98d
feat(fetch): introduce failOnStatusCode ( #8896 )
2021-09-13 15:38:27 -07:00
Pavel Feldman
bb33b8923e
feat(report): add show-report option ( #8895 )
2021-09-13 15:19:40 -07:00
Yury Semikhatsky
f8c0f0d637
feat(fetch): support query params ( #8893 )
2021-09-13 14:29:44 -07:00
Paulo Gonçalves
3e5645ecea
docs(showcase): example of parallel testing on AWS ( #8870 )
2021-09-13 13:52:57 -07:00
Max Schmitt
87c2b4b200
chore(create-playwright): roll to 0.1.5 ( #8889 )
2021-09-13 22:48:19 +02:00
Max Schmitt
5b1440e14a
devops: rework client side changes bot ( #8877 )
2021-09-13 22:46:57 +02:00
Max Schmitt
5eca7aa1d9
feat: add create-playwright package ( #8841 )
2021-09-13 22:05:38 +02:00
Pavel Feldman
64f9c3ba1d
feat(api): move fetch api into the namespace ( #8871 )
2021-09-13 12:43:07 -07:00
Joel Einbinder
bf35da3656
fix(test-runner): accept unix separators even on windows ( #8881 )
...
.
2021-09-13 12:09:38 -04:00
Max Schmitt
5953472899
devops: fix --full command in FF which installs deps ( #8878 )
...
Broken since https://github.com/microsoft/playwright/pull/8049
Previously when doing `build.sh --full` it was installing deps + building. Currently when passing `--full` it does not install the deps before, since it tries to compile before.
2021-09-13 08:01:35 -07:00
github-actions[bot]
ec2cbad76f
feat(chromium): roll to r920619 ( #8879 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-13 16:09:14 +02:00
github-actions[bot]
ef0be3648f
browser(chromium): roll to r920619 ( #8876 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-13 12:07:13 +02:00
Andrey Lushnikov
67410ab70f
docs: fix protractor migration guide lists ( #8875 )
2021-09-13 12:06:47 +02:00
Ross Wollman
549411dc33
feat(har): add _requestref ( #8847 )
2021-09-11 17:25:00 -07:00
Pavel Feldman
798d0bfa9b
chore: fix headers api again ( #8854 )
2021-09-11 13:27:00 -07:00
Feng Yu
737b155869
docs(library-js.md): fix broken [managing browsers] link ( #8856 )
2021-09-11 07:32:50 -07:00
Yury Semikhatsky
b6180055df
feat(fetch): make fetch api public ( #8853 )
2021-09-10 18:36:55 -07:00
Yury Semikhatsky
8d6bcfb66c
test: headers return only last header value for duplicates ( #8851 )
2021-09-10 16:37:10 -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
Max Schmitt
8a3e992031
test: add test for responseBodySize with chunked requests ( #8839 )
2021-09-10 20:53:08 +02:00
Max Schmitt
33cd0d21da
docs: rename protractor-js id to protractor
2021-09-10 19:40:36 +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
Yury Semikhatsky
3c5d8ff18d
test: skip failing interception tests in Electron ( #8836 )
2021-09-10 09:33:12 -07:00
Max Schmitt
4e95448887
browser(firefox): expose encodedBodySize in requestFinished ( #8835 )
2021-09-10 08:41:34 -07:00
Max Schmitt
a5fa190748
docs: no Response.finished() return value ( #8819 )
2021-09-10 08:02:34 -07: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
Max Schmitt
7f9d390cee
docs(protractor): fixed invalid link reference
2021-09-10 13:17:20 +02:00
github-actions[bot]
4e9729a6e9
browser(chromium): roll to r920003 ( #8832 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-09-10 12:12:41 +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
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