Commit graph

2866 commits

Author SHA1 Message Date
Max Schmitt 4bd2d2502e cherry-pick(#31511): docs(clock): update time types in Python/.NET 2024-07-03 10:48:18 +02:00
Max Schmitt 1d94caa103 cherry-pick(#31496): docs(release-notes): fix .NET snippets 2024-07-01 19:21:31 +02:00
Dmitry Gozman 4f3f6eecae cherry-pick(#31421): docs: release notes for 1.45 2024-06-24 12:24:29 -07:00
Yury Semikhatsky d557b7b256
cherry-pick(#31420): docs(java): correctly parse time (#31422) 2024-06-24 12:24:13 -07:00
Dmitry Gozman 1368bca737 cherry-pick(#31419): docs: deprecate handle option in exposeBinding 2024-06-24 11:30:17 -07:00
Max Schmitt 4ae151f42a cherry-pick(#31340): docs: add guide for print dialogs 2024-06-19 18:12:10 +02:00
Max Schmitt a11585f0d6 cherry-pick(#31331): docs(test-parameterize): improve forEach example 2024-06-19 18:11:48 +02:00
Max Schmitt afcf8d296c cherry-pick(#31350): docs: fix typo in 1.45 release notes 2024-06-19 09:27:21 +02:00
Yury Semikhatsky 56ca1e13e1
cherry-pick(#31369): docs: use long for time in milliseconds (#31371)
In Java and .NET int is not enough to store millis since epoch.
2024-06-18 11:02:07 -07: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