Peng-Yu Chen
5f6d4a7b73
feat(download): adding a new Download._cancel
method ( #6236 )
2021-06-12 22:23:22 +02:00
Max Schmitt
2b8ea73048
docs(test-runner): fixed wrong function calls ( #7080 )
2021-06-11 16:20:13 -07:00
Andrey Lushnikov
8a8b3932f8
Revert "fix(test-runner): support passing slowMo option ( #6991 )" ( #7077 )
...
This reverts commit 178489d091
.
Reason for revert: this clashes with testrunner options.
2021-06-11 16:19:50 -07:00
Andrey Lushnikov
d6831df26f
feat: roll Firefox to r1271 ( #7067 )
...
References #7015
2021-06-11 10:50:02 -07:00
Yury Semikhatsky
c903b04c7a
feat(webkit): bump to 1499 ( #7001 )
2021-06-11 09:35:48 -07:00
Andrey Lushnikov
afa9d69b63
test: fix installation tests ( #7069 )
...
This was regressed by 3b1bae8a40
2021-06-11 13:56:41 +02:00
Andrey Lushnikov
eda097f5e5
devops: fix Firefox build on Apple Silicon ( #7068 )
2021-06-11 02:04:08 -07:00
Pavel Feldman
49a8f67c0f
fix(test-runner): resolve global hooks relative to the config dir ( #7061 )
2021-06-10 22:31:27 -07:00
Pavel Feldman
cbce7cbdec
fix(tracing): do not stall on dialogs ( #7059 )
2021-06-10 22:24:04 -07:00
Pavel Feldman
e4d93cd1f3
fix(video): do not fail when removing non-existent video ( #7060 )
2021-06-10 22:23:02 -07:00
Andrey Lushnikov
f52290d4ea
Revert "feat: add defaultTimeout browser context configuration option ( #6944 )" ( #7057 )
...
This reverts commit 617dfdef9e
.
It turns out this might conflict with our bright testrunner future.
2021-06-10 18:38:56 -07:00
Amit Abershitz
617dfdef9e
feat: add defaultTimeout browser context configuration option ( #6944 )
...
Fixes #6940
Co-authored-by: Amit Abershitz <aabershitz@proofpoint.com>
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2021-06-10 18:10:20 -07:00
Max Schmitt
9b9091b3fe
browser(firefox): fixed Array.prototype.toJSON workaround ( #7018 )
...
References #7015
2021-06-10 17:21:20 -07:00
Pavel Feldman
3b1bae8a40
feat(codegen): allow generating tests ( #7049 )
2021-06-10 16:52:59 -07:00
Yury Semikhatsky
ab4398e60a
browser(webkit): initialize fetchStart in Curl to fix network metrics ( #7052 )
2021-06-10 16:06:30 -07:00
Pavel Feldman
1479610abd
docs: start adding an API cheat sheet ( #7045 )
2021-06-10 13:43:42 -07:00
Max Schmitt
5157f74bcc
test: toJSON property for Arrays after evaluation in FF ( #7016 )
2021-06-10 10:53:30 -07:00
Max Schmitt
13b6d0153d
docs: change wording from C# to .NET ( #7021 )
2021-06-10 18:16:10 +02:00
Max Schmitt
54d5978026
docs: added extensions page ( #7010 )
2021-06-10 16:48:16 +02:00
Max Schmitt
05382c997b
fix(test-runner): do only match JS/TS files when collecting ( #7014 )
2021-06-10 16:41:57 +02:00
Pavel Feldman
144ef2a72d
docs: add reuse auth in test runner example ( #7006 )
2021-06-09 19:26:09 -07:00
Pavel Feldman
e0150338ac
docs: fix the global setup example ( #7005 )
2021-06-09 17:39:49 -07:00
Yury Semikhatsky
e625e17dc3
docs(api): add env option to Playwright.create in Java ( #7002 )
2021-06-09 15:05:51 -07:00
Andrey Lushnikov
3c7d2aae6a
fix: add best-effort support for MacOS beta versions ( #7003 )
...
Similarly to how we provide best-effort support for non-LTS ubuntu
versions, this patch adds support for beta versions of MacOS releases.
2021-06-09 14:58:20 -07:00
Max Schmitt
178489d091
fix(test-runner): support passing slowMo option ( #6991 )
...
Fixes #6984
Reverts #6967
2021-06-09 14:02:05 -07:00
Pavel Feldman
5093e4e804
docs: add playwright test clarification ( #6993 )
2021-06-09 12:34:58 -07:00
Pavel Feldman
19d69b792d
fix(tracing): do not merge srcset urls ( #6995 )
...
Fixes #6982
2021-06-09 12:05:21 -07:00
Nav-2d
a7b3bc1b38
docs(test-advanced): fix wrong extension ( #6996 )
2021-06-09 11:59:55 -07:00
Joel Einbinder
6788b9cf8c
fix(@playwright/test): plumbing ( #6992 )
...
`npx playwright test` should find and forward to the @playwright/test package.
2021-06-09 11:18:32 -07:00
Max Schmitt
048a380462
docs(input): fixed wrong example time value ( #6988 )
2021-06-09 10:16:54 -07:00
Pavel Feldman
521153844a
docs: fix the nunit example ( #6978 )
2021-06-08 19:14:18 -07:00
Dmitry Gozman
ff3f951dc8
fix(firefox): race between markAsError and Page.ready ( #6976 )
...
When new page turns into download, we can have `_markAsError` followed
by the `Page.ready` signal and report the page twice (as an error and
as a real page). This is flaky and depends on whether `Page.ready` is
fast enough before the page closes or not.
Exposed by the "should report new window downloads" test.
2021-06-08 17:28:24 -07:00
Dmitry Gozman
6eeafc171b
fix(chromium): fix a race when intialization does not finish before page close ( #6975 )
...
This is exposed by the flaky "should report new window downloads" test.
In this test a new page is created, initialized and closed before initialization
finishes. If `lifecycleEventsEnabled` fails with "Target closed error",
we correctly ignore the initialization failure, but a single usage of the
failed promise with `.then` fails anyway.
2021-06-08 17:28:16 -07:00
Andrey Lushnikov
52e75cf13e
docs: split release notes on the website per-language ( #6977 )
2021-06-08 16:43:34 -07:00
Dmitry Gozman
e707207d6f
test: update evaluate-no-stall test to get a proper error ( #6973 )
...
This test is flaky, and gives us "expected true, got false".
We should see the actual error message instead.
2021-06-08 16:27:44 -07:00
Andrey Lushnikov
aa2546592d
docs: update release notes docs ( #6974 )
2021-06-08 16:17:53 -07:00
Max Schmitt
226159defc
browser(firefox): forced-colors media query emulation ( #6902 )
2021-06-09 01:00:15 +02:00
Dmitry Gozman
1d6ca5284c
feat(test runner): add tests for playwright-specific fixtures ( #6952 )
2021-06-08 15:52:08 -07:00
Andrey Lushnikov
ed011beff4
feat(firefox-beta): roll Firefox-Beta to 90.0b5 ( #6969 )
2021-06-08 14:21:56 -07:00
Yury Semikhatsky
316f17f2f0
browser(webkit): fix win linkage of libyuv ( #6970 )
2021-06-08 14:21:40 -07:00
Andrey Lushnikov
37af9ce3cf
test(playwright-test): fix fixtures test ( #6967 )
...
🤷♂️
2021-06-08 13:10:15 -07:00
Max Schmitt
557a564c5f
docs(python): update Pytest docs ( #6965 )
2021-06-08 21:20:45 +02:00
Pavel Feldman
6ec70bc0ac
api(dotnet): embrace nullable references ( #6964 )
2021-06-08 12:20:35 -07:00
Darío Kondratiuk
cc2a7ef369
doc(csharp): improve example readability on intro page ( #6957 )
2021-06-08 12:03:49 -07:00
Yury Semikhatsky
4c70856252
browser(webkit): roll to 06/08/21 ( #6958 )
2021-06-08 11:48:38 -07:00
Andrey Lushnikov
50027fa649
chore: cut v1.12.0 release ( #6960 )
2021-06-08 11:22:56 -07:00
Pavel Feldman
021f51cc1f
feat(trace): add a trace option into the test runner ( #6961 )
...
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2021-06-08 11:22:07 -07:00
Joel Einbinder
93f6b57ca5
feat(playwright-test): scan the world ( #6935 )
...
Running `npx playwright test` results in a cryptic error message that says to check `--help` for more information.
I started to rewrite it, but I think instead it would be much nicer if we just treated `npx playwright test` as an alias for `npx playwright test -c .`. There is a comment in the code that worries this will be slow because it will scan the world. However we need to support this case anyway for the tests-next-to-code pattern.
It looks like this should be fast because we ignore node_modules/.gitignore entries. If this is still too slow we should make it faster. If we can't make it faster we should throw a more specific error telling the user how to make it faster.
2021-06-08 11:02:16 -07:00
Andrey Lushnikov
53d68bdb38
feat: firefox is stable by default ( #6953 )
...
This patch:
- rolls Firefox to v1269 which is now a firefox-stable build.
- introduces a new channel, `firefox-beta`, for our internal needs.
Fixes #6817
2021-06-08 09:34:17 -07:00
Dmitry Gozman
eb01844710
chore(tests): roll stable test runner to jun-8-2021 ( #6951 )
2021-06-08 08:35:04 -07:00