test: add db-restore step before tests

This commit is contained in:
Jakub P.
2024-12-21 20:25:33 +01:00
parent f8b89766eb
commit 9d5b780450

View File

@@ -42,10 +42,15 @@ module.exports = defineConfig({
/* Configure projects for major browsers */
projects: [
{
name: 'db-restore',
testMatch: /.*\.teardown\.js/,
},
{
name: 'setup',
testMatch: /.*\.setup\.js/,
teardown: 'teardown',
dependencies: ['db-restore'],
},
{
name: 'teardown',