test: add db-restore step before tests
This commit is contained in:
@@ -42,10 +42,15 @@ module.exports = defineConfig({
|
|||||||
|
|
||||||
/* Configure projects for major browsers */
|
/* Configure projects for major browsers */
|
||||||
projects: [
|
projects: [
|
||||||
|
{
|
||||||
|
name: 'db-restore',
|
||||||
|
testMatch: /.*\.teardown\.js/,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'setup',
|
name: 'setup',
|
||||||
testMatch: /.*\.setup\.js/,
|
testMatch: /.*\.setup\.js/,
|
||||||
teardown: 'teardown',
|
teardown: 'teardown',
|
||||||
|
dependencies: ['db-restore'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'teardown',
|
name: 'teardown',
|
||||||
|
|||||||
Reference in New Issue
Block a user