Max Schmitt
f5823786fd
docs: migrate to newer :::warning syntax ( #30089 )
...
- Migrate from `:::warning` to `:::danger[Warning]`.
- Migrate from `:::caution` to `:::warning`.
- `:::warning` and `:::caution` were the color same before.
- `:::caution` is deprecated and gets removed in v4 of Docusaurus
- Also migrate to the [newer title
syntax](3877c1254f/packages/docusaurus-utils/src/markdownUtils.ts (L86-L91)
)
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-03-25 19:22:15 +01:00
Max Schmitt
032f27ff84
docs: change if: always() to if: !cancelled() ( #30102 )
...
Fixes https://github.com/microsoft/playwright/issues/29451
See
https://github.com/microsoft/playwright/issues/29451#issuecomment-2008476721
for investigation.
2024-03-25 19:17:05 +01:00
Dmitry Gozman
95d649b406
feat: address api review feedback for 1.43 ( #30066 )
...
- Update docs for `trace: retain-on-first-failure`.
- Update docs for `devtools` option.
- Rename `Locator.enterFrame()` to `Locator.contentFrame()`.
- Rename `FrameLocator.exitFrame()` to `FrameLocator.owner()`.
2024-03-25 07:42:13 -07:00
Dmitry Gozman
9d40f619c4
feat: deprecate "devtools" launch option ( #30025 )
...
References #29899 .
2024-03-20 16:48:00 -07:00
Yury Semikhatsky
da2b099b5c
docs: note on locator handler trigger ( #30004 )
...
Fixes https://github.com/microsoft/playwright/issues/30003
2024-03-19 16:54:49 -07:00
Dmitry Gozman
70e6cdac57
feat: enterFrame/exitFrame ( #29992 )
...
This introduces `Locator.enterFrame()` and `FrameLocator.exitFrame()` to
convert between locator and frame locator.
Fixes #29336 .
2024-03-18 13:42:08 -07:00
Max Schmitt
5d0c61fa0c
docs: fix logger API usage ( #29961 )
2024-03-15 19:04:14 +01:00
Debbie O'Brien
1114c42e44
docs: add release video to release notes ( #29939 )
2024-03-14 15:45:26 +01:00
Dmitry Gozman
78b8aed4bd
docs: mark addLocatorHandler as experimental ( #29909 )
2024-03-12 12:02:25 -07:00
Dmitry Gozman
276ef5c19b
docs(auth): small note about UI mode ( #29887 )
...
Fixes #29846 .
---------
Signed-off-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-03-12 11:04:21 -07:00
Yury Semikhatsky
70f49f6ff1
docs: junit integration release notes ( #29885 )
2024-03-11 16:35:19 -07:00
Jean-François Greffier
8f4c2f714d
docs(java): update JUnit examples with new fixtures ( #29406 )
...
Documentation for JUnit integration aka JUnit fixtures
https://github.com/microsoft/playwright-java/issues/1369
2024-03-11 11:21:41 -07:00
Max Schmitt
d125ff4d39
docs: fix inconsistent .NET snippets ( #29831 )
2024-03-06 17:51:44 +01:00
Lukas Bockstaller
425f737eb6
feat: exposes tags in testInfo ( #29794 )
...
Fixes #29793 .
---------
Signed-off-by: Lukas Bockstaller <lukas.bockstaller@everest-erp.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-03-06 08:33:06 -08:00
Max Schmitt
a678561cda
docs(release-notes): fix wrong browser versions
2024-03-06 11:02:51 +01:00
Max Schmitt
b3edb2a130
docs: add release-notes for language bindings ( #29825 )
2024-03-06 10:47:04 +01:00
Max Schmitt
502d21e96a
docs: use relative links if possible ( #29823 )
2024-03-05 22:36:33 +01:00
Marco D'Agostini
d5d4f591f3
fix typo in docs: "toHaveScreeshot()" ( #29780 )
2024-03-02 17:00:16 -08:00
Jan Sepke
e83b4c25be
docs(test-snapshots-js.md): Add link to snapshotPathTemplate ( #29727 )
...
]
2024-03-02 07:28:45 -08:00
PaulTriandafilov
8e48ee714d
feat(playwright-core): add remove cookies api ( #29698 )
2024-03-02 07:27:01 -08:00
Dmitry Gozman
ba3d887660
docs: improve addLocatorHandler docs ( #29770 )
2024-03-01 11:19:37 -08:00
Elio Struyf
f4f26fdf7b
docs(reporters): added 3rd-party GitHub Actions Reporter ( #29728 )
2024-02-29 10:25:54 +01:00
Stevan Freeborn
52b803ecf5
feat(trace mode): add on-first-failure mode for traces ( #29647 )
...
Implements the changes suggested in #29531
2024-02-28 14:39:18 -08:00
Yury Semikhatsky
321e9d72c3
docs: better addLocatorHandler example in release notes ( #29692 )
2024-02-27 10:29:49 -08:00
Pavel Feldman
9d0430fa26
chore: strengthen linting ( #29669 )
2024-02-26 16:52:28 -08:00
Yury Semikhatsky
77e1b02552
docs: 1.42 release notes ( #29666 )
2024-02-26 16:34:19 -08:00
Yury Semikhatsky
c1421bc9f2
docs: typescript compiler invocation before tests ( #29667 )
...
Fixes https://github.com/microsoft/playwright/issues/29618
2024-02-26 15:26:05 -08:00
Simon Knott
c5af51c59d
docs(intro): fix grammar mistake in docs ( #29659 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
2024-02-26 15:19:27 +01:00
Max Schmitt
adccd39b01
docs(dotnet): type specific addLocatorHandler handler ( #29586 )
2024-02-22 23:53:09 +01:00
Simon Willison
e846afeb98
docs(python): Clarify Pytest v.s. Library on Python intro page ( #29590 )
2024-02-22 09:27:41 +01:00
Yury Semikhatsky
9a1e0a8ff7
docs: custom reporter path in --reporter option ( #29585 )
...
Fixes https://github.com/microsoft/playwright/issues/29525
2024-02-20 13:32:53 -08:00
Jan Lelis
3f46ba0680
docs(auth): Fix double use of JSON.stringify
in Session storage example ( #29554 )
2024-02-20 19:57:44 +01:00
Yury Semikhatsky
f3fde992eb
chore: remove --project-grep, add wildcard support ( #29537 )
...
Reference #15128
2024-02-16 19:18:00 -08:00
Dmitry Gozman
bd5403dcad
chore: remove --tag
and tagFilter
( #29468 )
...
This makes new tags filtered by the `grep`. New `TestCase.tags` API now
includes both old and new tags.
2024-02-15 11:37:16 -08:00
Sylvain Finot
b11b118e02
feat(chromium): expose parameters to generate outline / tagged PDF ( #29494 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-02-15 17:28:04 +01:00
Yury Semikhatsky
edc1c13f31
docs: locator handler type should be Runnable in java ( #29503 )
2024-02-14 19:21:28 -08:00
Max Schmitt
93a2c00a1d
docs(webServer): add missing options ( #29490 )
2024-02-14 17:57:40 +01:00
Max Schmitt
ce5d970929
docs: make sure to await route.* methods ( #29489 )
...
Fixes https://github.com/microsoft/playwright/issues/29471
Follow-up on https://github.com/microsoft/playwright/pull/28745 .
2024-02-14 17:57:12 +01:00
Max Schmitt
918c26fa02
docs(other-locators): hide css:light selector engine ( #29491 )
...
https://github.com/microsoft/playwright/issues/29479
2024-02-14 08:49:42 -08:00
Brian Scramlin
2550ba3396
Update test-fixtures-js.md ( #29283 )
2024-02-13 11:28:34 -08:00
Max Schmitt
30557ed28c
fix(electron): stalling on delayed process close ( #29431 )
2024-02-13 10:25:46 +01:00
Yury Semikhatsky
7834beb932
chore: extract --project-grep option for matching with regex ( #29445 )
...
Reference https://github.com/microsoft/playwright/issues/15128
2024-02-10 11:19:00 -08:00
Dmitry Gozman
f0244b8a76
chore: rename handleLocator to addLocatorHandler ( #29443 )
2024-02-09 15:18:50 -08:00
Max Schmitt
abd8502490
devops: do not publish sha-X Docker images ( #29433 )
2024-02-09 09:07:10 -08:00
Dmitry Gozman
61955e55b1
fix(handleLocator): address API review feedback ( #29412 )
...
- docs improvements;
- `force: true` ignores `handleLocator`;
- wrapping an internal call;
- more test cases;
- `pw:api` log entries for this API.
2024-02-08 07:39:05 -08:00
Dmitry Gozman
3331a40647
feat(test runner): tags/annotations ( #29248 )
...
API changes:
- `test(title, details, body)` where details contain `tag` and
`annotation`.
- similar `details` property added to `test.skip`, `test.fail`,
`test.fixme`, `test.only`, `test.describe` and other `test.describe.*`
variations.
- `TestProject.tagFilter`/`TestConfig.tagFilter` that supports logical
tag expressions with `(`, `)`, `and`, `or` and `not`.
- `--tag` CLI option to filter by tags.
- New annotations are available in `TestInfo.annotations` and
`TestCase.annotations`.
- New tags are available in `TestCase.tags`.
Reporter changes:
- `json` reporter includes new tags in addition to old `@smoke`-style
tags. **Breaking**: tags are now listed with the leading `@` symbol.
- `html` reporter filters by old and new tags with the same `@smoke`
token.
Fixes #29229 , fixes #23180 .
2024-02-07 16:31:25 -08:00
Colin Harris
bb380691f0
docs: reference GitHub actions/checkout@v4 and actions/setup-node@v4 ( #29392 )
2024-02-07 09:50:09 +01:00
Dmitry Gozman
9e285ce919
docs: do not call custom expect message an "error message" ( #29390 )
...
Fixes #29378 .
2024-02-06 12:12:45 -08:00
Dmitry Gozman
fb29d90052
docs: remove overloads from test.* APIs ( #29376 )
2024-02-05 19:03:04 -08:00
Max Schmitt
47f8ba2a04
feat(electron): expose ElectronApplication console events ( #29322 )
...
Fixes https://github.com/microsoft/playwright/issues/5905
2024-02-05 21:30:54 +01:00