Max Schmitt
1b220c5289
chore: remove Chromium Windows proxy hacks ( #31724 )
...
Fixes https://github.com/microsoft/playwright/issues/17252
2024-08-23 15:17:00 +02:00
Dmitry Gozman
3a75f23ea1
fix(addInitScript): require non-undefined arg to trigger commonjs module ( #32282 )
2024-08-23 02:48:56 -07:00
Dmitry Gozman
dc4a8e48eb
docs(fixtures): explain an option array value edge case ( #32261 )
...
Closes #32033 .
2024-08-22 05:47:19 -07:00
Dmitry Gozman
d5a7495041
feat(addInitScript): support cjs modules when passing both path and arg ( #32240 )
...
This works with scripts bundled by:
- `esbuild entrypoint.ts --bundle --format=cjs --outfile=injected.js`
- webpack with a typical config
```js
module.exports = {
entry: { 'injected': './entrypoint.js', },
output: {
path: require('path').resolve(__dirname),
filename: '[name].js',
libraryTarget: 'commonjs2',
},
};
```
2024-08-21 09:46:38 -07:00
Guillaume M
837e2a883b
docs(browsers): fix typo ( #32250 )
2024-08-21 17:35:47 +02:00
Max Schmitt
6512bccffd
docs(best-practises): add note about tsc ( #32245 )
2024-08-21 11:37:53 +02:00
Dmitry Gozman
b66cb6caaa
docs(evaluate): improve the guide ( #32222 )
2024-08-21 01:31:41 -07:00
Simon Knott
244761a3a2
chore(docs): Rework CI docs ( #31988 )
...
This PR moves around some of our CI docs. It moves the GitHub actions
docs from `ci-intro.md` to `ci.md`, reduces `ci-intro.md` to be an
introduction, adds a mention of Sharding to the best practices, and adds
a section on `--only-changed` called "Fail-Fast". Each of those changes
is a separate commit, to make this a little easier to review. If we find
any of those to commits to be contentious, i'll pull them out into
individual PRs.
While rolling this to playwright.dev, we'll also make the following
changes to its sidebar:
- move the `ci.md` document from the "Integrations" section to the
"Playwright Test" section
- make "Best Practices" the last item of the "Getting Started" section
---------
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2024-08-20 09:03:02 +02:00
Max Schmitt
010778f6c5
feat(client-certificates): allow passing certificates from memory ( #32210 )
2024-08-19 09:24:32 +02:00
Debbie O'Brien
f927495791
docs: release video and trace viewer video ( #32164 )
2024-08-14 23:20:19 +02:00
Bryant Ung
3280ec5ee3
doc(release notes): Fix 1.46 release notes typos ( #32145 )
2024-08-13 15:24:47 -07:00
Kuba Janik
0588834307
feat: allow URLSearchParams and string as params in APIRequestContext (follow-up) ( #32143 )
...
Follow-up to https://github.com/microsoft/playwright/pull/32120
I made some changes suggested by @yury-s in the previous PR that make a
lot of sense:
- added an example to the documentation
- improved tests
- check params on the client and server end
- reverted to non-English characters being used as params
2024-08-13 10:39:56 -07:00
Max Schmitt
b7ed4d7b9e
docs: deprecate: Request.serviceWorker() ( #32136 )
2024-08-13 15:59:30 +02:00
Kuba Janik
308381eeae
feat: allow URLSearchParams and string as params in APIRequestContext ( #32120 )
2024-08-12 14:22:03 -07:00
Yury Semikhatsky
2ae196f708
fix(docs): API types do not extend EventEmitter ( #32124 )
...
Fixes https://github.com/microsoft/playwright/issues/32097
2024-08-12 11:22:48 -07:00
Max Schmitt
cae779b74f
docs: recommend Ubuntu 24.04 in Docker images ( #31435 )
2024-08-12 16:39:56 +02:00
Max Schmitt
98a6e14e9d
docs: remove redundant TOC usages ( #32096 )
2024-08-09 12:44:01 +02:00
Yury Semikhatsky
7f60f284c6
docs(auth): use abs path, difference between storage locations ( #32037 )
...
Reference: https://github.com/microsoft/playwright/issues/31987
2024-08-06 11:36:49 -07:00
Yury Semikhatsky
43e852334b
docs: route.fallback() vs. route.continue() ( #32035 )
...
Fixes https://github.com/microsoft/playwright/issues/31983
2024-08-06 11:35:53 -07:00
Dmitry Gozman
a54ed48b42
feat(test runner): --tsconfig cli option ( #31932 )
...
Introduce `--tsconfig` to specify a single config to be used for all
imported files, instead of looking up tsconfig for each file separately.
Fixes #12829 .
2024-08-06 06:55:15 -07:00
Meir Blachman
5a015b0d6e
docs(release-notes): fix typo in .NET release notes ( #32015 )
2024-08-06 07:19:55 +02:00
Pavel Feldman
3c87f217df
feat(events): allow waiting for removeAllListeners ( #31941 )
2024-08-05 21:14:35 -07:00
Yury Semikhatsky
193013c9ee
docs(har): default update mode is minimal ( #32016 )
...
Update the documentation to match actual behavior.
The actual behavior today:
* Default mode is `full` when `recordHar` is passed to
`browser.newContext`
* Default mode is `minimal` when calling `context.routeFromHAR` and
`page.routeFromHAR`
Reference https://github.com/microsoft/playwright/issues/31983
2024-08-05 11:29:43 -07:00
Dmitry Gozman
32ee09dbe6
docs: release notes for 1.46 update ( #32010 )
2024-08-05 05:35:46 -07:00
Max Schmitt
d0c840f639
fix(clock): mock time in Event.prototype.timeStamp ( #31986 )
...
Ideally we generate the timestamp when the Event gets created. This
patch adds a best-effort logic, since we can't override the constructor
of natively created events, e.g. `MouseEvent`.
Fixes https://github.com/microsoft/playwright/issues/31924
2024-08-02 15:27:54 +02:00
Sander
c9a12e4ca1
docs(ct): fix component.update example for vue and svelte ( #31889 )
2024-07-31 13:40:19 +02:00
Max Schmitt
55187207e4
chore: various roll fixes for .NET ( #31914 )
2024-07-30 19:09:20 +02:00
Max Schmitt
ac0a3fb275
docs(best-practises): make trace icon location more clear ( #31909 )
2024-07-30 11:19:07 +02:00
Max Schmitt
f45cf65921
chore: add maxRetries to APIRequestContext.delete ( #31893 )
2024-07-29 14:39:30 +02:00
Max Schmitt
57c7d9e9bb
docs: add release notes for 1.46 ( #31875 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Signed-off-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-07-26 08:34:26 -07:00
Dmitry Gozman
9227d1c598
docs: explain a bit more about fixture boxing and custom titles ( #31877 )
2024-07-26 07:43:58 -07:00
Max Schmitt
b214941a01
chore: make it more clear that --only-changed is per file ( #31874 )
2024-07-26 12:41:33 +02:00
Max Schmitt
7570c25b3d
chore: remove glob from client-certificate matching ( #31846 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-07-24 19:13:03 +02:00
Elio Struyf
1e94abb683
docs: added MS Teams and mail reporter ( #31579 )
2024-07-24 11:55:45 +02:00
Yury Semikhatsky
13b5510d57
docs(webkit): supprot for non-core features may differ between OSes ( #31831 )
...
Fixes: https://github.com/microsoft/playwright/issues/31017
2024-07-23 17:35:02 -07:00
Max Schmitt
c4862c022c
chore: client certificates api review ( #31826 )
2024-07-23 22:56:36 +02:00
Yury Semikhatsky
383e4b3c73
Revert "feat: introduce touchscreen.touch() for dispatching raw touch… ( #31823 )
...
… events (#31457 )"
This reverts commit a3e31fd2c4 .
2024-07-23 10:29:37 -07:00
Simon Knott
f23d02a211
feat(test runner): --only-changed option ( #31727 )
...
Introduces an `--only-changed [base ref]` option.
`playwright test --only-changed` filters the test run to only run test
suites that have uncommitted changes.
`playwright test --only-changed=foo` runs only tests that were changed
since commit `foo`.
In pull request CI, this can be used to run changed tests first and fail
fast: `--only-changed=$GITHUB_BASE_REF`.
During local development, it can be used to quickly filter down to the
touched set of tests suites.
In some rare usecases, this can also help to cut down on CI usage for
pull requests. Tread with caution though.
File dependencies are taken into account to ensure that if you touched a
utility file, all relevant tests are still executed.
Closes https://github.com/microsoft/playwright/issues/15075
2024-07-23 18:04:17 +02:00
Simon Knott
2cc4e14756
fix(core): update maxRetries docs ( #31810 )
2024-07-23 08:27:27 -07:00
Dmitry Gozman
e86c8af599
chore: rename route fixture in ct ( #31817 )
...
Addresses review feedback.
2024-07-23 07:43:28 -07:00
Yury Semikhatsky
e269092ef9
Revert "fix: add 'window-management' to chromium browser ( #31687 )" ( #31801 )
...
This reverts commit 0aa2f06f68 .
Discussed the new permission in the API review and decided not to
proceed with the feature as we are not ready to commit to supporting it
yet:
* the API is Chromium specific
* the API is still experimental
* there is no clarity to what extend the screen manipulation APIs will
work in old headless which is our main test environment
We'll keep an eye on the demand for the feature and may get back to
implementing it in the future.
Reference: https://github.com/microsoft/playwright/issues/27198
2024-07-22 11:27:12 -07:00
Josh Soref
7abbbd0c84
docs: spelling ( #31779 )
...
Fixes misspellings identified by the [check-spelling
action](https://github.com/marketplace/actions/check-spelling ).
The misspellings have been reported at
https://github.com/jsoref/playwright/actions/runs/10015023629#summary-27685777352
The action will report that the changes in this PR would make it happy:
https://github.com/jsoref/playwright/actions/runs/10015023971#summary-27685778305
---
I understand that the commit messages will need to be reworded to match
house style. For the time being, these are merely noting the changes
they contain so that when I rebase or need to drop things, I can. --
I've already rebased once as someone fixed one of the items that my
draft work was going to fix.
---
## Testing
* The tests _mostly_ passed when I managed to trigger them, but there
were a handful of things that I didn't quite understand
* There are a large number of warnings relating to a bad interaction
between any workflow that uses this local action
b535139b32/.github/actions/run-test/action.yml (L74-L80)
and the action it calls -- I've opened Azure/login#474 asking them to
refactor their action so that it doesn't cause so much noise while
running this repository's tests
* I'm vaguely curious as to why this repository has a `branch`
constraint for its `pull_request` events in its workflows -- that
constraint gave me a number of additional headaches while trying to
prepare this branch for this PR.
---------
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-07-22 06:45:22 -07:00
Dmitry Gozman
6491e5b415
chore: deprecate/remove noWaitAfter from some actions ( #31739 )
...
The following actions keep `noWaitAfter` option: `click`, `selectOption`
and `press`.
All other actions that used to have `noWaitAfter` now behave like it was
set to true, not waiting for follow-up navigations. In the docs, this
option is marked as completely ignored.
A small logic change was made to compensate for this behavior: when
waiting for the `hitTargetInterceptor`, we now race it against
navigations to avoid stalling when navigation stalls. Previously,
waiting for the interceptor was disabled when `noWaitAfter` was passed,
and since it's impossible to pass this option now, we mitigate by never
stalling instead.
Fixes #31469 .
2024-07-18 00:19:08 -07:00
Max Schmitt
ed6abf86c7
fix(expect): throw unsupported error when using this.equals() in expect ( #31723 )
2024-07-17 13:22:00 +02:00
Max Schmitt
f66f5b800e
docs: fix broken anchor links ( #31707 )
2024-07-16 16:11:20 +02:00
damar Zaky
96e0a96ac1
docs: fix grammar and typos in various files ( #31678 )
...
- docs/src/best-practices-js.md
- docs/src/codegen.md
- docs/src/debug.md
- docs/src/events.md
- docs/src/library-js.md
- docs/src/locators.md
- docs/src/other-locators.md
- docs/src/test-components-js.md
- docs/src/trace-viewer.md
---------
Signed-off-by: damar Zaky <damzaky@gmail.com>
2024-07-16 06:15:25 -07:00
Ismael Onilearan
0aa2f06f68
fix: add 'window-management' to chromium browser ( #31687 )
2024-07-15 14:34:57 -07:00
Jorge Caridad
fb59e6372b
docs: fix typos in various documentation files ( #31656 )
2024-07-12 10:24:52 -07:00
Max Schmitt
9569cb5c1e
feat: support client certificates ( #31529 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-07-12 11:42:24 +02:00
Yury Semikhatsky
01e2c8ab06
docs: document numeric values of PLAYWRIGHT_FORCE_TTY ( #31653 )
...
Fixes https://github.com/microsoft/playwright/issues/31647
2024-07-11 14:02:47 -07:00
Daniel Flores
b13bd66d20
docs: add missing pytest-playwright installation command ( #31645 )
2024-07-11 21:27:54 +02:00
Max Schmitt
5c8fe5c33c
docs: make x/y more clear ( #31606 )
...
Fixes https://github.com/microsoft/playwright/issues/31567
2024-07-09 12:52:51 +02:00
Michael Render
1d930542e1
docs(clock): Fix C# version of clock documentation ( #31560 )
2024-07-08 19:01:04 +02:00
Dmitry Gozman
369a1eca48
feat(ct): experimental route fixture ( #31554 )
...
This fixture accepts the same arguments as `context.route()`, but also
supports request handlers compatible with msw syntax.
2024-07-06 09:35:20 -07:00
Debbie O'Brien
b2bda9fce2
docs: update vs code projects explanation ( #31571 )
2024-07-05 17:37:00 +02:00
Max Schmitt
b79f3076ee
doc(clock): fix code snippets ( #31568 )
...
Fixes https://github.com/microsoft/playwright/issues/31566
2024-07-05 13:20:54 +02:00
Max Schmitt
2b974f2139
docs(clock): update time types in Python/.NET ( #31511 )
2024-07-03 10:46:33 +02:00
Vitaliy Potapov
1e55a084bc
feat(html-reporter): hide annotations started with "_" ( #31489 )
...
Fixes: https://github.com/microsoft/playwright/issues/30179
2024-07-02 16:46:24 -07:00
Noah Mayerhofer
f62121548a
docs(ci): typo ( #31508 )
2024-07-01 20:57:16 +02:00
KeisukeYamashita
1f92376508
docs(ci): added Drone CI docs for Node.js ( #31499 )
2024-07-01 19:44:17 +02:00
Max Schmitt
d1e76d9a92
docs(release-notes): fix .NET snippets ( #31496 )
2024-07-01 18:32:23 +02:00
Debbie O'Brien
ea33137a0e
docs: improve clock guide ( #31487 )
2024-06-28 13:04:39 -07:00
Debbie O'Brien
93d147cf28
docs: add release video ( #31482 )
2024-06-28 20:04:31 +02:00
Yury Semikhatsky
a3e31fd2c4
feat: introduce touchscreen.touch() for dispatching raw touch events ( #31457 )
2024-06-27 14:37:36 -07:00
Yury Semikhatsky
111876d526
docs: improve addCookies.cookie parameter description ( #31456 )
2024-06-26 15:39:43 -07:00
Max Schmitt
dad305478a
docs: remove unnecessary html card ( #31444 )
2024-06-26 14:34:05 +02:00
Pavel Feldman
122818c62c
feat: allow boxing and titling fixtures, simulate context fixture deps ( #31423 )
...
Fixes https://github.com/microsoft/playwright/issues/31411
2024-06-24 21:43:43 -07:00
Dmitry Gozman
de723f39e9
docs: release notes for 1.45 ( #31421 )
2024-06-24 12:23:46 -07:00
Dmitry Gozman
114b6f0de6
docs: deprecate handle option in exposeBinding ( #31419 )
2024-06-24 11:29:40 -07:00
Yury Semikhatsky
865f0d8221
docs(java): correctly parse time ( #31420 )
2024-06-24 11:28:43 -07:00
Himanshu
74976b1da8
docs: Fixes minor typo. Changes These image -> This image ( #31413 )
...
Fixes a minor typo in the docker doc in `These image`
2024-06-24 09:04:42 -07:00
Romario Nijim
136fb996d1
docs: added more explanation to sharding to make it more understandable. ( #31399 )
...
* added more explanation to the sharding section for it to be more
understandable what it is and what it's purpose.
* because from the explanation in the docs. - it sound like that a
"shard" is a machine that is provided by playwright in addition to the
current setup , like a managed machine, but in reality it is simply a
separate job in the CI, dividing tests to separate jobs is sharding,
which sounds a lot easier when you think about it this way because it
could be confusing at the beginning IMO.
2024-06-21 10:20:56 -07:00
Yury Semikhatsky
95fc2b8a8b
feat(fetch): maxRetries for fetch ( #31386 )
...
Fixes https://github.com/microsoft/playwright/issues/30978
2024-06-19 18:10:14 -07:00
Max Schmitt
6d38525119
docs: add guide for print dialogs ( #31340 )
...
https://github.com/microsoft/playwright-internal/issues/211
Relates https://github.com/microsoft/playwright/issues/6543
2024-06-19 18:04:22 +02:00
Max Schmitt
951040185d
docs(test-parameterize): improve forEach example ( #31331 )
2024-06-19 17:45:27 +02:00
Yury Semikhatsky
f6972c1e23
docs: use long for time in milliseconds ( #31369 )
...
In Java and .NET int is not enough to store millis since epoch.
2024-06-18 10:47:29 -07:00
Robin Munn
e1e6c28722
docs: fix typo in 1.45 release notes ( #31350 )
2024-06-18 10:11:48 +02:00
Max Schmitt
b62af828c3
docs(input): fix pressSequentially typo ( #31333 )
2024-06-17 16:27:36 +02:00
Sander
1cbc67144a
docs(ct): format story example code ( #31317 )
2024-06-17 10:27:34 +02:00
Dmitry Gozman
b7582616a9
docs: js release notes for v1.45 ( #31323 )
2024-06-14 17:29:33 -07:00
Max Schmitt
4fff548fc6
docs: remove redundant duplicate headed paragraph ( #31298 )
2024-06-14 01:20:14 +02:00
Sander
132ceff702
docs(ct): faq how to access the component instance ( #31305 )
...
The question has been asked a few times:
https://github.com/microsoft/playwright/issues/16889 ,
https://github.com/microsoft/playwright/issues/22606 and I think more
people will encounter this
2024-06-13 16:10:35 -07:00
Max Schmitt
a76e5824c0
docs: examples for file directory upload ( #31302 )
2024-06-13 23:37:47 +02:00
Dmitry Gozman
b9106a4c42
fix(test runner): do not use @babel/plugin-transform-dynamic-import ( #31285 )
...
Historically, this plugin was important to translate dynamic imports
into require calls so that we can intercept them and transpile.
This is not needed anymore with ESM loader enabled by default, so we can
avoid this transformation and support dynamic imports of ESM-only
packages/files.
Fixes #17075 , fixes #23255 , fixes #31140 , references #23662 .
2024-06-13 06:18:44 -07:00
Yury Semikhatsky
d432899d2f
docs: drop macOS 12 from supported systems ( #31283 )
2024-06-12 15:26:35 -07:00
Max Schmitt
dcf4e4e054
feat: allow folder uploads ( #31165 )
2024-06-12 22:20:18 +02:00
Debbie O'Brien
751a41f9ee
docs: update how network and console work ( #31278 )
2024-06-12 09:12:05 -07:00
Pavel Feldman
cf400a6080
Revert "feat(test runner): shuffle order of tests with sharding seed … ( #31260 )
...
…(#30817 )"
2024-06-11 16:05:35 -07:00
Pavel Feldman
732e7393d3
Revert "feat(test): add URL field to annotations for hyperlink disp… ( #31259 )
...
…lay (#30665 )"
2024-06-11 16:05:21 -07:00
Pavel Feldman
2b257ea963
chore(clock): introduce pauseAt ( #31255 )
2024-06-11 12:51:00 -07:00
Pavel Feldman
6399e8de4e
chore: clock api review ( #31237 )
2024-06-11 09:42:15 -07:00
Yury Semikhatsky
c08000b967
feat(chromium): storage-access permission ( #31239 )
...
Fixes https://github.com/microsoft/playwright/issues/31227
2024-06-11 09:18:45 -07:00
Max Schmitt
f95b4e0ac8
docs(dotnet): recommend MSTest over NUnit ( #31245 )
2024-06-11 15:06:03 +02:00
Sander
d9ac51bf87
docs(ct): update testing library migration guide ( #31222 )
2024-06-10 17:20:51 -07:00
Matthijs Kok
b60f99db36
docs(class-testproject): fix 'use' type reference ( #31200 )
2024-06-10 16:22:54 -07:00
Pavel Feldman
826343b8a0
chore: rename fakeTimers to clock ( #31193 )
2024-06-06 15:56:13 -07:00
Denis Paris
3e86ebc80c
docs(trace-viewer): add link to trace object docs ( #31182 )
2024-06-06 22:07:56 +02:00
Max Schmitt
34dac6523c
docs(test-parameterize): use absolute dotenv import ( #31149 )
2024-06-04 20:07:59 +02:00
Darío Kondratiuk
76b25e84cc
docs: Improve clock doc ( #31147 )
2024-06-04 18:48:56 +02:00
Pavel Feldman
c516ba0ec8
api(clock): rework api based on the review ( #31137 )
2024-06-04 06:51:35 -07:00
Matt
727b2189e4
docs: fix parallelism and sharding references ( #31134 )
2024-06-04 10:31:36 +02:00
Dmitry Gozman
bdc7fc8288
docs: explain install-deps with proxy ( #31136 )
2024-06-03 16:26:29 -07:00
Sander
c912621d10
docs(ct): api reference ( #31109 )
...
closes: https://github.com/microsoft/playwright/issues/30581
2024-06-03 09:58:56 -07:00
Pavel
8d0def190d
docs: iterate over the clock (2)
2024-06-03 09:03:43 -07:00
ggorlen
baecdfd938
docs(auth): fix auth bash typo ( #31124 )
2024-06-03 12:50:37 +02:00
Max Schmitt
2c6fd722dd
feat: support Ubuntu 24.04 ( #30826 )
2024-06-03 12:47:16 +02:00
Pavel
8d2f4c1433
docs: iterate over the clock dock
2024-06-01 08:22:36 -07:00
Pavel
935aa0493c
docs: do not use html cards with scripts
2024-06-01 07:43:11 -07:00
Pavel Feldman
fc6c67f5f9
docs: start adding clock docs ( #31111 )
2024-06-01 07:30:58 -07:00
Pavel Feldman
8bfd0eb6e4
chore: introduce clock test mode ( #31110 )
2024-05-31 14:44:26 -07:00
Pavel Feldman
76e977a934
chore: add clock.next() ( #31097 )
2024-05-31 08:09:24 -07:00
Pavel Feldman
f97d87ea5a
docs: fix the api review typos ( #31071 )
2024-05-30 12:15:52 -07:00
Yury Semikhatsky
6067b78f88
chore: http credentials send immeidately/unauthorized enum ( #31076 )
...
Reference https://github.com/microsoft/playwright-internal/issues/205
Reference https://github.com/microsoft/playwright/issues/30534
2024-05-30 10:19:56 -07:00
Pavel Feldman
170c457a61
feat(timers): a stab at fake timers ( #31075 )
2024-05-30 09:38:27 -07:00
Debbie O'Brien
141c6a9c81
docs: add video on running tests ( #31066 )
2024-05-29 17:19:49 +02:00
Xan
61203964a8
docs: remove uneeded sentence in docs ( #31053 )
...
"To learn more about generating tests check out or detailed guide on
Codegen."
Should it be 'our'? And why does it link back to itself? Should be
removed.
Signed-off-by: Xan <57809064+devxan@users.noreply.github.com>
2024-05-28 13:41:38 -07:00
Max Schmitt
63fd28e038
docs(grep): contains tags ( #31042 )
2024-05-28 19:30:47 +02:00
Max Schmitt
1fafbe580c
docs(test-cli): remove --tag from docs ( #31041 )
...
Fixes https://github.com/microsoft/playwright/issues/31038
2024-05-28 09:08:34 -07:00
Ernst de Jong
ef023c4f40
chore(types): fix typo in screenshot mode ( #31047 )
2024-05-28 16:14:21 +02:00
Joonas Häkkinen
a300a15afe
docs(test-fixtures): fix minor grammar mistake ( #31046 )
2024-05-28 14:17:34 +02:00
cavivie
a7599ad509
feat(api): add host option in launchServer options ( #30999 )
2024-05-27 11:24:23 +02:00
Debbie O'Brien
af46dbef53
docs: update vs code doc extension updates ( #30968 )
2024-05-24 09:30:37 -07:00
Yury Semikhatsky
a106428114
feat(config): respectGitIgnore option ( #30972 )
...
Fixes https://github.com/microsoft/playwright/issues/30553
2024-05-23 12:05:02 -07:00
Debbie O'Brien
7ead708902
docs: add release video ( #30964 )
2024-05-23 10:32:08 +02:00
Mathias Leppich
825e0e466e
feat(test runner): shuffle order of tests with sharding seed ( #30817 )
2024-05-22 16:22:09 -07:00
Matt Marsh
d048ee4f5b
docs(cli): correct CLI grep documentation ( #30940 )
...
The documentation for command line usage of `--grep` did not provide the
correct string used for comparisons. This has now been fixed to include
the project name.
Fixes #30895
2024-05-22 16:05:20 -07:00
Olaf Alders
5b00ce1594
docs: fix typo in ConsoleMessage class ( #30857 )
2024-05-22 13:31:14 +02:00
오소현
165ecac5df
feat(test): add URL field to annotations for hyperlink display ( #30665 )
2024-05-21 12:46:38 -07:00
Debbie O'Brien
47185b743b
docs: add last failed to running tests ( #30730 )
2024-05-21 12:37:39 -07:00
Cornelius Roemer
822cba2e2b
docs(actionability.md): fix grammar ( #30756 )
2024-05-21 12:35:17 -07:00
Matt Marsh
68abd36464
docs: add detail on dot reporter output ( #30939 )
...
docs: detail on how to interpret dot reporter output added.
Fixes #30908
2024-05-21 12:06:05 -07:00
Dmitry Gozman
6290af3a08
feat(reporters): align and document environment variables ( #30912 )
...
- Documents `PLAYWRIGHT_FORCE_TTY` and `FORCE_COLOR` across terminal
reporters.
- New `PLAYWRIGHT_LIST_PRINT_STEPS`. Removes undocumented test-only
`PW_TEST_DEBUG_REPORTERS_PRINT_STEPS`.
- Replaces `PLAYWRIGHT_HTML_REPORT` with `PLAYWRIGHT_HTML_OUTPUT_DIR`
and `PW_TEST_HTML_REPORT_OPEN` with `PLAYWRIGHT_HTML_OPEN` for
consistency, supports older versions for backwards compatibility.
- New `PLAYWRIGHT_HTML_HOST`, `PLAYWRIGHT_HTML_PORT` and
`PLAYWRIGHT_HTML_ATTACHMENTS_BASE_URL`.
- New `PLAYWRIGHT_JUNIT_STRIP_ANSI` and
`PLAYWRIGHT_JUNIT_INCLUDE_PROJECT_IN_TEST_NAME`.
- Removes `PW_HTML_REPORT` that was set for unknown reason.
2024-05-21 10:46:52 -07:00
Atmaram Naik
7fd3539ebd
docs(intro): adds all three package manager commands ( #30884 )
2024-05-20 16:14:35 +02:00
Max Schmitt
9188ff7917
docs: add release-notes for language ports ( #30868 )
2024-05-17 23:18:16 +02:00
Joe-Hendley
6ae5cd3824
feat: implement flag to fail flaky tests ( #30618 )
...
Implements feature requested in
https://github.com/microsoft/playwright/issues/30457
The test runner treats flaky tests as failures when the flag is enabled,
but still reports flaky tests as flaky in the reporting interface. It
feels like something worth discussing as this behaviour makes sense to
me, but looked a bit odd to @BJSS-russell-pollock when I ran this past
him.
Closes #30457 .
2024-05-15 09:10:10 -07:00
Max Schmitt
79d2fcfc20
docs(python): fix browser.context snippet ( #30759 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
2024-05-14 15:36:17 +01:00
Dmitry Gozman
776b04e5ea
feat: APIRequestContext dispose reason ( #30765 )
...
Similarly to page.close, we pass test-runner specific reason to
facilitate better error messages.
```
1) a.test.ts:10:11 › test
Error: apiRequestContext.fetch: Fixture { request } from beforeAll cannot be reused in a test.
- Recommended fix: use a separate { request } in the test.
- Alternatively, manually create APIRequestContext in beforeAll and dispose it in afterAll.
See https://playwright.dev/docs/api-testing#sending-api-requests-from-ui-tests for more details.
9 |
10 | test('test', async () => {
> 11 | await context.fetch('http://example.com ');
| ^
12 | });
13 |
```
Closes #29260 .
2024-05-13 18:51:30 -07:00
Max Schmitt
f2441eb4b5
docs(dotnet): roll fixes ( #30771 )
2024-05-13 15:56:14 -07:00
Yury Semikhatsky
e728e90944
docs: waitForResponse method predicate example ( #30739 )
...
Fixes https://github.com/microsoft/playwright/issues/30731
2024-05-10 09:22:59 -07:00
Debbie O'Brien
10da0801e3
docs(dotnet): improve trace viewer ( #30716 )
2024-05-09 20:34:01 +02:00
Dmitry Gozman
a5d384c1f6
docs: add section explaining scrolling ( #30719 )
...
Fixes #30643 .
2024-05-08 21:04:05 -07:00
Debbie O'Brien
54cf6559b4
docs: fix intro whats next codgen link ( #30714 )
2024-05-08 22:55:44 +02:00
Debbie O'Brien
4f84ae31bd
docs(dotnet): improve trace viewer intro ( #30671 )
2024-05-08 20:01:47 +01:00
Viktor Szépe
150cbcbdf3
chore: fix typos ( #30645 )
2024-05-08 19:40:03 +01:00
Sander
4b5ecd2d79
docs(ct): remove router faq ( #30663 )
2024-05-08 18:40:12 +01:00
Christophe Chauvot
ddeec35450
docs(release-notes): Fixed typo in 1.44 js notes ( #30647 )
2024-05-08 17:41:53 +01:00
Max Schmitt
5babb37f19
docs(python): roll fixes ( #30708 )
2024-05-08 08:44:28 -07:00
Michael Render
81e907f4c1
docs(dotnet): fix isMobile in snippet ( #30699 )
2024-05-07 22:34:55 +01:00
ggorlen
2d7b1480b2
docs(reporters): wrap reporter in array, fixing typo in docs ( #30686 )
2024-05-07 11:16:21 +00:00
Debbie O'Brien
5d21e3729c
docs: fix example for accessible description ( #30672 )
2024-05-06 10:11:45 -07:00
Max Schmitt
d9d760705a
docs: fix broken links which broke build ( #30651 )
...
Fixes https://github.com/microsoft/playwright.dev/pull/1370
Fixes https://github.com/microsoft/playwright/pull/30648
2024-05-03 16:35:18 +00:00
Debbie O'Brien
c086b09f7e
docs: add new video on generating tests ( #30631 )
2024-05-03 16:21:51 +02:00
Yury Semikhatsky
d5b387159a
feat(fetch): sendImmediately ( #30627 )
...
Fixes https://github.com/microsoft/playwright/issues/30534
2024-05-02 16:30:12 -07:00
Debbie O'Brien
bf11c95d58
docs: improve dotnet getting started ( #30594 )
2024-05-02 12:06:39 +02:00
Philipp Daun
702bafdd88
docs: add third-party GitHub pull request reporter ( #30454 )
...
Add a new third-party reporter: [Playwright Report Comment
Action](https://github.com/marketplace/actions/playwright-report-comment ).
A GitHub action that comments report summaries on pull requests.
Screenshots visible in the action readme and below.


Signed-off-by: Philipp Daun <post@philippdaun.net>
2024-05-01 13:28:23 -07:00
Kawahara Shotaro
4e2ea2280c
docs: Add pnpm as an install option for Playwright ( #30601 )
...
This pull request adds pnpm as an install option for Playwright.
Previously, only npm and yarn were listed as installation options.
2024-05-01 13:01:33 -07:00
Yury Semikhatsky
3b7c4fac22
chore: add common env vars for junit and json reporters ( #30611 )
2024-05-01 10:16:49 -07:00
Dmitry Gozman
c3d8b22198
docs: mention that globalSetup does not respect config options ( #30609 )
...
Closes #30605 .
2024-04-30 09:01:44 -07:00
Yury Semikhatsky
fa7d4e5143
docs: releae notes 1.44 for js ( #30596 )
2024-04-29 16:48:40 -07:00
Yury Semikhatsky
b9f70f4ac4
docs(junit): document existing options and env ( #30595 )
2024-04-29 11:29:15 -07:00
Pavel Feldman
96f3d19819
feat(ctrl_or_meta): add a universal ctrl-meta modifier ( #30572 )
...
Fixes https://github.com/microsoft/playwright/issues/12168
2024-04-29 08:15:12 -07:00
Harsh Gupta
ebafb95054
docs(python): fix CDPSession documentation example ( #30584 )
2024-04-29 10:58:59 +00:00
Yury Semikhatsky
1f63cbff08
docs: toHaveUrl.ignoreCase in languages ( #30573 )
2024-04-26 15:02:51 -07:00
Yury Semikhatsky
3643fd456b
feat: outputFile option and PLAYWRIGHT_BLOB_OUTPUT_FILE env for blob ( #30559 )
...
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-26 09:33:53 -07:00
Yury Semikhatsky
ae9345d0bd
docs: add FormData to the examples ( #30557 )
2024-04-25 16:31:27 -07:00
Dmitry Gozman
6d20da568e
feat: expect(locator).toHaveRole(role) ( #30555 )
...
References #13517 . Fixes #18332 .
2024-04-25 15:26:10 -07:00
Yury Semikhatsky
9a1b34a4b0
Revert "fix: shut down workers before reporter.onEnd ( #30329 )" ( #30551 )
...
This reverts commit 3cea17abb6 .
Reference https://github.com/microsoft/playwright/issues/30550
The test is preserved but marked as fixme.
2024-04-25 14:21:54 -07:00
Dmitry Gozman
9bd2aea130
feat(locator handler): address api review feedback ( #30554 )
...
- Remove `handler` argument from `removeLocatorHandler`.
- Rename `allowStayingVisible` into `noWaitAfter`.
- Improve logging related to locator handler.
- Remove experimental badges.
2024-04-25 14:00:02 -07:00
Pavel Feldman
14413148f4
chore: document --last-failed ( #30544 )
...
drive-by: undocument --browser
2024-04-25 12:29:51 -07:00
Yury Semikhatsky
1cfa64343a
docs: describe report name configuration ( #30547 )
...
Reference https://github.com/microsoft/playwright/issues/30091
2024-04-25 10:15:25 -07:00
Dmitry Gozman
59689c9c97
feat(addLocatorHandler): various improvements ( #30494 )
...
- Automatically waiting for the overlay locator to be hidden, with
`allowStayingVisible` opt-out.
- `times: 1` option.
- `removeLocatorHandler(locator, handler)` method.
- Passing `locator` as first argument to `handler`.
Fixes #30471 . Fixes #30424 . Fixes #29779 .
2024-04-24 15:19:12 -07:00
Yury Semikhatsky
e2f7acea1e
docs: fix capitalization and alphabetic order in TestConfig ( #30523 )
2024-04-24 15:18:43 -07:00
Yury Semikhatsky
f1f3929a67
chore: get rid of ConfigInWorker, use FullConfig instead ( #30517 )
...
Addressing API review feedback.
2024-04-24 14:14:05 -07:00
Max Schmitt
1b7e097b68
docs(python): add docs for new_context fixture ( #30522 )
...
https://github.com/microsoft/playwright-internal/issues/202
2024-04-24 22:40:38 +02:00
Yury Semikhatsky
4e086e6df8
docs: update type property description ( #30516 )
2024-04-24 13:10:17 -07:00
Dmitry Gozman
8fc7723f22
fix(types): allow any return type from event handlers ( #30492 )
...
Closes #29353 .
2024-04-24 09:25:43 -07:00
Yury Semikhatsky
230a8437d3
feat(fetch): support FormData as multipart parameter ( #30489 )
...
Reference https://github.com/microsoft/playwright/issues/28070
2024-04-23 17:05:27 -07:00
Yury Semikhatsky
67c430435a
docs: more accurate test id description ( #30487 )
...
Reference https://github.com/microsoft/playwright/issues/30430
2024-04-23 14:07:37 -07:00
Dmitry Gozman
02c0706896
docs: do not recommend waitForLoadState ( #30483 )
...
Instead, just perform an action and auto-waiting will handle it.
Closes #30236 .
2024-04-23 09:22:58 -07:00
Dmitry Gozman
b0fbe058ae
feat: TestProject.ignoreSnapshots ( #30466 )
2024-04-22 16:16:38 -07:00
Dmitry Gozman
4a275b8eca
feat: expect(locator).toHaveAccessibleDescription ( #30463 )
...
References #18332 .
2024-04-22 12:33:30 -07:00
Dmitry Gozman
eea1f9984f
feat: expect(locator).toHaveAccessibleName ( #30420 )
...
References #18332 .
2024-04-18 12:28:55 -07:00
Yury Semikhatsky
3cea17abb6
fix: shut down workers before reporter.onEnd ( #30329 )
2024-04-16 09:49:11 -07:00
OKURA Masafumi
af634c2e1b
Fix a grammar mistake in ui-mode doc ( #30378 )
2024-04-15 15:24:04 -07:00
Christopher Dunderdale
f7e612fb4b
docs(auth): small improvement to .NET storageState example ( #30313 )
2024-04-15 10:32:12 +02:00
Max Schmitt
2b5488902a
docs(mock): fix typo ( #30346 )
...
Fixes https://github.com/microsoft/playwright/issues/30326
2024-04-11 11:37:44 -07:00
Max Schmitt
86cc252da2
docs: add v1.43 release notes for language ports ( #30263 )
2024-04-09 09:03:58 +02:00
Jean-François Greffier
aef2d3879c
docs(components): fix hooks imports in components test examples ( #30282 )
2024-04-08 09:46:01 +02:00
Dmitry Gozman
adc645d3cb
docs: note that sharding only works for parallel tests ( #30272 )
...
References #30253 .
2024-04-05 11:05:20 -07:00
Yury Semikhatsky
7ad255301f
docs: fix C# and python snippets ( #30232 )
2024-04-04 13:49:15 -07:00
Dmitry Gozman
88f2717e87
docs: hint that popup main request is accessible through BrowserContext ( #30249 )
...
Fixes #30229 .
2024-04-04 09:23:21 -07:00
Max Schmitt
010bc29a3c
chore: harden markdown link validation ( #30221 )
2024-04-03 17:51:32 +02:00
Yury Semikhatsky
63f876a335
chore: remove overrides for type and status ( #30211 )
...
Reference https://github.com/microsoft/playwright/issues/29768
2024-04-02 17:42:13 -07:00
Козынченко Вячеслав
e58a33a0ae
feat(expect) - add ignoreCase option for toHaveURL ( #30192 )
...
feat(expect): add ignoreCase option for toHaveURL
Fixes #30057
2024-04-02 16:20:46 -07:00
Yury Semikhatsky
81bcf2a53b
docs: document FullReporter API ( #30186 )
...
* FullConfig split into FullConfig and ConfigInWorker
* FullProject split into FullProject and ProjectInWorker
* Tests can only access {Config, Project}InWorker, while reporters can
only access Full{Config,Project}. This will allow in the future to
change the reporter API independently from the tests.
* Added documentation for the 4 classes.
2024-04-02 16:15:02 -07:00
Yury Semikhatsky
39b3c93b85
docs: note about sharded projects in the merged config ( #30184 )
...
Fixes https://github.com/microsoft/playwright/issues/29841
2024-04-02 14:41:23 -07:00
Yury Semikhatsky
8056e5391f
docs: update context.backgroundPage event examples ( #30210 )
...
Fixes https://github.com/microsoft/playwright-java/issues/1530
2024-04-02 11:32:57 -07:00
Yury Semikhatsky
1602548c10
docs(java,csharp): add BrowserContext.backgroundPage(s) ( #30200 )
...
Refereence https://github.com/microsoft/playwright-java/issues/1530
2024-04-01 10:54:51 -07:00
Hansanto
a950a7b86b
feat: Support intervals arg for toPass ( #30037 )
...
Fixes #30040
# Context
In the `playwright.config` file, we can custom the default `timeout`
property for `expect.toPass` by the property:
```ts title='playwright.config.ts'
export default defineConfig({
// ...
expect: {
toPass: {
timeout: 60_000,
},
},
});
```
However, we can't customize the `intervals` option. So the default value
is always `[100, 250, 500, 1000]`.
# Goal
Add the possibility to customize the intervals option from the
`playwright.config` file.
```ts title='playwright.config.ts'
export default defineConfig({
// ...
expect: {
toPass: {
timeout: 60_000,
intervals: [1000, 2000, 3000]
},
},
});
```
2024-03-29 10:17:29 -07:00
Yury Semikhatsky
3001c9ac73
fix: preserve test declaration order in html and merged report ( #30159 )
...
* Add `Suite.entries` that returns tests and suites in their declaration
order
* Exposed `Suite.type` and `TestCase.type` for discriminating between
different entry types.
* Blob report format is updated to store entries instead of separate
lists for suites and tests.
* Bumped blob format version to 2, added modernizer.
Fixes https://github.com/microsoft/playwright/issues/29984
2024-03-29 10:12:33 -07:00
Pavel Feldman
4cce7e5bff
doc: document mocking read-only browser apis ( #30122 )
...
Documents https://github.com/microsoft/playwright/issues/30115
2024-03-26 14:20:20 -07:00
Dmitry Gozman
757f308475
docs: release notes 1.43 for js ( #30128 )
2024-03-26 13:25:00 -07:00
Yury Semikhatsky
021c5c108c
chore: revert support of duplicate form data fields in multipart post data ( #30127 )
...
We want to adopt FormData API for the requests.
This is a revert of 4b3c596874 and
a849ea9741
Reference https://github.com/microsoft/playwright/issues/28070
2024-03-26 12:36:35 -07:00
Julian Luis Almandos
c27ec77d55
docs(test-projects-js.md): fix typo in "Test filtering" section ( #30114 )
2024-03-26 08:15:02 -07:00
Pavel Feldman
2de8a6b002
chore: move filter params into the clearCookies ( #30111 )
2024-03-26 08:12:26 -07:00
Yury Semikhatsky
a849ea9741
feat(fetch): multiple fields with the same name in post data ( #30104 )
...
Rerefence https://github.com/microsoft/playwright/issues/28070
2024-03-25 15:39:45 -07:00
Yury Semikhatsky
4b3c596874
docs(fetch): multiple fields with the same name in java and .net ( #30105 )
...
Reference https://github.com/microsoft/playwright/issues/28070
2024-03-25 13:49:09 -07:00
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