2464 Commits

Author SHA1 Message Date
Debbie O'Brien
f6d63f7c99
docs: update example test assertion (#24554)
uses different assertion to make test visually better when using trace
viewer etc and is more realistic example
2023-08-01 22:04:04 +02:00
Yury Semikhatsky
ce341ae5b5
docs: clarify setContent semantics (#24553)
Fixes https://github.com/microsoft/playwright/issues/24503
2023-08-01 11:45:58 -07:00
Dmitry Gozman
578e8e01b7
docs: improve auto-retrying vs generic assertions (#24528)
Fixes #24460.
2023-07-31 20:20:27 -07:00
Yury Semikhatsky
786cb4019d
docs: sharding and merging reports (#24338) 2023-07-31 11:50:57 -07:00
Dmitry Gozman
a74101d98f
docs: document expect's asymmetric matchers (#24498)
References #24460, #24417.
2023-07-28 14:04:01 -07:00
Michael Seele
c7beebb40f
fix api-testing example (#24407) 2023-07-28 13:19:01 -07:00
John Yeates
e60d995e9b
docs: Add files to list of ways to include global.d.ts (#24484) 2023-07-28 12:53:05 -07:00
Dmitry Gozman
ea6d127f28
feat(connect): exposeNetwork option (#24436) 2023-07-26 17:29:31 -07:00
Dmitry Gozman
c8b45aa844
chore: validate markdown links in doclint (#24444)
Fixes #24421.
2023-07-26 16:15:07 -07:00
Lev Chelyadinov
64deac85d2
docs(intro): update the pnpm installation method (#24397)
Signed-off-by: Lev Chelyadinov <leva181777@gmail.com>
2023-07-26 15:58:13 +02:00
Pavel Feldman
d81b35b836
chore: fix docs typo (#24388) 2023-07-25 12:55:06 -07:00
Max Schmitt
95fc194e71
docs(annotations): grep snippets follow-ups #24304 (#24367)
Follow-ups to #24304.

Wasn't rendered otherwise:
https://playwright.dev/docs/next/test-annotations
2023-07-24 20:10:39 +02:00
Max Schmitt
b1ab6484da
docs(test-runner): add new playwright-features (#24368)
https://github.com/microsoft/playwright-pytest/pull/148
https://github.com/microsoft/playwright-pytest/pull/146
2023-07-24 20:09:09 +02:00
Alex Ravenna
b93b2a7155
docs: fix minor grammar and text issues (#24331) 2023-07-24 14:59:15 +02:00
jaktestowac.pl
f453a17ede
docs(test-annotations): add grep scripts examples for windows shells (#24304)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-07-22 00:30:40 +02:00
Max Schmitt
c7a5de6bb8
docs(ci): fix .NET AzDo snippet (#24333)
Fixes https://github.com/microsoft/playwright-dotnet/issues/2645

Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-07-20 18:54:51 +02:00
John Harrington
bca32f389b
docs(test-ui-mode): fix "it's" to possessive "its" (#24143) 2023-07-18 19:41:04 +02:00
Andrey Lushnikov
0b2516d71a
docs: explicitly set CI=true in Azure DevOps pipeline (#24278)
Fixes https://github.com/microsoft/playwright/issues/24274

---------

Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-07-18 09:39:14 -07:00
Yury Semikhatsky
896390d952
docs: merge report guide (#24246) 2023-07-17 10:18:05 -07:00
Raphi
2d9cdb6ab4
docs(java): add support for Chrome DevTools Protocol (#24150)
Implemented in https://github.com/microsoft/playwright-java/pull/1329
2023-07-17 10:12:04 -07:00
Dmitry Gozman
41643d070f
docs: add a warning to selenium-grid.md (#24236) 2023-07-14 12:44:22 -07:00
Max Schmitt
b483bf9fcc
feat: add support for Debian 12 for Firefox/WebKit (#24206)
https://github.com/microsoft/playwright/issues/23532

---------

Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-07-13 12:56:44 +02:00
Andrey Lushnikov
74cf869c03
docs: add release notes for 1.36 (#24135) 2023-07-10 11:58:52 -07:00
Max Schmitt
6ab6cde929
docs(python): remove await in sync code snippet (#24124) 2023-07-10 16:08:39 +02:00
Max Schmitt
37b3531a11
docs(python): fix code snippet in emulation guide (#24108)
Fixes https://github.com/microsoft/playwright-python/issues/1997

Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-07-08 10:08:10 +02:00
Debbie O'Brien
88010333f3
docs: fix har example (#23982) 2023-07-06 15:04:03 +02:00
Max Schmitt
fef029e98e
docs: code snippet alignments (#23959) 2023-06-29 18:26:19 +02:00
Dmitry Gozman
1ab99fe1b8
feat(electron): support tracesDir option (#23947)
References #23620.
2023-06-28 16:32:16 -07:00
Debbie O'Brien
c6a0f3e8a0
docs: improve example for mock API (#23759) 2023-06-27 19:01:39 +02:00
Max Schmitt
138e143030
docs: fix leftover broken Node.js code snippets (#23919) 2023-06-27 14:39:44 +02:00
Max Schmitt
9980f054bc
docs: align Node.js code snippets with ESLint (#23916) 2023-06-27 11:53:53 +02:00
Max Schmitt
71650f9bd1
docs(python): fix syntactically incorrect snippets (#23904) 2023-06-27 11:53:27 +02:00
Max Schmitt
69ae8c1a28
docs(dotnet): fix syntactically incorrect code snippets (#23900) 2023-06-26 18:21:14 +02:00
Debbie O'Brien
a18475eaab
docs: add release video to notes (#23880) 2023-06-23 20:04:59 +02:00
Max Schmitt
a658c4fd05
docs: discourage from caching browsers (#23814)
As per https://github.com/epicweb-dev/epic-stack/pull/204 and
https://twitter.com/kentcdodds/status/1670857818604474368.
2023-06-21 14:04:15 +02:00
awatson-scottlogic
3777fc8b0f
docs(class-testoptions): fix launchOptions snippet (#23831) 2023-06-21 14:03:26 +02:00
Max Schmitt
ba9666bb0c
docs(intro): Python drop 3.7 support (#23748)
Python 3.7 is EOL with our next release, so we can drop it.

https://github.com/microsoft/playwright-python/pull/1980

Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-06-16 21:50:29 +02:00
Yury Semikhatsky
fd49940d2b
docs: add missing expect import (#23737)
Fixes #23736
2023-06-15 11:10:03 -07:00
Max Schmitt
e5b07d662c
docs(dotnet): add note about using assertions with library (#23642)
Common question.
2023-06-13 09:04:13 -07:00
Max Schmitt
460e7fcfa2
chore: fix language port 1.35 release notes (#23674) 2023-06-13 09:03:50 -07:00
Yury Semikhatsky
ea7e9822aa
docs: release notes for ports (#23670) 2023-06-12 17:18:15 -07:00
Debbie O'Brien
0560a73ce9
docs: improve by adding teardown and examples (#23470) 2023-06-09 17:57:38 +02:00
bmaupin
c242dfac4c
docs: Make auth.setup.ts location clearer (#23572)
In the documentation, the directories of the other files are clearly
listed, making it clear where they should go, e.g.

- `playwright/fixtures.ts`
- `tests/example.spec.ts`

This applies the same principal to auth.setup.ts.
2023-06-08 21:38:54 -07:00
Andrey Lushnikov
b92dc47665
docs: fix images for release notes (#23606)
The previous were uploaded to a private repository artifacts and
were not accessible for a general public.
2023-06-08 15:10:41 -07:00
Max Schmitt
42ad9e71cb
docs: enhance UI mode docs (#23582)
Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-06-08 21:33:07 +02:00
Dmitriy Dudkevich
187cfdc328
feat: ability to pass additional headers to selenium (#23348) 2023-06-08 10:41:36 -07:00
Kun Fan
d279a8c242
docs(emulation): add a missing closing bracket (#23575) 2023-06-07 22:53:42 +02:00
Andrey Lushnikov
e0c4576e29
docs: add a note about CodeSpaces UI mode (#23580) 2023-06-07 12:41:36 -07:00
Andrey Lushnikov
eda109388e
docs: js release notes 1.35 (#23560)
Signed-off-by: Andrey Lushnikov <aslushnikov@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-06-07 11:05:05 -07:00
Andrey Lushnikov
0f4090472c
feat: add maskColor option to the toHaveScreenshot method (#23555) 2023-06-06 17:15:55 -07:00