Commit graph

1510 commits

Author SHA1 Message Date
Pavel Feldman bf36b487fc
fix(rimraf): allow 10 retires when removing the profile folder (#5826) 2021-03-16 19:31:35 -07:00
Andrey Lushnikov d1a3a5d589
chore: cleanup test logging on CI (#5848) 2021-03-16 17:25:59 -07:00
Pavel Feldman 5cf13612cf
chore: pretty print storage state (#5830) 2021-03-15 19:03:09 -07:00
E 095ad6339c
chore: update error message when using userDataDir arg (#5814) 2021-03-15 16:58:46 -07:00
Pavel Feldman ea32ad2b09
infra(channel): add edge stable bot (#5825) 2021-03-15 16:00:52 -07:00
Joel Einbinder defd1a33be
fix(chromium): fix crash if connecting to a browser with a serviceworker (#5803) 2021-03-15 09:50:17 -07:00
Pavel Feldman 1dd6bd3316
infra(channel): wire release channel to all tests (#5820) 2021-03-15 08:07:57 -07:00
Pavel Feldman a96d6a7dbb
feat: allow to pick stable channel (#5817) 2021-03-13 14:02:39 -08:00
Pavel Feldman c4578f19f2
chore: organize per-browser dependencies (#5787) 2021-03-11 20:22:50 -08:00
Dmitry Gozman b01f6ec9e8
test: add a test for css selector being relative to the root handle (#5789) 2021-03-10 17:15:19 -08:00
Pavel Feldman fea6669473
feat(trace): highlight action target (#5776) 2021-03-10 11:43:26 -08:00
Pavel Feldman 7fa59f6d94
infra(stable): add chrome stable bot (#5768) 2021-03-09 19:19:21 -08:00
Yury Semikhatsky 13977301fd
test: click links in shadow dom (#5773) 2021-03-09 16:28:09 -08:00
Pavel Feldman 1d6feb2ab8
fix(inspect): highlight on explore input change (#5726) 2021-03-09 07:44:10 -08:00
Pavel Feldman 1a94ea5f6c
chore: refactor trace viewer to reuse snapshot storage (#5756) 2021-03-08 19:49:57 -08:00
Pavel Feldman 53a62a3af8
test: add post data test with PUT request (#5745) 2021-03-06 07:15:02 -08:00
Pavel Feldman 9e20566244
fix(postData): do not require content type when retrieving post data (#5736) 2021-03-05 21:25:14 -08:00
Joel Einbinder 8ed49622a2
test(downloads): make logging only show up on CI (#5732) 2021-03-05 14:39:28 -08:00
Yury Semikhatsky 976f35aaf7
fix: update codegen to produce set* instead of with* (#5738) 2021-03-05 14:05:48 -08:00
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