Simon Knott
527505e67b
docs: be more precise in what versions of Node.js are supported ( #34231 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2025-01-07 14:23:27 +01:00
Simon Knott
6bdd2694ee
feat(webserver): customize shutdown with new gracefulShutdown option ( #34130 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2025-01-03 11:34:34 +01:00
Simon Knott
04a3574f80
feat(reporter): report TestStep#attachments ( #34037 )
2025-01-02 17:48:59 +01:00
David Gahnassia
acdd666d95
docs(test-fixtures): removed redundancy ( #34185 )
2025-01-02 06:17:22 +01:00
Pengoose
7f141b2c42
feat: expect(locator).toHaveAccessibleErrorMessage ( #33904 )
2024-12-27 09:54:16 +00:00
Gautier Ben Aïm
1c8e6f0921
docs: fixed typo ( #34129 )
2024-12-21 18:59:50 +01:00
Evan Cahill
c89e213eff
docs: Use locator.first() in locator.or examples ( #34106 )
2024-12-20 13:23:01 -08:00
Yury Semikhatsky
a74c488b25
docs: document --no-shell option ( #34120 )
2024-12-20 10:24:10 -08:00
Andrew Goldis
c57155e30c
docs: explain globalSetup caveats for reporters ( #34063 )
2024-12-18 13:16:03 -08:00
Yury Semikhatsky
7ed60ccf7f
feat(test): step.fail and step.fixme modifiers ( #34042 )
2024-12-17 11:17:22 -08:00
Yury Semikhatsky
b58a4762f4
docs: improve note on browser.close() behavior ( #34039 )
2024-12-16 13:52:17 -08:00
Adam Gastineau
6270918f67
docs: Moved Trace Viewer running instructions to the top of the page ( #33956 )
2024-12-16 05:18:54 -08:00
Max Schmitt
e4413f2089
docs: add docs for 'run-server' ( #33989 )
2024-12-12 16:23:13 -08:00
Yury Semikhatsky
22e58aa084
docs: clarify --only-shell option ( #33961 )
2024-12-11 13:06:48 -08:00
Yury Semikhatsky
9e683d798f
docs: clarify setDefaultTimeout with 0 value ( #33959 )
2024-12-11 13:06:37 -08:00
Adam Gastineau
a14d9750b3
docs: #33837 Clarify that clock.install must precede clock operations ( #33901 )
2024-12-10 16:18:41 -08:00
Yury Semikhatsky
599b09c1c0
docs: sharding per file with multiple projects ( #33939 )
2024-12-10 14:02:13 -08:00
Yury Semikhatsky
54c595c7ed
docs: add examples for clock.install() followed by pauseAt() ( #33937 )
2024-12-10 11:50:51 -08:00
Pavel Feldman
a25bda6950
chore: allow storing aria snapshots in files ( #33919 )
2024-12-10 11:45:16 -08:00
Yury Semikhatsky
733f9a2926
chore: pdf generation now works in headed mode too ( #33879 )
2024-12-05 17:53:31 -08:00
Simon Knott
f6f6a6225c
docs: locale defaults to en-us ( #33840 )
2024-12-05 15:44:41 -08:00
Max Schmitt
9b5f7f77b2
docs(network): add proxy back-ref to api docs ( #33839 )
2024-12-02 16:20:44 -08:00
Dmitry Gozman
4e33ade287
docs: fix codegen --viewport option examples ( #33816 )
2024-11-29 06:13:53 -08:00
Tasawar Hussain
b456ac5f8c
docs: update ci.md ( #33815 )
...
Signed-off-by: Tasawar Hussain <31658686+tasawar-hussain@users.noreply.github.com>
2024-11-29 03:36:50 -08:00
Max Schmitt
84df6e3297
docs(python): add note about async fixtures ( #33760 )
2024-11-26 16:23:19 +01:00
Dmitry Gozman
39285c4667
docs: update extensions doc for new headless ( #33753 )
2024-11-25 01:13:20 -08:00
Max Schmitt
9d92b0d3ec
docs(dotnet): add docs for xUnit ( #33742 )
2024-11-25 10:09:35 +01:00
Max Schmitt
e0e4da8ead
docs(cli): fix docs rendering ( #33751 )
2024-11-24 14:50:12 +01:00
Pavel Feldman
971b5da741
chore: introduce update-source-method ( #33738 )
2024-11-22 18:30:35 -08:00
Pavel Feldman
66d9f3acbe
chore: introduce update-snapshots=changed ( #33735 )
2024-11-22 17:41:31 -08:00
Dmitry Gozman
f123f7ac69
fix: isEditable/toBeEditable throw for elements that cannot be editable/readonly ( #33713 )
2024-11-22 03:40:43 -08:00
Max Schmitt
b7e47dc0bd
docs(test-runners): restructure .NET test-runners doc ( #33727 )
2024-11-22 12:35:14 +01:00
Pavel Feldman
605df0be8f
chore: add more info about snapshot testing ( #33721 )
2024-11-21 16:11:01 -08:00
Max Schmitt
92436518ff
docs(python): add LocatorAssertions.NotToMatchAriaSnapshot ( #33712 )
2024-11-21 15:53:37 +01:00
Max Schmitt
77d82b8b07
chore: remove dead code in urlMatches ( #33714 )
2024-11-21 15:53:28 +01:00
Dmitry Gozman
d3ffdefd50
docs: release notes for languages v1.49 ( #33706 )
2024-11-21 05:45:00 -08:00
Simon Knott
81e28a8854
docs(aria): add demo video ( #33668 )
2024-11-20 15:36:51 +01:00
Simon Knott
bfd64ac11b
docs: add video for 1.49 ( #33693 )
2024-11-20 15:36:38 +01:00
Dmitry Gozman
94776ad18a
docs: note that permissions list may change ( #33690 )
2024-11-20 06:08:34 -08:00
Josh Kelley
1afb56ee1b
docs: add docs for 1.49.0's new "chromium" option ( #33680 )
2024-11-20 01:19:39 -08:00
Simon Knott
ae10d56836
docs(fixtures): add rules of thumb for fixture usage ( #33472 )
2024-11-20 09:06:54 +01:00
aairiian
7f054ef8c6
feat(aria): extend toHaveAccessibleName() to accept an array of expected accessible names ( #33277 )
2024-11-18 07:46:47 -08:00
Jean-François Greffier
508021362d
fix minor typos in "Getting Started" ( #33613 )
2024-11-15 14:45:54 -08:00
Amaechi Hope
e61cea597a
docs(dotnet): fix assertion snippets ( #33622 )
2024-11-15 15:02:40 +01:00
Yury Semikhatsky
f5477d9051
docs: add ariaSnapshot.timeout for language ports ( #33614 )
2024-11-14 12:23:42 -08:00
Dmitry Gozman
80ce205d81
docs: update docs about headless shell ( #33604 )
2024-11-14 05:38:16 -08:00
Simon Knott
dc93c8a05b
chore(release): alternative headless mode release notes ( #33578 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2024-11-14 08:40:51 +01:00
Yury Semikhatsky
5203c780ae
feat: step timeout option ( #33560 )
2024-11-13 11:17:54 -08:00
Max Schmitt
382d98760c
chore: update WebKit version to 18.2 ( #33570 )
2024-11-13 12:33:45 +01:00
Max Schmitt
e535b3aa5f
docs(best-practises): add note about saving browser downloads ( #33568 )
2024-11-13 12:11:12 +01:00
Dmitry Gozman
88082b417a
chore: release notes for v1.49 js ( #33565 )
2024-11-13 03:04:43 -08:00
Dmitry Gozman
f54d3f44c2
chore: download and launch chromium-headless-shell for headless chromium ( #33454 )
2024-11-13 02:52:28 -08:00
Yury Semikhatsky
e3ed9fa7c3
chore: drop support for solid component testing ( #33523 )
2024-11-11 10:26:50 -08:00
Yury Semikhatsky
9c6c58f8ce
docs: note about screenshot environment ( #33501 )
2024-11-08 08:33:04 -08:00
Dmitry Gozman
d561ba7b86
fix(chromium-headless-shell): fallback to chromium when running headed ( #33490 )
2024-11-08 07:04:41 -08:00
Dmitry Gozman
67e8defbe9
docs: update tracing.group docs ( #33487 )
2024-11-07 03:57:18 -08:00
Pavel Feldman
a655b0bfb3
chrome: aria api review ( #33458 )
2024-11-05 15:23:38 -08:00
Max Schmitt
c96245dde7
docs(aria-snapshot): fix markdown rendering / langs ( #33453 )
2024-11-05 15:04:26 +01:00
Dmitry Gozman
9b2ca93a50
chore: followup to tracing.group ( #33450 )
2024-11-05 04:45:54 -08:00
René
fa10bcd5a3
feat(tracing) Adding groups to trace via pw-api ( #33081 )
...
Signed-off-by: René <snooz@posteo.de>
Signed-off-by: René <41592183+Snooz82@users.noreply.github.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-11-05 03:45:37 -08:00
Pavel Feldman
58b1f322ab
docs: iterate over aria docs (2) ( #33440 )
2024-11-04 19:24:54 -08:00
Pavel Feldman
ec8161cb0a
docs: iterate over aria docs ( #33439 )
2024-11-04 17:52:53 -08:00
Pavel Feldman
8b49d568de
docs: start adding the aria snapshot documentation ( #33407 )
2024-11-04 10:53:46 -08:00
Simon Knott
cb0171e571
chore(expect): clarify message() for custom matchers ( #33321 )
2024-11-04 16:58:20 +01:00
Max Schmitt
3b4b8f9e49
docs(python): add snippet for new_context fixture ( #33392 )
2024-11-01 17:50:34 +01:00
Max Schmitt
33593c5f06
docs(browsers): add note for Python about channels in launch() ( #33396 )
2024-11-01 17:45:07 +01:00
Denis LE
7a1739792f
docs(best-practices): improve wording ( #33342 )
2024-10-29 16:27:14 +01:00
Simon Knott
0221f15f4f
chore(control-or-meta): mention in docs ( #33338 )
2024-10-29 10:07:59 +01:00
Max Schmitt
9eb4fe5546
feat(pwt): serialize and expose Error.cause from Worker process ( #32833 )
2024-10-29 00:01:59 +01:00
Yury Semikhatsky
0ace47e7cf
chore: revert exposed expect error details on TestError ( #33310 )
2024-10-25 16:20:18 -07:00
Yury Semikhatsky
87b896e597
chore: remove playwright-ct-vue2 ( #33302 )
2024-10-25 13:31:55 -07:00
DetachHead
7e00112fec
docs(python): improve the typing example with the pytest plugin ( #33296 )
2024-10-25 15:27:14 +02:00
Dmitry Gozman
2e01154bb5
feat: screenshot:on-first-failure ( #33266 )
2024-10-24 04:41:35 -07:00
Max Schmitt
131f8b39c3
docs(vscode): outline more that global teardown needs to be executed manually ( #33221 )
2024-10-22 14:25:23 +02:00
Max Schmitt
0351fd9401
docs: use WebSocketFrame abstraction for Java & .NET ( #33211 )
2024-10-21 21:21:30 +02:00
Yury Semikhatsky
aebceb345e
chore: expose expect error details on TestError ( #33183 )
2024-10-21 11:15:55 -07:00
Max Schmitt
36d3a6764e
docs: set minimal Ubuntu version to 22 and Debian to 12 ( #33207 )
2024-10-21 18:41:27 +02:00
Max Schmitt
e866e3306e
devops: stop publishing Ubuntu 20.04 ( #33203 )
2024-10-21 17:00:10 +02:00
Simon Knott
0d63df4875
feat(test runner): allow multiple global setups ( #32955 )
...
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-10-18 11:03:00 +02:00
Amaechi Hope
7af9e93304
docs(api): fix code snippets for locator ele ( #33153 )
2024-10-17 09:11:53 +02:00
Debbie O'Brien
9848ebec5a
docs: add video to release notes ( #33147 )
2024-10-16 18:36:46 +02:00
Pengoose
d10a5e5693
feat(testType): add support for test.fail.only method ( #33001 )
2024-10-16 06:47:23 -07:00
Pavel Feldman
94321fef1c
chore: implement locator.ariaSnapshot ( #33125 )
2024-10-15 18:47:26 -07:00
Pavel Feldman
b421bd8b0d
chore: add a basic snapshot generator test ( #33123 )
2024-10-15 15:21:45 -07:00
Anand M Cherian
d40425ea58
docs: update to "Matching one of the two alternative locators" section ( #33079 )
...
Signed-off-by: Anand M Cherian <63868951+Anand-M-Cherian@users.noreply.github.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-10-15 12:45:03 -07:00
Dmitry Gozman
8a275e5a5b
docs: improve docs for WebSocketRoute ( #33097 )
2024-10-15 02:07:03 -07:00
Pavel Feldman
a38ff6e0d8
chore: experimental toMatchAriaSnapshot ( #33014 )
2024-10-14 14:07:19 -07:00
Max Schmitt
9fcf60464d
chore: various v1.48.0 roll fixes for .NET ( #33096 )
2024-10-14 16:32:11 +02:00
Dmitry Gozman
25dd9b5cd4
feat: config.build.tsconfig ( #33026 )
...
Allows to specify `tsconfig` in the configuration file, which applies to
test files but not the config file itself.
Fixes #32808 .
2024-10-10 01:37:46 -07:00
Dmitry Gozman
c2cbf26497
docs: refresh timeouts doc ( #33025 )
...
After changes a few releases ago, specify that `afterEach` hooks are
included in a separate timeout.
Fixes #32851 .
2024-10-09 05:10:10 -07:00
Pavel Feldman
dbe881cfdc
docs: add a section on balancing shards ( #33011 )
...
Closes https://github.com/microsoft/playwright/issues/32922
2024-10-08 08:35:02 -07:00
Yury Semikhatsky
4fe33db392
docs(route): header override propagation ( #32971 )
...
Fix https://github.com/microsoft/playwright/issues/32939
2024-10-07 13:52:55 -07:00
Simon Knott
d3fbf1aaeb
fix(clock): amend setSystemTime docs ( #32901 )
...
As discussed yesterday over
https://github.com/microsoft/playwright/issues/32807 . Adds some words to
differentiate `setSystemTime` from `setFixedTime`.
---------
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-10-07 12:12:12 +02:00
Bruno
317ddd4117
docs(best practices): tabs with yarn and pnpm commands added ( #32980 )
2024-10-07 10:48:30 +02:00
Simon Knott
40670e6ffd
fix(emulate media): document "no-preference" as deprecated ( #32881 )
...
Closes https://github.com/microsoft/playwright/issues/32862 .
`prefers-color-scheme: no-preference` was removed from browsers. This PR
marks it as deprecated in our docs and removes all mentions.
---------
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-10-04 16:49:32 +02:00
Simon Knott
80ff7c396a
chore(docs): fix code highlighting ( #32927 )
...
Closes https://github.com/microsoft/playwright/issues/32921
This is the diff when rolling to `playwright.dev` locally:
<img width="1262" alt="Screenshot 2024-10-02 at 14 54 42"
src="https://github.com/user-attachments/assets/aade7ad4-420c-48c4-a2c9-03fe815a3959 ">
---------
Signed-off-by: Simon Knott <info@simonknott.de>
2024-10-04 16:38:13 +02:00
Simon Knott
6be97f34dd
docs(test-reporters): replace reporter showcase with list of interesting OSS implementations ( #32896 )
...
As discussed yesterday, this PR replaces the "reporter showcase" with a
list of interesting implementations for folks who are writing their own
custom reporters.
---------
Signed-off-by: Simon Knott <info@simonknott.de>
2024-10-04 16:29:13 +02:00
Max Schmitt
895be9f8de
chore: lint java docs snippets ( #32945 )
2024-10-04 11:34:04 +02:00
Max Schmitt
6373fe703d
docs: fix Java/.NET types for docs rolling ( #32924 )
2024-10-02 13:27:56 +02:00
Max Schmitt
67c37cf813
docs(ci): recommend noble instead of jammy ( #32923 )
2024-10-02 13:12:11 +02:00