Dmitry Gozman
f87e64544c
feat(testrunner): introduce environments ( #1593 )
2020-04-01 10:49:47 -07:00
Dmitry Gozman
a7b61a09be
fix(text selector): by default, do a substring match ( #1618 )
2020-03-31 23:04:04 -07:00
Yury Semikhatsky
1da2141acc
browser(firefox): delete Browser.setIgnoreHTTPSErrors ( #1616 )
2020-03-31 22:44:09 -07:00
Yury Semikhatsky
4ac98daa3c
browser(firefox): set ignoreHTTPSErrors per context ( #1614 )
...
28fc96628e
2020-03-31 17:32:50 -07:00
Yury Semikhatsky
2ce85f9016
Revert "browser(firefox): instrument all windows, support silent mode… ( #1615 )
2020-03-31 17:20:08 -07:00
Joel Einbinder
6053784188
feat: add missing slowMo to launchPersistentContext ( #1597 )
...
`slowMo` was missing in `launchPersistentContext`, and I refactored the types a bit.
2020-03-31 16:34:59 -07:00
Joel Einbinder
a853690c16
fix(types): don't export derived types ( #1598 )
...
I was playing around today with different ways of changing the way we export types for #1439 . I looked at only exporting 'Parameter' types, only exporting 'Return' types, only exporting a manual list of 'important' types. They all had different pros and cons, and it was very difficult to settle on a good answer.
For now, let's not export any parameter/return types. We can whitelist some types upon user request. I'm thinking `LaunchOptions` and `AccessibilitySnapshot` could be quite useful. We can always add new types after 1.0, but we can't remove them.
The patch looks funny because this was my original intent for the types, but I didn't know I had to `export {}` to tell typescript that my .d.ts shouldn't export everything.
2020-03-31 16:19:20 -07:00
Joel Einbinder
9e85f8d856
chore(waitForEvent): refactor waitForEvent into a single implementation ( #1602 )
...
Moves the `waitForEvent` implementation into an `ExtendedEventEmitter` class.
This is step one if we want to add `waitForEvent` to `Worker`, `Browser`, and `BrowserServer` objects. All of these only have a 'close' event, but I still feel we should be consistent with our event emitters.
2020-03-31 16:18:49 -07:00
Dmitry Gozman
314eb40a13
browser(firefox): instrument all windows, support silent mode ( #1612 )
...
Includes 4b00d5dd71
and `playwright.cfg` change.
2020-03-31 16:16:44 -07:00
Joel Einbinder
34610f23f2
chore(tests): use public types for the tests ( #1600 )
...
Using the public types in our test will help us dogfood them. Typechecking isn't enabled yet, but I am working on it.
2020-03-31 15:43:20 -07:00
Arjun Attam
2402aade78
docs(api): elaborate on fill vs type ( #1608 )
2020-03-31 13:42:07 -07:00
Pavel Feldman
dd4fe906d9
feat(webkit): roll WebKit to r1185 ( #1611 )
2020-03-31 13:36:43 -07:00
Yury Semikhatsky
d0073ef9e5
chore(firefox): update cheatsheet with logging instructions ( #1609 )
2020-03-31 13:23:35 -07:00
Pavel Feldman
307b33ab7d
feat(chromium): roll to r754895 ( #1610 )
2020-03-31 13:23:08 -07:00
Joel Einbinder
92c5ab3b7e
fix(types): correctly infer type in $eval and $$eval ( #1603 )
2020-03-31 13:22:38 -07:00
Joel Einbinder
08aebc72fa
fix(types): add types for waitForEvent ( #1601 )
2020-03-31 09:17:54 -07:00
Joel Einbinder
13a6c89dee
fix(test): actually test if page.waitFor accepts arguments ( #1599 )
2020-03-31 09:13:44 -07:00
Pavel Feldman
a2e1d4c29d
browser(webkit): implement support for downloads ( #1596 )
2020-03-30 19:26:05 -07:00
Andrey Lushnikov
950d427927
fix: catch websocket error events ( #1595 )
2020-03-30 18:18:38 -07:00
Andrey Lushnikov
eabba567bc
docs(api.md): clarify jshandle.getProperties()
method ( #1594 )
...
Fixes #1592
2020-03-30 16:16:28 -07:00
Yury Semikhatsky
43b91e6930
browser(firefox): implelemt timezone overrides ( #1577 )
2020-03-30 15:05:46 -07:00
Joel Einbinder
d130479e3c
feat(webkit): roll webkit to 1184 ( #1570 )
2020-03-30 14:49:40 -07:00
Dmitry Gozman
fdc36125be
browser(firefox): refactor targets/contexts/dispatching ( #1590 )
2020-03-30 13:57:12 -07:00
Pavel Feldman
1f08b72a27
test: add web socket leak test coverage ( #1586 )
2020-03-30 13:49:52 -07:00
Joel Einbinder
31f186cc3d
fix(browserFetcher): support macos 10.13 for firefox and chromium ( #1549 )
...
I don't have a macos 10.13 build to test on, and we aren't set up to compile it for WebKit. However there is a good chance this will work for Chromium and Firefox.
I also improved the error message received when on an unsupported platform.
#1535
2020-03-30 13:25:20 -07:00
Max Schmitt
d9c064bbab
docs(showcases): fixed dead link to e2e boilerplates ( #1591 )
...
Closes #1589
2020-03-30 11:53:15 -07:00
Stuart Lang
a007caef5c
Fixed small typos ( #1588 )
2020-03-30 09:03:13 -07:00
Dmitry Gozman
b6166c9669
chore(testrunner): introduce Location class ( #1585 )
...
Drive-by: fix an edge when testing continued after termination.
2020-03-29 21:38:30 -07:00
Dmitry Gozman
c49b856d6d
chore(testrunner): remove setup() helper ( #1584 )
2020-03-29 11:37:45 -07:00
Dmitry Gozman
a41836b1f1
chore(testrunner): introduce TestRun ( #1582 )
2020-03-28 14:25:57 -07:00
Pavel Feldman
5499b1844d
feat(websocket): wrap firefox web socket too ( #1580 )
2020-03-28 10:14:59 -07:00
Dmitry Gozman
b85ab891a1
chore(testrunner): make most modifiers external ( #1581 )
2020-03-28 08:49:00 -07:00
Dmitry Gozman
4bd46bafa9
feat(testurnner): allow multiple hooks isntances and per-test hooks ( #1571 )
2020-03-27 22:57:22 -07:00
Dmitry Gozman
6503c83302
fix(install): speculative fix for generateChromiumProtocol ( #1583 )
2020-03-27 22:42:39 -07:00
Dmitry Gozman
f72b6b4778
test: try to unflake fixtures tests ( #1574 )
2020-03-27 20:29:24 -07:00
Pavel Feldman
b4a20140a2
test: add failing FF test around ignore https ( #1576 )
2020-03-27 17:21:44 -07:00
Pavel Feldman
6903496f2d
fix(build): generate protocol in chromium ( #1579 )
2020-03-27 17:11:54 -07:00
Dmitry Gozman
a042466125
chore(testrunner): remove effectiveMode and effectiveExpectation ( #1569 )
2020-03-27 15:35:14 -07:00
Pavel Feldman
48516ed7ed
feat(websocket): use proxy web socket on chromium ( #1573 )
2020-03-27 15:18:34 -07:00
Pavel Feldman
4e89939ece
chore: do not try/catch buffer.concat ( #1575 )
2020-03-27 15:16:17 -07:00
Joel Einbinder
e796bfd815
browser(webkit): do not apply platform filters to accessibility snapshot ( #1528 )
...
This will fix the "should work with regular text" accessibility test that current fails on webkit+linux.
2020-03-27 00:50:25 -07:00
Pavel Feldman
00cb4e370f
chore: move transport to object messages ( #1567 )
2020-03-26 23:30:55 -07:00
Dmitry Gozman
af7a16c360
chore(testrunner): merge test spec with test, suite spec with suite ( #1566 )
2020-03-26 22:47:13 -07:00
Dmitry Gozman
72ae3a9165
feat(firefox): emulate device size ( #1565 )
2020-03-26 21:40:38 -07:00
Dmitry Gozman
3535a829a3
browser(firefox): emulate device size ( #1561 )
2020-03-26 18:42:21 -07:00
Andrey Lushnikov
f503672e5f
test(firefox): enable configurable args test ( #1564 )
...
This was fixed with 9d0f465ebe
2020-03-26 18:27:35 -07:00
Yury Semikhatsky
59fa2cba90
test(firefox): enable locale tests ( #1562 )
2020-03-26 18:14:38 -07:00
Yury Semikhatsky
4826b3aca5
browser(firefox): make locale override apply to Number/Date formatting ( #1560 )
2020-03-26 16:33:07 -07:00
Dmitry Gozman
b473d9dcf7
chore(firefox): remove FFPage._initialize to ensure early initialization ( #1554 )
2020-03-26 16:13:11 -07:00
Dmitry Gozman
f420cbb528
test: fix race in 'should respect routes from browser context' test ( #1559 )
...
We should await the popup, otherwise there is no guarantee that
request has already happened.
2020-03-26 15:55:01 -07:00