Pavel Feldman
cfd3ae25fb
api(addCookies): setCookies -> addCookies ( #1367 )
...
#1348
2020-03-12 17:32:33 -07:00
Dmitry Gozman
3fa4255bc5
api: make request.postData() return null instead of undefined ( #1366 )
2020-03-12 16:53:04 -07:00
Joel Einbinder
be83cba409
fix(doclint): correctly get versions on windows ( #1350 )
...
--version doesn't work on windows.
2020-03-12 14:03:01 -07:00
Denis Sikuler
245c1fad5d
fix(docs): a typo in showcase ( #1361 )
2020-03-12 11:20:29 -07:00
Dmitry Gozman
e382bb329b
api: remove 'commit' phase, actions to wait until 'domcontentloaded' by default ( #1358 )
2020-03-12 11:20:03 -07:00
Dmitry Gozman
7c59f9ca9a
fix: do not wait for navigations while evaluating injected source ( #1347 )
2020-03-11 22:52:03 -07:00
Pavel Feldman
11c3c117de
feat(webkit): roll webkit to r1179
2020-03-11 21:19:56 -07:00
Andrey Lushnikov
f92c95c1bf
feat(firefox): roll Firefox to r1042 ( #1357 )
2020-03-11 19:03:19 -07:00
Andrey Lushnikov
704fe6dc73
fix(testrunner): fix reporting focused tests
2020-03-11 18:53:24 -07:00
Andrey Lushnikov
1cd00bd068
feat(testrunner): allow filtering by name and show all focused tests ( #1354 )
2020-03-11 18:30:43 -07:00
Pavel Feldman
b43f33f4d3
api(review): misc changes to API. ( #1356 )
2020-03-11 18:10:48 -07:00
Pavel Feldman
7fe5656257
browser(webkit): fix win cookies expires ( #1355 )
2020-03-11 18:08:14 -07:00
Kevin Wang
b3f87e8360
docs(api.md): Fix incorrect link to PageEvent ( #1353 )
...
Minor typo :)
2020-03-11 17:51:19 -07:00
Dmitry Gozman
c1ef683373
api: remove waitForLoadState() in favor of PageEvent.page(options) ( #1323 )
2020-03-11 14:46:52 -07:00
Pavel Feldman
9b8f4a2246
test(webkit): uncomment fixed viewport screenshot tests ( #1346 )
2020-03-11 14:37:06 -07:00
Dmitry Gozman
7e8ab8a175
test: await setInputFiles in flaky input tests ( #1345 )
2020-03-11 14:35:48 -07:00
Dmitry Gozman
823fffaa65
test: declare setInterval click test as undefined behavior ( #1343 )
2020-03-11 14:33:55 -07:00
Pavel Feldman
5d4fdd050a
feat(webkit): roll webkit to 1178 ( #1339 )
2020-03-11 14:08:22 -07:00
Andrey Lushnikov
3b85bf9c1f
browser(firefox): handle message manager error
event without error ( #1344 )
...
Type TypeError that happens while loading document is reported in
the message manager but does not have the error event.
Saw this while reproducing #1307
2020-03-11 13:37:31 -07:00
Pavel Feldman
6b50c8f9cc
browser(webkit): follow up 3 ( #1342 )
2020-03-11 12:03:35 -07:00
Andrey Lushnikov
13c2f6571b
docs(selectors): clarify selector conversions
2020-03-11 11:39:44 -07:00
Pavel Feldman
c044227e12
browser(webkit): follow up 2 ( #1340 )
2020-03-11 10:56:20 -07:00
Pavel Feldman
2da705de87
browser(webkit): follow up to roll ( #1337 )
2020-03-11 09:24:02 -07:00
Pavel Feldman
4a18f0f834
browser(webkit): roll to ToT 3/11/2020 ( #1335 )
2020-03-11 08:40:21 -07:00
Pavel Feldman
128157df1a
browser(webkit): rename Browser domain to Playwright ( #1333 )
2020-03-10 23:30:31 -07:00
Pavel Feldman
401a916732
test(webkit): uncomment clearCookies test w/ right expectations
2020-03-10 20:06:29 -07:00
Pavel Feldman
d08a0f02ce
browser(webkit): account for page scale when screenshotting ( #1332 )
2020-03-10 19:56:59 -07:00
Dmitry Gozman
3dd49459bb
fix(chromium): install binding function during initialization ( #1320 )
2020-03-10 16:19:01 -07:00
Andrey Lushnikov
65d10a5d5d
fix: re-implement slow-mo transport without message serialization ( #1328 )
...
With this implementation, `slowMo` will throttle all `outbound`
messages.
Fixes #1214
2020-03-10 15:57:39 -07:00
Max Schmitt
a24cce8b74
devops: fix protocol generation with root on Linux ( #1327 )
...
Currently it was leading to an error if I tried to build it with a root user on a Linux environment. So in the end the type generation was just skipped:
```
22:51:55.757 $ node install-from-github.js
22:51:55.813 Building playwright...
22:52:14.094 chromium downloaded to /11994741/playwright/.local-chromium/linux-747023 22:52:14.123 Failed to launch browser!
22:52:14.123 [0310/215214.121201:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180 .
22:52:14.123 TROUBLESHOOTING: https://github.com/Microsoft/playwright/blob/master/docs/troubleshooting.md
```
Maybe we should also exit the script with an error code if the protocol generation was not successful.
2020-03-10 15:21:08 -07:00
Pavel
6b711f57fa
test(webkit): unblock and uncomment sync window.stop test
2020-03-10 15:17:59 -07:00
Yury Semikhatsky
16d5a9cb24
tests(runner): support DEBUGP for timing out tests ( #1324 )
2020-03-10 14:48:13 -07:00
Joel Einbinder
0d2ae91fac
fix(test): enable presssing in frames test ( #1326 )
...
Fixes #1265
2020-03-10 14:47:52 -07:00
Andrey Lushnikov
0cff9df00f
test: add failing test for clicking and oopifs ( #1325 )
2020-03-10 14:24:25 -07:00
Pavel Feldman
0077b428fc
feat(webkit): emulate device size ( #1318 )
2020-03-10 13:16:33 -07:00
Pavel Feldman
044f774458
test: unflake should fail when frame detaches
2020-03-10 13:14:35 -07:00
Andrey Lushnikov
59f2e888ca
test: mark test as flaky on Firefox ( #1321 )
...
Run: https://github.com/microsoft/playwright/pull/1320/checks?check_run_id=498666394
2020-03-10 12:56:32 -07:00
Andrey Lushnikov
ac5b518bea
test: mark as flaky according to the new policy ( #1322 )
...
Closes #1300 , #1303 , #1305
2020-03-10 12:56:18 -07:00
Dmitry Gozman
23cf3be828
api: make request.frame() non-null ( #1319 )
2020-03-10 11:39:35 -07:00
Dmitry Gozman
0ce8efab7b
test: rework testrunner workers ( #1296 )
...
This change introduces a TestWorker that can be in a certain state,
meaning it has run some beforeAll hooks of a certain test suite stack.
TestWorker can be created at any time, which allows for a number of features:
- don't run hooks for suites with no runnable tests;
- smarter test distribution (and possibility for variuos strategies);
- recovering from hook failures and test failure by creating a new worker;
- possible isolation between workers by running them in separate environments.
2020-03-10 11:30:02 -07:00
Pavel
a9b7bcf905
test(webkit): expect cookies to be deleted after reload
2020-03-10 11:29:29 -07:00
Andrey Lushnikov
d542ef849f
fix(testrunner): handle uncaught errors ( #1317 )
2020-03-10 11:16:54 -07:00
Pavel Feldman
e2616e4866
browser(webkit): override global permissions ( #1315 )
...
For #652
2020-03-10 10:42:29 -07:00
Andrey Lushnikov
92aa4f375a
test: stop sourceServer as well ( #1314 )
2020-03-10 10:23:17 -07:00
Dmitry Gozman
38c3837b3e
test: remove test which is inherently racy ( #1313 )
...
page.evaluate() sometimes triggers navigation fast enoguh, so that
next page.setContent() has no execution context to evaluate in.
2020-03-10 10:11:44 -07:00
Dmitry Gozman
d5a2781e80
fix(chromium): do not await extra promises in initialize() to attach early enough ( #1311 )
2020-03-10 10:06:17 -07:00
Pavel Feldman
008e0b2ecd
browser(webkit): emulate screen size ( #1310 )
2020-03-10 09:20:25 -07:00
Dmitry Gozman
ea6978a3d8
api(popups): expose BrowserContext.route() ( #1295 )
2020-03-09 21:02:54 -07:00
Andrey Lushnikov
adee9a9bd3
test: mark worker.url()
API coverage as missing
...
References #1300
2020-03-09 18:46:39 -07:00
Hugo Dias
e2a0d61606
docs(showcase): Add playwright-test to showcase ( #1283 )
...
This tool runs mocha, tape and benchmark.js scripts inside browsers with playwright.
2020-03-09 18:39:17 -07:00