test: add db-restore step before tests
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user