Stuart Lang
eba2bdffb9
docs: fix typo: surved -> served ( #15105 )
2022-06-24 15:06:57 +02:00
Yury Semikhatsky
997aac59ff
docs: recordHar content and mode options for language ports ( #15097 )
2022-06-23 18:55:15 -07:00
Jeff Astor
1015fd37f0
docs(api testing): fix typo ( #15096 )
2022-06-23 17:36:11 -07:00
Andrey Lushnikov
6fab9d4044
docs: add release notes for 1.23 javascript ( #15090 )
2022-06-23 16:02:53 -07:00
Pavel Feldman
7bd72716f9
feat(har): introduce the slim mode ( #15053 )
2022-06-22 14:44:12 -07: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
Pavel Feldman
9525bedc1f
feat(har): re-add routeFromHAR ( #15024 )
2022-06-21 22:12:37 -07:00
Dmitry Gozman
c02e165eb6
fix(test runner): toHaveScreenshot should not overwrite matching expectations ( #15028 )
...
Even in the `--update-snapshots` mode we should keep existing files if
they are matching under the threshold, to avoid needless churn.
2022-06-21 18:01:25 -07:00
Pavel Feldman
c0ea28d558
docs: nuke api reference from test assersions
2022-06-21 10:55:32 -07:00
Max Schmitt
3a61938628
chore: mark 1.24-next ( #14857 )
2022-06-21 19:32:15 +02:00
Ross Wollman
0f8114f6a8
docs: replace serviceWorkers workaround ( #14902 )
2022-06-20 19:31:19 -07:00
Jye Ruey
db9ff4b7c9
docs: update page object model example ( #14917 )
2022-06-20 19:08:57 -07:00
Bill Brower
21c510ee0d
chore(cli): add example for running tests against a project ( #14926 )
2022-06-20 19:08:18 -07:00
Kaspar Emanuel
42e6e094ca
docs: fix chrome extension examples ( #14968 )
2022-06-20 19:04:34 -07:00
Pavel Feldman
5e6b493bc9
doc(har): add more details into the har doc ( #14998 )
2022-06-20 17:54:39 -07:00
Dmitry Gozman
45ec2d0825
docs: explain how to test multiple users in the same test ( #14875 )
2022-06-20 16:05:43 -07:00
Dmitry Gozman
e3da3ebfa4
feat(har): do not expose HAR types, remove HARResponse fulfill ( #14992 )
2022-06-20 15:19:54 -07:00
Dmitry Gozman
5397394653
feature(har): add testOptions.har ( #14991 )
...
Can now be used with `test.use({ har })`.
Also added more tests for latest har features.
2022-06-20 13:37:31 -07:00
azad-derakhshani-GS
5b1211b37d
docs(test-advanced): fix various typos ( #14932 )
2022-06-20 20:18:42 +02:00
Pavel Feldman
be64e9ce66
chore(har): attach resources for .zip hars ( #14938 )
2022-06-16 18:27:25 -07:00
Pavel Feldman
245c33a5d4
feat(har): allow storing content as separate files ( #14934 )
2022-06-16 16:33:32 -07:00
Dmitry Gozman
cddf3293cf
docs: mention chaining in locator.filter ( #14920 )
2022-06-16 10:05:30 -07:00
Stephen Kilbourn
9c996b2876
docs(test-advanced): add instructions for tracing during global setup ( #14891 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-06-16 18:45:14 +02:00
Yury Semikhatsky
b88c89548e
docs: update har options for non-js ports ( #14899 )
2022-06-15 16:57:42 -07:00
Yury Semikhatsky
4ea0ac1861
docs: update network guide on replaying from har ( #14898 )
2022-06-15 16:53:48 -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
Ross Wollman
1ed2e46f07
docs: recordHar.urlFilter for non-js clients ( #14894 )
2022-06-15 15:40:21 -07:00
Yury Semikhatsky
a422c77f2b
docs: update network guide to use routeFromHar ( #14887 )
2022-06-15 09:33:19 -07:00
Yury Semikhatsky
df63ae9dce
docs: update strict routeFromHar default value ( #14886 )
2022-06-15 09:32:40 -07:00
Ross Wollman
112a18e083
docs: document new webServer "ready" status codes ( #14885 )
...
Sync docs with implementation introduced via 30f3d526eb
2022-06-15 09:00:29 -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
marlowl
9d9b5d13be
docs(class-testconfig.md): remove trailing devices reference ( #14867 )
2022-06-14 13:25:06 -07:00
Pavel Feldman
9cf068ad06
feat(fallback): allow falling back w/ overrides ( #14849 )
2022-06-13 17:56:16 -07:00
Dmitry Gozman
324cdcd874
docs: warn about problematic usages of layout selectors ( #14850 )
2022-06-13 17:44:53 -07:00
Ross Wollman
61536098be
docs: fix serviceWorkers formatting ( #14845 )
2022-06-13 15:18:24 -07:00
Pavel Feldman
dcdd3c3cdb
feat(route): explicitly fall back to the next handler ( #14834 )
2022-06-13 12:30:51 -07:00
Pavel Feldman
76abb3a5be
chore: unify tab generation ( #14802 )
2022-06-10 17:34:31 -07:00
Yury Semikhatsky
5617e5c613
docs: route.har options for non-js clients ( #14804 )
2022-06-10 16:53:01 -07:00
Yury Semikhatsky
e94ec8a85f
docs: fix toHaveValues param type for java and .net ( #14803 )
2022-06-10 16:34:56 -07:00
Dmitry Gozman
f486760229
docs: add a guide for HAR record/replay ( #14800 )
2022-06-10 15:32:03 -07: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
Sergio Freire
060cd9d97c
feat(junit reporter): link testcases to Xray test issues and provide additional metadata for Xray Test Management ( #11374 )
...
Co-authored-by: Sergio Freire <sergio.freire@xpand-it.com>
2022-06-10 10:31:48 +02:00
Meir Blachman
531bdb2493
docs: update showcase playwright-go git url ( #14780 )
2022-06-10 10:09:11 +02:00
Max Schmitt
3853014fa7
chore: add ubuntu 22 support ( #14588 )
2022-06-09 13:20:18 +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
Ross Wollman
85d03714d9
feat: add allow/block serviceWorkers option ( #14714 )
...
Adds cross-browser support for easily allowing/blocking Service Workers via a Context option.
Includes plumbing for Playwright Test's `use`.
Resolves #14522 .
Relates #1090 .
Supercedes #14321 .
2022-06-08 18:27:51 -04:00
Ross Wollman
fccee89b41
feat: add Response.fromServiceWorker flag ( #14715 )
...
Resolves #14666 .
Relates #1090 .
Supercedes #14321 .
2022-06-08 17:34:19 -04:00
Max Schmitt
f7f44d4fd8
docs: move cli install-deps under install browsers ( #14700 )
2022-06-08 15:13:33 +02:00
Dmitry Gozman
fdcdd58d7f
feat(har): introduce urlFilter ( #14693 )
...
This is a glob or regex pattern that filters entries recorder in the HAR.
2022-06-07 18:09:47 -07:00