Pavel Feldman
96b2247e28
chore: allow marking scripts as external for transform ( #23449 )
...
Fixes https://github.com/microsoft/playwright/issues/22874
2023-06-01 20:28:49 -07:00
Andrey Lushnikov
5cd271a2a7
docs: add option clarifications ( #23384 )
...
Fixes https://github.com/microsoft/playwright/issues/23355
2023-05-30 17:19:48 -07:00
Max Schmitt
d6e24fafe8
docs: specify assertion timeout type ( #23333 )
...
Fixes https://github.com/microsoft/playwright-dotnet/issues/2589
2023-05-30 18:13:14 +02:00
Dmitry Gozman
ab7e794bf7
feat(shard): introduce mode: 'default'
( #23023 )
...
This mode allows a suite to opt-out from parallelism. Useful to setup
multiple suites running in parallel, with each suite not being sharded.
References #22891 .
2023-05-18 13:07:22 -07:00
Pavel Feldman
3395a28181
chore: opt out of trace attachments ( #23139 )
...
Fixes: https://github.com/microsoft/playwright/issues/23137
2023-05-18 11:27:45 -07:00
Dmitry Gozman
fc2e0e76bd
feat(teardown): allow the same project to be a teardown for multiple ( #23074 )
2023-05-16 18:26:06 -07:00
Max Schmitt
89f1940509
chore: be able to hide webServer stderr ( #23063 )
...
Follow-up to https://github.com/microsoft/playwright/pull/22564 .
2023-05-17 00:46:59 +02:00
Pavel Feldman
c9d5b05440
docs: document subdomain cookie matching ( #23007 )
...
Fixes https://github.com/microsoft/playwright/issues/22977
2023-05-12 19:15:51 -07:00
Dmitry Gozman
44a934c160
feat(test runner): support .cjs
and .cts
files ( #22971 )
...
Fixes #22579 .
2023-05-11 15:41:50 -07:00
Debbie O'Brien
7a8eb15820
docs: add titles to config snippets ( #22910 )
...
Docs PR: https://github.com/microsoft/playwright.dev/pull/1039
---------
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-10 18:38:12 +02:00
Dmitry Gozman
dbb218a9d5
feat: project.teardown
that runs after all dependents have finished ( #22696 )
...
This replicates globalTeardown in the deps world.
Fixes #21914 .
2023-04-28 14:27:08 -07:00
Max Schmitt
7b27d70d8a
feat(web-server): add stdout: "pipe"|"ignore" option ( #22564 )
...
Fixes https://github.com/microsoft/playwright/issues/22454
2023-04-26 23:39:42 +02:00
Pavel Feldman
a1007bbe2c
chore: introduce expect.configure ( #22533 )
2023-04-25 10:29:56 -07:00
Pavel Feldman
ba8aed9dea
chore: move mount implementation to ct-core ( #22506 )
2023-04-19 15:32:33 -07:00
mindaugasm
be79ee0450
feat(html-report): add attachmentsBaseURL option ( #22212 )
...
Fixes https://github.com/microsoft/playwright/issues/21636
2023-04-18 11:25:11 -07:00
Debbie O'Brien
3a0f49acab
docs: add options snippets to api docs ( #22098 )
2023-04-18 19:04:13 +02:00
Debbie O'Brien
d9e7a4fffd
docs: remove test advanced guide ( #22028 )
2023-04-18 10:47:32 +02:00
Dmitry Gozman
bf661535a6
fix(testMatch): do not count test.ts
and spec.ts
as test files by default ( #22440 )
2023-04-17 12:57:33 -07:00
Valentín Costa
93e020d483
docs(class-test.md): add missing R in the word returned ( #22252 )
2023-04-07 13:57:28 -07:00
Sander
cea382015f
chore(ct): rename component.d.ts ( #22234 )
2023-04-06 08:40:49 -07:00
Sander
789d8b24c0
chore(ct): dedupe json object ( #22138 )
2023-04-05 13:10:00 -07:00
Johannes Loher
bd698efaef
fix(webServer): follow relative redirects when checking the url ( #22035 )
...
Fixes https://github.com/microsoft/playwright/issues/22144
2023-04-05 10:39:35 +02:00
Pavel Feldman
f8f9ee6a25
chore: introduce Reporter.onExit ( #22176 )
...
Fixes https://github.com/microsoft/playwright/issues/22173
2023-04-04 10:50:40 -07:00
MarcNum
fbdafc5fe3
feat: Adding trace option 'on-all-retries' ( #21985 )
...
Fixes : #21860
2023-03-31 13:04:24 -07:00
Sander
b9f7cca0aa
fix(ct): optional hooks config type ( #22100 )
2023-03-30 21:09:05 -07:00
Debbie O'Brien
2c9d65b5ed
docs: change port to url ( #22029 )
2023-03-30 15:18:59 +02:00
Yury Semikhatsky
026e49b076
chore: add snippet to the error message ( #21991 )
2023-03-29 14:07:14 -07:00
Dmitry Gozman
6929214dbf
feat(expect): expect(locator).toBeAttached() ( #22067 )
...
Fixes #13467 .
2023-03-29 11:09:17 -07:00
Dmitry Gozman
47e5c02a21
fix(test runner): update default testMatch ( #22006 )
...
The intent of default test match is allowing `example.spec.ts` and
`example.test.ts` files. However, it was also matching `test.example.ts`
that should not be considered a test by default.
Fixes #21979 .
2023-03-27 14:28:44 -07:00
Sébastien Richert
591e4ea976
feat: Restrain sending http credentials on a specific origin ( #20374 )
...
For security purpose, we would like to restrain sending HTTP credentials
to only the specified server. The idea is to give the ability to specify
a origin (scheme://host:port) additionally to current pair
username/password. When an authorization response is received from
servers, the credentials are sent only if the server origin in the
request matches case insensitive the specified origin.
2023-03-27 08:52:00 -07:00
Yury Semikhatsky
95e7d3aabc
chore: hide store from public ( #21763 )
2023-03-17 11:50:44 -07:00
Dmitry Gozman
2074a51299
docs: fix details about WorkerInfo vs TestInfo availability ( #21699 )
...
Fixes #21695 .
2023-03-16 12:36:34 -07:00
Max Schmitt
3ceac4bf53
docs: drop duplicate JS code snippets from test-api ( #21466 )
...
https://github.com/microsoft/playwright/issues/21385
2023-03-16 19:01:15 +01:00
Pavel Feldman
27048adebe
chore: introduce testInfo.testId ( #21670 )
2023-03-14 15:58:55 -07:00
Max Schmitt
c9eac69f2b
fix(types): accept string in expect().toMatch() ( #21454 )
...
Fixes https://github.com/microsoft/playwright/issues/21453
2023-03-07 17:53:50 +01:00
Sander
d58d833daf
fix(ct): solid and react JS as child ( #20125 )
2023-03-02 13:40:51 -08:00
Pavel Feldman
e222874445
chore: ui mode first cut ( #21291 )
2023-03-01 15:27:23 -08:00
Gonçalo Basto
7c6630b1a2
docs: add custom reporter options documentation ( #21144 )
2023-02-24 12:29:08 +01:00
Max Schmitt
1432c406ad
docs: fix toMatch code snippet typo ( #21077 )
...
Fixes https://github.com/microsoft/playwright/issues/21014
2023-02-22 00:38:30 +01:00
Dmitry Gozman
55f4b670a9
fix(test runner types): allow sync step functions ( #20996 )
2023-02-17 14:26:40 -08:00
Yury Semikhatsky
09be9d6425
feat: key value store backed by filesystem ( #20932 )
...
Keys are used as a relative file path without any sanitization assuming
that the underlying fs will throw on error.
2023-02-16 16:48:28 -08:00
Dmitry Gozman
0b7f9055a3
chore: fix docs for python and java ( #20962 )
2023-02-16 11:48:38 -08:00
Dmitry Gozman
ffc2477a00
chore: 1.31 release notes for js ( #20933 )
2023-02-16 09:35:01 -08:00
Yury Semikhatsky
90c4e6f9b2
chore: revert sharded html report ( #20923 )
...
We've decided not to ship it in the current form.
#10437
2023-02-15 12:38:03 -08:00
Andrey Lushnikov
72942e81d5
chore: fixes to toBeInViewport ( #20870 )
2023-02-13 15:21:40 -08:00
Andrey Lushnikov
fdcd7b549d
chore: mark comparator
option back as experimental ( #20816 )
...
This reverts commit 303c5998f8
.
Reason for revert: I tried enabling `ssim-cie94` by default on
ionic-framework test suite, and it proves to be overly strict for their
usecase.
2023-02-13 11:11:44 -08:00
Andrey Lushnikov
68e170ef89
feat: implement expect(locator).toBeInViewport() ( #20668 )
...
The method accepts a `ratio` option to assert the ratio
of the element in viewport. `ratio` defaults to `Number.MIN_VALUE`.
NOTE: this reverts commit d950f5b6ee
and
adds `ratio` option support + does the rename.
Fixes #8740
2023-02-10 04:33:22 -08:00
Dmitry Gozman
778dd20403
chore(docs): beautify generated types, put options always last ( #20805 )
2023-02-09 20:46:33 -08:00
Sander
4a3d79f291
chore(ct): improve internal hook types ( #20722 )
2023-02-09 08:58:15 -08:00
Dmitry Gozman
98e2fe184e
chore(docs): sort members instead of validating ( #20755 )
2023-02-08 09:59:31 -08:00