2126 Commits

Author SHA1 Message Date
Dmitry Gozman
ac3600ec96
feat: explain that argument is a regex (#28590)
- in docs;
- in the error message.

Terminal output:

```
$ npx playwright test foobar
Error: No tests found.
Make sure that arguments are regular expressions matching test files.
You may need to escape symbols like "$" or "*" and quote the arguments.
```

References #28551.
2023-12-11 17:35:39 -08:00
Dmitry Gozman
ee9a7dad12
docs: emphasize that has is a relative locator (#28588)
References #28556.
2023-12-11 17:35:29 -08:00
Yury Semikhatsky
411abdb752
feat: add fileName option to blob reporter (#28525)
Reference https://github.com/microsoft/playwright/issues/27284
2023-12-06 20:44:06 -08:00
Yury Semikhatsky
f88288d71d
feat: config.botName for describing environment in the reports (#28507)
Reference https://github.com/microsoft/playwright/issues/27284
2023-12-06 13:34:16 -08:00
jaktestowac.pl
297f2af16b
docs: add info about merging fixtures to fixtures page (#28468) 2023-12-05 17:02:55 -08:00
Christopher Dunderdale
c8bc79655f
docs: fix various syntax errors in .NET documentation (#28472) 2023-12-05 09:19:12 -08:00
Yury Semikhatsky
74e51d334e
feat: wait for active route handlers on page/context close (#28414)
Reference https://github.com/microsoft/playwright/issues/23781
2023-12-04 16:19:05 -08:00
Dmitry Gozman
b4de3133cc
docs: add exposeNetwork option documentation to connectOptions fixture (#28483) 2023-12-04 09:38:17 -08:00
Laurent Thiebault
ac846c1632
docs: fix some typo (#28450) 2023-12-02 15:35:51 -08:00
Pavel Feldman
0a7a10d0f6
feat(vrt): allow providing screenshot style (#28229) 2023-11-30 17:42:45 -08:00
Max Schmitt
da6a36062e
docs(docker): add note on how to create your own (#28434)
https://github.com/microsoft/playwright/issues/28383

---------

Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2023-11-30 14:04:42 -08:00
Dmitry Gozman
35c2633013
docs: state that grid support is experimental (#28406) 2023-11-29 12:16:10 -08:00
Yury Semikhatsky
cea28b2df9
docs: clarify beforeAll execution on exception (#28361)
Reference https://github.com/microsoft/playwright/issues/28285
2023-11-27 16:37:30 -08:00
Yury Semikhatsky
854ae4eede
docs: remove duplicate entry for --config (#28357) 2023-11-27 11:38:52 -08:00
Yair Cohen
54c9c7ff9c
docs(test-sharding) fix typo (#28215) 2023-11-23 18:00:02 +01:00
Debbie O'Brien
ff2f93e36d
docs: Add video for Playwright 1.40 (#28309) 2023-11-23 14:01:05 +01:00
Debbie O'Brien
3d54d377ba
docs: Update codegen documentation and screenshots (#28302) 2023-11-23 13:05:03 +01:00
Aislinn Hayes
1f953c2148
docs: add a link to screenshots api in the docs (#28288) 2023-11-23 11:06:06 +01:00
Yury Semikhatsky
2b4d51b1e8
docs: grep for project dependencies (#28299)
Fixes https://github.com/microsoft/playwright/issues/28296
2023-11-22 12:31:54 -08:00
Max Schmitt
e405c1deea
docs(trace-viewer): fix <details><summary> syntax (#28276) 2023-11-22 19:40:23 +01:00
Max Schmitt
d7d1c80cf7
docs(python): add ignoreCase to NotToHaveAttribute (#28267)
https://github.com/microsoft/playwright-python/issues/2078
2023-11-21 08:54:23 -08:00
Max Schmitt
8c880cad76
docs(release-notes): 1.40 nits (#28271) 2023-11-21 08:54:01 -08:00
Max Schmitt
5ef5e776f6
docs(browsers): add protocol to PLAYWRIGHT_FIREFOX_DOWNLOAD_HOST (#28246) 2023-11-20 21:17:37 +01:00
Dmitry Gozman
61c089fcbd
feat(recorder): UX updates for assertion tools (#28198)
- No locator editor.
- No value editor for `toHaveValue`.
- Visual feedback for `toBeVisible`/`toHaveValue`.
- UI tweaks.
2023-11-16 13:19:36 -08:00
Dmitry Gozman
aec4399d8f
docs: release notes for v1.40 (#28175) 2023-11-15 18:38:43 -08:00
Max Schmitt
30aa8cd904
docs(input): use web-first assertion for isChecked() (#28162)
Fixes https://github.com/microsoft/playwright/issues/28161
2023-11-15 10:51:30 -08:00
Hemang Rajyaguru
f76c261b16
docs(ci.md): added google cloud CI docs for NodeJs using the playwright Docker Image (#27831)
Fixes #27769
2023-11-14 13:57:14 -08:00
Yury Semikhatsky
ec2c7024b6
docs: fix ignoreCase description (#28121) 2023-11-14 10:18:04 -08:00
Dmitry Gozman
ec4893d235
docs: update phrasing for 1.40 features (#28113) 2023-11-13 15:56:50 -08:00
Yury Semikhatsky
35aeace476
docs(assertions): note on whitespace normalization (#28110)
Fixes https://github.com/microsoft/playwright-java/issues/1419
2023-11-13 12:28:50 -08:00
Elijah Mock
40b8df7217
docs(running-tests-*.md): Correct "running tests" typos (#28055)
I have corrected some typos and grammar issues that I found when reading
your documentation.

---------

Signed-off-by: Elijah Mock <28277163+ekcom@users.noreply.github.com>
2023-11-13 11:31:29 -08:00
Jozef Hollý
39a555513b
Add HOME=/root to container samples in docs (#27832)
Reference: #6500
(https://github.com/microsoft/playwright/issues/6500#issuecomment-1664210041)

It seems that this is now required, so this PR applies that to the docs.

Signed-off-by: Jozef Hollý <1708197+j2ghz@users.noreply.github.com>
2023-11-13 10:49:39 -08:00
divdavem
0ade89c121
Partial documentation update, page.evaluate never returns a handle (#28080)
The documentation is misleading because `page.evaluate` never returns a
handle.
Some other parts of the documentation may need to be updated as well
(especially other languages than javascript, I think I saw this issue
also on other pages).

---------

Signed-off-by: divdavem <david-emmanuel.divernois@amadeus.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-11-13 08:54:58 -08:00
Dmitry Gozman
c759e6a6f6
docs: move expect.extend docs from "test configuration" to "assertions" (#28039) 2023-11-08 09:29:36 -08:00
Max Schmitt
19b0f5ccb3
docs(dotnet): page -> Page (#27988)
Fixes https://github.com/microsoft/playwright-dotnet/issues/2738
Fixes https://github.com/microsoft/playwright/pull/27946
2023-11-07 09:28:18 +01:00
Yury Semikhatsky
53a78a315e
fix(merge): preserve original "rootDir" by default (#27963)
Fixes https://github.com/microsoft/playwright/issues/27877
2023-11-03 13:49:47 -07:00
Pavel Feldman
817a130cdc
chore: dispose-based callback termination (#27911) 2023-11-01 16:36:39 -07:00
Yury Semikhatsky
c7b6a76437
fix(fetch): throw when methods are called on disposed context (#27868)
Fixes #27822
2023-10-30 15:23:12 -07:00
Renan Greca
7bab19d807
docs: syntax corrections in expect.extend documentation (#27772)
Signed-off-by: Yury Semikhatsky <yurys@chromium.org>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
2023-10-30 22:03:24 +01:00
Dmitry Gozman
88f30d1ce2
feat: support firefoxUserPrefs in launchPersistentContext (#27840)
Fixes #27773.
2023-10-27 09:24:41 -07:00
Debbie O'Brien
d395a38a63
docs: add v1.39 release video (#27838) 2023-10-27 14:36:32 +02:00
Jorge Senín
89e0978da4
Update class-page.md (#27750) 2023-10-26 12:57:37 -07:00
Greg Bergé
ae1e1885dc
docs: add Argos Reporter to doc (#27789) 2023-10-26 10:05:02 -07:00
Yury Semikhatsky
0ade5aa9ad
fix: ignoreCase in toHaveAttribute (#27809)
Fixes #27795
2023-10-25 19:22:13 -07:00
Debbie O'Brien
09ff9a5908
docs: update screenshots (#27760) 2023-10-25 20:16:48 +02:00
Max Schmitt
766bc5cd77
docs: .NET ParallelScope (#27745)
Fixes https://github.com/microsoft/playwright-dotnet/issues/2732
2023-10-23 18:22:17 +02:00
Max Schmitt
9fcfe68fcb
docs: document PWDEBUG=console disables timeout (#27725)
Fixes https://github.com/microsoft/playwright/issues/27691

Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-10-20 11:10:29 +02:00
Debbie O'Brien
a9bfb22852
docs: improve python ci guide (#27724) 2023-10-20 11:02:47 +02:00
Max Schmitt
02fe462dda
docs: remove why-playwright.md (#27699)
This is not referenced anywhere and not getting updated.
2023-10-19 17:32:59 +02:00
Ahmed Mubbashir Khan
7289cb7841
docs(ci): For Jenkins updated command from ci to npm ci (#27702) 2023-10-19 14:28:49 +02:00