fix to use with sveltekit
This commit is contained in:
15
tests/e2e/index.spec.js
Normal file
15
tests/e2e/index.spec.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import {setTimeout} from 'node:timers/promises'
|
||||
import {
|
||||
// expect,
|
||||
test,
|
||||
} from '@playwright/test'
|
||||
|
||||
test('general', async ({page}) => {
|
||||
await page.goto('/')
|
||||
|
||||
await setTimeout(1000)
|
||||
|
||||
await page.screenshot({
|
||||
path: './tests/e2e/__snapshots__/index.spec.js.png',
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user