Skip to content

Commit 053e391

Browse files
committed
OBPIH-6969 Include data import in configuration
1 parent 9fa9da7 commit 053e391

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

playwright.config.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default defineConfig({
3232

3333
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
3434
trace: 'retain-on-failure',
35-
35+
3636
launchOptions: {
3737
// slowMo: 1000,
3838
},
@@ -60,14 +60,23 @@ export default defineConfig({
6060
storageState: appConfig.users['main'].storagePath,
6161
},
6262
},
63+
{
64+
name: 'data-import-setup',
65+
testMatch: 'dataImport.setup.ts',
66+
testDir: './src/setup',
67+
dependencies: ['create-data-setup'],
68+
use: {
69+
storageState: appConfig.users['main'].storagePath,
70+
},
71+
},
6372
{
6473
name: 'chromium',
6574
use: {
6675
...devices['Desktop Chrome'],
6776
viewport: { width: 1366, height: 768 },
6877
storageState: appConfig.users['main'].storagePath,
6978
},
70-
dependencies: ['auth-setup', 'create-data-setup'],
79+
dependencies: ['auth-setup', 'create-data-setup', 'data-import-setup'],
7180
},
7281
],
7382
});

0 commit comments

Comments
 (0)