Max Schmitt
421872f130
test: rewrite 'should fulfill json' test ( #23735 )
2023-06-15 18:46:19 +02:00
Max Schmitt
3c2a8fa306
chore: enable no-floating-promises ESLint rule for tests ( #23376 )
...
https://github.com/microsoft/playwright/issues/23339
2023-06-02 21:59:12 +02:00
Dmitry Gozman
edfff8cd8c
test: run more tests in 'service' mode ( #20734 )
2023-02-07 18:25:33 -08:00
Dmitry Gozman
821949d580
test: update stale test expectations ( #20423 )
2023-01-27 21:52:34 -08:00
Playwright Service
00edf587d5
feat(webkit): roll to r1773 ( #20342 )
...
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2023-01-25 10:03:50 +01:00
Pavel Feldman
f0e8d8f074
feat(api): introduce route.fetch and route.fulfill(json) ( #19184 )
2022-11-30 17:26:19 -08:00
Pavel Feldman
df143031e7
chore: move protocol and trace types into the top-level packages ( #17486 )
2022-09-20 18:41:51 -07:00
Yury Semikhatsky
990167124f
test: enable link preload interception test ( #16935 )
2022-08-30 17:30:01 -07:00
Yury Semikhatsky
077b8a9289
test: link preload interception ( #16908 )
2022-08-30 10:35:55 -07:00
Max Schmitt
9795a4ba60
test: mark again some Android tests as fixme
2022-08-03 10:51:45 +02:00
Max Schmitt
a2fc636f8e
test: unskip working Android tests ( #16171 )
2022-08-02 22:51:10 +02:00
Max Schmitt
6482ff7a7f
chore: roll Electron to 16.2.8 ( #16017 )
2022-07-28 15:41:32 +02:00
Dmitry Gozman
033c250f6d
fix(har): remove types/har.d.ts, update har.ts per spec ( #15046 )
...
Drive-by: typo fix in `notFound` option name.
2022-06-22 12:16:29 -07:00
Dmitry Gozman
e3da3ebfa4
feat(har): do not expose HAR types, remove HARResponse fulfill ( #14992 )
2022-06-20 15:19:54 -07:00
Yury Semikhatsky
c349c1d57f
feat: newContext.har ( #14892 )
...
Replaced {Page,BrowserContext}.(un)routeFromHar with browser.newContext.har.
2022-06-15 16:35:44 -07:00
Yury Semikhatsky
259c8d64a5
feat: Page.routeFromHar ( #14870 )
2022-06-15 08:41:46 -07:00
Yury Semikhatsky
e00a26a11d
feat(route): fulfill with HARResponse ( #14865 )
2022-06-14 15:07:22 -07:00
Max Schmitt
e23960e8b2
test: make Electron bots green
2022-06-13 12:20:57 +02:00
Dmitry Gozman
7c0bff15ca
feat(fulfill): improve fulfilling from har ( #14789 )
...
- `har` option is now an object `{ path, fallback }`.
- Allows falling back to `abort()`, `continue()` or throwing.
- Matches based on url + method.
- Follows redirects in the HAR file.
- Nice error/stack when throwing.
- Tests.
2022-06-10 14:26:45 -07:00
Max Schmitt
98c34ac270
test: make Android green
2022-06-09 22:53:37 +02:00
Max Schmitt
b4c8db68d2
test: fix electron tests ( #14744 )
2022-06-09 14:54:51 +02:00
Dmitry Gozman
e975aef961
feat(route): fulfill from har ( #14720 )
...
feat(route): fulfill from har
This allows to use pre-recorded HAR file to fulfill routes.
2022-06-08 20:29:03 -07:00
Yury Semikhatsky
7ffce1da53
chore: remove PlaywrightClient and Docker factory ( #13571 )
2022-04-15 12:11:38 -07:00
Max Schmitt
a95d2320ad
test: mark failing android tests as fixme / fix them ( #12371 )
2022-02-25 22:56:51 +01:00
github-actions[bot]
c054d19a5d
feat(webkit): roll to r1562 ( #9476 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-10-14 02:00:25 +02:00
Max Schmitt
94680a702d
test: mark 'should fulfill with multiple set-cookie' as fixme on Electron
2021-10-12 10:59:39 +02:00
Pavel Feldman
e8fdbbfa03
api: alias Fetch as ApiRequest ( #9330 )
2021-10-05 18:53:19 -07:00
Yury Semikhatsky
0a7b54abc3
test: set content-type to make test pass ( #9331 )
2021-10-05 18:30:07 -07:00
Yury Semikhatsky
0469a7552b
fix(fetch): do not allow to call get/post with request ( #9326 )
2021-10-05 16:36:15 -07:00
Yury Semikhatsky
701a97beca
chore(fetch): unprefix _request and _newRequest ( #9325 )
2021-10-05 13:56:34 -07:00
Yury Semikhatsky
c516729544
fix(interception): make set-cookie work in chromium ( #9299 )
2021-10-04 13:19:05 -07:00
Yury Semikhatsky
1b4adfb916
fix(webkit): deduce response mime type from content-type ( #9264 )
2021-10-01 13:04:03 -07:00
Max Schmitt
1302e10637
test: fix 'should fulfill with fetch result and overrides' test ( #9252 )
2021-10-01 09:47:04 +02:00
Max Schmitt
cd22072685
chore: enable object-curly-spacing in ESLint ( #9168 )
2021-09-27 18:58:08 +02:00
Yury Semikhatsky
2380b07f30
feat(fetch): introduce FetchRequest.dispose, fulfill with global fetch ( #8945 )
2021-09-15 14:02:55 -07:00
Yury Semikhatsky
5141407c6b
fix(fetch): prefix request with underscore ( #8922 )
2021-09-14 12:56:09 -07:00
Pavel Feldman
64f9c3ba1d
feat(api): move fetch api into the namespace ( #8871 )
2021-09-13 12:43:07 -07:00
Yury Semikhatsky
b6180055df
feat(fetch): make fetch api public ( #8853 )
2021-09-10 18:36:55 -07:00
Yury Semikhatsky
3c5d8ff18d
test: skip failing interception tests in Electron ( #8836 )
2021-09-10 09:33:12 -07:00
Yury Semikhatsky
5550f58284
feat(fetch): fetch with request parameter ( #8793 )
2021-09-08 16:31:58 -07:00
Yury Semikhatsky
b11b274b0d
feat(fetch): fulfill without passing fetch response body client<->server ( #8789 )
2021-09-08 14:59:12 -07:00
Yury Semikhatsky
a6740c852a
test: webkit linux fails to load application/octet-stream resource ( #8424 )
2021-08-24 17:34:29 -07:00
Dmitry Gozman
8b6b894dd8
test: prepare test to use options as passed ( #6557 )
...
This changes `headful` to `headless` to align with launch options.
Also replaces `isChromium` and friends with `browserName`.
2021-05-13 10:22:23 -07:00
Dmitry Gozman
217cbe3e21
test: cleanup bad usages of pageTest ( #6430 )
2021-05-06 07:08:22 -07:00
Dmitry Gozman
9433cae4fe
test: move all page tests to a subdirectory ( #6427 )
2021-05-05 19:10:28 -07:00