Andrey Lushnikov
f264e85a6c
chore: bump dependency to fix vulnerability ( #6882 )
2021-06-03 15:11:15 -07:00
Dmitry Gozman
d4482f3ad3
chore: do not use Array.from in injected script ( #6876 )
...
This method is most often overridden by some bad polyfill that
does not work correctly and breaks `$eval` and `$$eval` methods.
As a best-effort fix, use a `[...iterable]` throughout the code.
2021-06-03 15:10:02 -07:00
Andrey Lushnikov
f2cc439d8b
chore: move electron back from FYI bots to CQ1 bots ( #6883 )
...
This is according to the discussion at the meeting.
2021-06-03 15:03:10 -07:00
Andrey Lushnikov
b19b2dc3ad
devops: introduce manual @next NPM publishing ( #6881 )
2021-06-03 14:50:40 -07:00
Pavel Feldman
e41979a551
chore: import @playwright/test ( #6880 )
2021-06-03 14:46:58 -07:00
Dmitry Gozman
375ceca950
test: disable chromium headed tracing test ( #6878 )
2021-06-03 14:33:33 -07:00
Dmitry Gozman
0830c85dc6
test: roll to folio@0.4.0-alpha26 ( #6877 )
2021-06-03 13:40:00 -07:00
Yury Semikhatsky
d7c202ca3c
browser(webkit): fix time formatting and mac compilation ( #6875 )
2021-06-03 12:03:32 -07:00
Max Schmitt
064150f8dd
chore: use fs.promises API instead of promisify ( #6871 )
2021-06-03 18:55:33 +02:00
Pavel Feldman
d16afef75a
doc(tracing): add a trace viewer doc ( #6864 )
2021-06-03 08:08:05 -07:00
Dmitry Gozman
3de3a88930
feat(test): introduce npx playwright test
( #6816 )
2021-06-03 08:07:55 -07:00
Kumar Aditya
13b6444bda
docs(python): add docs for installing with conda ( #6845 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-06-03 11:37:43 +02:00
Dmitry Gozman
cc2c6917cf
test: roll to folio@0.4.0-alpha25 ( #6863 )
2021-06-02 22:35:18 -07:00
Pavel Feldman
b2143a951b
chore: make tracing zero config ( #6859 )
2021-06-02 22:00:34 -07:00
Dmitry Gozman
837ee08a53
fix(waitForSelector): retry when context is gone during node adoption ( #6851 )
...
There is a small window after finishing the "rerunnable task" where
we adopt the node to the main world and navigation could destroy the context.
2021-06-02 20:17:24 -07:00
Dmitry Gozman
8a68fa1e83
docs(test runner): advanced section ( #6862 )
2021-06-02 20:16:10 -07:00
Max Schmitt
c09726b023
test: add tests for port-forwarding via playwrightclient ( #6860 )q
2021-06-03 02:19:01 +02:00
Yury Semikhatsky
4fa792ee89
browser(webkit): getLocalStorageData command ( #6858 )
2021-06-02 16:30:00 -07:00
Pavel Feldman
c5e1c8b90c
docs: use explicit tab suffixes ( #6855 )
2021-06-02 15:31:51 -07:00
Max Schmitt
e91e49e533
feat(port-forwarding): add playwrightclient support ( #6786 )
2021-06-02 23:35:17 +02:00
Dmitry Gozman
33c2f6c31e
chore: do not bundle api.json and protocol.yml ( #6841 )
...
These are only needed for the driver, so bundle them
in the driver explicitly.
2021-06-02 14:01:05 -07:00
Karan Shah
254ec155eb
feat(user-agent): Adding User-Agent in headers while making connection to browser ( #6813 )
2021-06-02 11:36:58 -07:00
Andrey Lushnikov
17b6f06b98
feat: install media pack on windows with npx playwright install-deps
( #6836 )
...
Chromium on Windows requires Media Pack to be installed. This patch
moves media pack installation under the `npx playwright install-deps`
umbrella.
2021-06-02 10:47:10 -07:00
Yury Semikhatsky
2fde9bc13f
fix(webkit): use new awaitPromise parameter instead of separate command ( #6852 )
2021-06-02 10:04:47 -07:00
Pavel Feldman
d28f45b6ee
api(tracing): export -> stop({path}) ( #6802 )
2021-06-02 10:04:25 -07:00
Max Schmitt
79b244a2f4
chore: use bash instead of sh in code blocks ( #6847 )
2021-06-02 18:23:06 +02:00
Yury Semikhatsky
f9c8b78c07
feat(webkit): bump to 1490 ( #6842 )
2021-06-02 09:08:55 -07:00
Dmitry Gozman
ec7d37d92f
chore: update eslint config ( #6840 )
2021-06-02 08:41:48 -07:00
Andrey Lushnikov
831a1c846f
feat(firefox-stable): roll Firefox-Stable to Firefox v89 ( #6833 )
...
References #6817
2021-06-02 08:34:03 -07:00
Ross Wollman
ffe89c4e3d
docs(installation): use RFC5735 IPs for examples ( #6729 )
...
Updates examples to use IPs from [TEST-NET-* blocks][rfc5735] designated for
example documentation instead of likely live (albeit innocuous) router IPs.
[rfc5735]: https://datatracker.ietf.org/doc/html/rfc5735
2021-06-02 00:15:21 -07:00
Andrey Lushnikov
919d258356
feat: support npx playwright install chrome
( #6835 )
...
This will install latest-and-greatest chrome stable.
2021-06-01 23:16:55 -07:00
Yury Semikhatsky
1020d3d329
feat(webkit): bump to 1488 ( #6826 )
2021-06-01 23:09:58 -07:00
Andrey Lushnikov
251c7d8df1
test: properly disable electron test ( #6839 )
...
This test is failing since ee7e38c60d
Dashboard: https://devops.aslushnikov.com/flakiness2.html#browser=electron&platform=Ubuntu+20.04×tamp=1622444340000
P.S. this is a follow-up to a1106e5d4e
-
turns out `it.fail` is still failing in case of a timeout.
2021-06-01 23:09:07 -07:00
Andrey Lushnikov
d767fc2f91
browser(firefox-stable): disable proton UI in firefox stable ( #6838 )
...
See f4b8c3a848
for details.
2021-06-01 19:08:03 -07:00
Andrey Lushnikov
a1106e5d4e
test: disable test that fails on Electron ( #6837 )
...
This test is failing since ee7e38c60d
Dashboard: https://devops.aslushnikov.com/flakiness2.html#browser=electron&platform=Ubuntu+20.04×tamp=1622444340000
2021-06-01 19:04:24 -07:00
Andrey Lushnikov
c9613b36f9
devops: introduce "FYI" test bots ( #6834 )
...
The "FYI" bots never run on PRs - even when you put a "CQ1" label.
These tests are only run on commits to master / release branches and
their results are observed on the flakiness dashboard.
2021-06-01 18:45:45 -07:00
Andrey Lushnikov
cb4adb1446
feat: install chrome-beta via cli ( #6831 )
...
This patch starts introduces `npx playwright install chrome-beta`
command and switches our Chrome Beta tests to it.
2021-06-01 18:26:12 -07:00
Andrey Lushnikov
3c3a7f9293
feat(chromium): roll Chromium to r888113 ( #6832 )
...
References #6818 , references #6390
2021-06-01 18:06:44 -07:00
Andrey Lushnikov
4f5b65f400
chore: update package-lock.json to v2 ( #6830 )
...
NOTE: this requires everybody to use NPM v7+. Install via
```sh
npm install -g npm@7
```
2021-06-01 17:19:20 -07:00
Dmitry Gozman
24dca969b6
chore: remove electron/android from build_packages ( #6827 )
...
We do not update these packages anymore, and bundle the code in playwright.
2021-06-01 15:53:47 -07:00
Yury Semikhatsky
b4ffe86fd1
browser(webkit): add missing override annotations ( #6829 )
2021-06-01 15:23:08 -07:00
Yury Semikhatsky
9b81dccc39
browser(webkit): add awaitPromise parameter to Runtime.callFunctionOn ( #6828 )
2021-06-01 14:56:46 -07:00
Max Schmitt
d79110dcc1
fix(port-forwarding): close socket on unexpected payloads ( #6753 )
2021-06-01 23:13:23 +02:00
Andrey Lushnikov
531d35f945
browser(chromium): revert swiftshader fixes ( #6824 )
...
References #6818 , references #6390
2021-06-01 13:55:58 -07:00
Andrey Lushnikov
17585a369e
devops: do not run tests for docs changes ( #6825 )
2021-06-01 13:55:48 -07:00
Ross Wollman
c8c849e164
docs(page): add TypeScript $eval type-hint notes ( #6693 )
2021-06-01 22:50:31 +02:00
Andrey Lushnikov
0f7a7604bc
browser(firefox): roll Firefox-stable to 89 ( #6823 )
2021-06-01 13:16:45 -07:00
Max Schmitt
d21a72e7d5
chore: create new Playwright instance when launching server ( #6820 )
2021-06-01 21:21:24 +02:00
Joel Einbinder
2951f4b065
chore(evaluate): remove private _evaluateInUtility methods ( #6815 )
2021-06-01 08:36:16 -07:00
Dmitry Gozman
5fd15d8a5e
docs(test runner): put more example in various sections ( #6812 )
2021-05-31 22:01:21 -07:00