Skip to main content

wait

Pause test execution.

API

interface Utils {
wait(seconds: number): Promise<void>
}

Example

import { test } from '@pw-codeceptjs/test'

test('Example', async ({ I }) => {
await I.use.utils.wait(2)
})