docs: add release video (#31482)
This commit is contained in:
parent
9bc45ea2fc
commit
93d147cf28
|
|
@ -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
|
||||
|
||||
<LiteYouTube
|
||||
id="54_aC-rVKHg"
|
||||
title="Playwright 1.45"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,11 @@ import LiteYouTube from '@site/src/components/LiteYouTube';
|
|||
|
||||
## Version 1.45
|
||||
|
||||
<LiteYouTube
|
||||
id="54_aC-rVKHg"
|
||||
title="Playwright 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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue