From 93d147cf28d8bd04166f00c547ae5baaf27e0946 Mon Sep 17 00:00:00 2001 From: Debbie O'Brien Date: Fri, 28 Jun 2024 20:04:31 +0200 Subject: [PATCH] docs: add release video (#31482) --- docs/src/clock.md | 8 ++++++++ docs/src/release-notes-js.md | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/docs/src/clock.md b/docs/src/clock.md index 86d0ad9a10..9fb748f441 100644 --- a/docs/src/clock.md +++ b/docs/src/clock.md @@ -2,6 +2,7 @@ id: clock title: "Clock" --- +import LiteYouTube from '@site/src/components/LiteYouTube'; ## Introduction @@ -353,3 +354,10 @@ await Expect(locator).ToHaveTextAsync("2/2/2024, 10:00:00 AM"); await Page.Clock.RunForAsync(2000); await Expect(locator).ToHaveTextAsync("2/2/2024, 10:00:02 AM"); ``` + +## Related Videos + + diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index 839a4ab07b..5bcea8962b 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -8,6 +8,11 @@ import LiteYouTube from '@site/src/components/LiteYouTube'; ## Version 1.45 + + ### Clock Utilizing the new [Clock] API allows to manipulate and control time within tests to verify time-related behavior. This API covers many common scenarios, including: