13 Commits

Author SHA1 Message Date
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
Michael Render
1d930542e1
docs(clock): Fix C# version of clock documentation (#31560) 2024-07-08 19:01:04 +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
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
865f0d8221
docs(java): correctly parse time (#31420) 2024-06-24 11:28:43 -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
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
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