Pavel Feldman
a9238ce2e1
feat(debug): introduce npx playwright debug ( #5679 )
2021-03-03 22:25:14 -08:00
Pavel Feldman
d3eff50386
feat(java): implement codegen ( #5692 )
2021-03-03 14:32:09 -08:00
Dmitry Gozman
d87522f2e6
fix(text selector): revert quoted match to match by text nodes only ( #5690 )
2021-03-03 10:51:10 -08:00
Dmitry Gozman
e4d33f56f4
fix(click): do not retarget from label to control when clicking ( #5683 )
...
And in other carefully considered cases.
2021-03-02 17:29:03 -08:00
Dmitry Gozman
ff243f1af5
fix(addInitScript): make it work on new pages without navigations ( #5675 )
2021-03-02 16:03:48 -08:00
Andrey Lushnikov
850e3c5aa3
test: add debugging output for downloads tests ( #5673 )
2021-03-01 17:52:45 -08:00
Pavel Feldman
b253ee80c0
chore(snapshot): brush up, start adding tests ( #5646 )
2021-03-01 12:20:04 -08:00
Pavel Feldman
eb980207fc
test: add a test for 2 cdp sessions against the browser ( #5655 )
2021-03-01 11:05:02 -08:00
Pavel Feldman
aeb2b2f605
feat(inspector): wire snapshots to inspector ( #5628 )
2021-02-26 14:16:32 -08:00
Pavel Feldman
992f808210
chore(snapshot): implement in-memory snapshot ( #5624 )
2021-02-25 13:09:26 -08:00
Dmitry Gozman
0102e080f6
fix(text selector): make quoted selector match by text nodes ( #5603 )
...
This change turns quoted match to be case-sensitive (as before),
but not strictly full-string for the whole element's text.
This is a fix for a case where element contains text nodes and child elements:
```html
<div>text1<span>child node</span>text2</div>
```
We now match this div by `text="text1"` and `text="text2"`.
2021-02-24 16:32:38 -08:00
Pavel Feldman
8906ba332c
chore: spell overridden ( #5605 )
2021-02-24 15:11:34 -08:00
Pavel Feldman
f71bf9a42a
chore: move trace viewer into server ( #5597 )
2021-02-24 13:39:51 -08:00
Darío Kondratiuk
b07dba8075
test: improve test names ( #5511 )
...
We have a few tests with duplicated names and some describes with bad names
2021-02-24 13:28:22 -08:00
Max Schmitt
070cfdcdb8
fix(inspector): skip stack trace playwright/src lines only under tests ( #5594 )
2021-02-24 11:34:48 -08:00
Pavel Feldman
48c237b3cf
chore: move trace to server ( #5565 )
2021-02-23 22:08:14 -08:00
Joel Einbinder
841264c94d
fix(test): disable failing drag and drop test on mac and windows ( #5575 )
2021-02-23 20:28:39 -08:00
Dmitry Gozman
1dc7fb1f3f
test: add more tests for Set-Cookie in fulfill ( #5570 )
2021-02-23 19:14:37 -08:00
Joel Einbinder
e3cd52d0df
test(drag): enable drag tests everywhere but chromium ( #5553 )
2021-02-23 17:03:28 -08:00
Joel Einbinder
dc3fd3f6b3
test(drag): test for dropEffect ( #5559 )
2021-02-23 16:25:06 -08:00
Joel Einbinder
8ef6cb731e
feat(codegen): use the name attribute for more elements ( #5376 )
2021-02-23 16:24:45 -08:00
Joel Einbinder
74ae013d58
test(webkit); enable test to scroll twice ( #5550 )
2021-02-22 15:18:15 -08:00
Dmitry Gozman
b42c3690d3
fix(codegen): replace html lib with createElement ( #5531 )
...
We are not using html that much, since most of our UI moved
to the Recorder App. Getting rid of `innerHTML` assignment
fixes the TrustedTypes issue.
2021-02-22 11:38:49 -08:00
Andrey Lushnikov
6e61cde06e
test: add test to make sure that 'download' attr is respected ( #5538 )
...
References #5537
Fixes #5396
2021-02-22 09:02:50 -08:00
Pavel Feldman
6ec77dca9d
fix(inspector): fix the wait for event error rendering ( #5517 )
2021-02-20 14:36:19 -08:00
Pavel Feldman
600f731a67
feat(inspector): render api names from metainfo ( #5530 )
2021-02-19 18:12:33 -08:00
Andrey Lushnikov
57c7a703ca
test: mark test as "fixme" on chromium ( #5524 )
...
References #5523
2021-02-19 13:50:34 -08:00
Zev Isert
cbcc609fa1
fix: return non-secure cookies with HTTPS URLs ( #5507 )
...
Cookies have a "Secure" attribute which tells the browsers
that a given cookie should only be sent via HTTPS. In it's
absense "Secure" is falsy and these cookies should be sent
with both HTTP and HTTPS requests. Playwright now returns
only the "Non-Secure" cookies for HTTP URLs, and both
"Secure" and "Non-Secure" cookies for HTTPS URLs.
Fixes #5504
2021-02-19 11:50:59 -08:00
Andrey Lushnikov
a9c91b0703
test: fix test sanitization ( #5515 )
...
This was regressed in https://github.com/microsoft/playwright/pull/5502
Three pause tests are broken: https://devops.aslushnikov.com/flakiness2.html#timestamp=1613756319661
2021-02-19 10:54:05 -08:00
Pavel Feldman
bb2b29631a
feat(inspector): pause on page/context close ( #5319 )
2021-02-19 09:33:24 -08:00
Joel Einbinder
a9faa9c941
test(webkit): add new scrolling tests to ensure correct webkit behavior ( #5496 )
2021-02-18 13:29:56 -08:00
Pavel Feldman
15833ee039
feat(inspector): render params and durations in log ( #5489 )
2021-02-17 22:10:13 -08:00
Pavel Feldman
3248c2449c
feat(inspector): collapse completed items ( #5484 )
2021-02-17 17:28:02 -08:00
Dmitry Gozman
dc51536bca
feat(waitForResponse): print regex pattern when waiting for request/response ( #5485 )
2021-02-17 15:11:23 -08:00
Pavel Feldman
b2227c1bcf
feat(inspector): allow selecting file ( #5483 )
2021-02-17 14:05:41 -08:00
Pavel Feldman
30e68f6d1f
chore: simplify code generation ( #5466 )
2021-02-16 18:13:26 -08:00
Andrey Lushnikov
b6bd7c0d6a
feat(chromium): roll Chromium to r851527 ( #5434 )
...
Fixes #5197
2021-02-16 14:21:47 -08:00
Andrey Lushnikov
6b40d75d03
fix: allow setting input files for detached <input> elements ( #5467 )
...
Fixes #5403
2021-02-16 10:22:46 -08:00
Andrey Lushnikov
d0352cfb71
feat(firefox): roll Firefox to r1230 ( #5473 )
...
References #4987
2021-02-16 09:23:02 -08:00
Pavel Feldman
0c7da44465
test(inspector): add some tests ( #5461 )
2021-02-15 08:32:13 -08:00
Dmitry Gozman
1f3449c7da
fix(download): do not stall BrowserContext.close waiting for downloads ( #5424 )
...
We might not ever get the "download finished" event when closing the context:
- in Chromium, for any ongoing download;
- in all browsers, for failed downloads.
This should not prevent closing the context. Instead of waiting for the
download and then deleting it, we force delete it immediately and reject
any promises waiting for the download completion.
2021-02-14 16:46:26 -08:00
Pavel Feldman
8b9a2afd3d
feat(inspector): render errors ( #5459 )
2021-02-13 22:13:51 -08:00
Pavel Feldman
0782b25272
test: fix recorder downloads test ( #5454 )
2021-02-12 20:26:22 -08:00
Pavel Feldman
3c877374c7
feat: add replay log ( #5452 )
2021-02-12 18:53:46 -08:00
Pavel Feldman
aef052aecc
chore: pause on input in pwdebug mode ( #5427 )
2021-02-12 10:11:30 -08:00
Dmitry Gozman
3e7b8e3d74
test: add basic end-to-end driver test ( #5426 )
...
- Introduce internal "out of process" start()/stop() mode.
- This mode is used both in regular tests and installation tests.
- Emulate basic driver installation, browser download and running.
2021-02-12 09:05:32 -08:00
Pavel Feldman
449adfd3ae
chore(recorder): move recording output into the gui app ( #5425 )
2021-02-11 17:46:54 -08:00
Dmitry Gozman
99f8e1cf63
docs: document Android and friends ( #5415 )
...
These are experimental, currently available through `_android`.
2021-02-11 10:31:57 -08:00
Joel Einbinder
d8f637c239
chore(typescript): enable esModuleInterop ( #5409 )
2021-02-11 06:36:15 -08:00
Pavel Feldman
6576bd8b31
chore: move before/after action instrumentation into dispatcher ( #5416 )
2021-02-10 21:55:46 -08:00