Skip to main content
Version: 1.x

Variable: clockTest

const clockTest: TestType<PlaywrightTestArgs & PlaywrightTestOptions & ClockFixtures, PlaywrightWorkerArgs & PlaywrightWorkerOptions>

Playwright test object extended with the ui5Clock fixture.

Remarks​

Constructing the fixture has no effect on the page. Nothing changes until a test calls install(), which keeps time-sensitive SAP auth flows untouched in every test that does not opt in.

Capability​

ui5Clock.install

Example​

clockTest('validity date boundary', async ({ page, ui5Clock }) => {
await ui5Clock.install('2026-12-31T23:59:00Z');
await page.goto('/');
});