adds tests

This commit is contained in:
Christian Beutel
2025-01-21 14:37:52 +01:00
parent c40e01d56c
commit 7571f6e9b9
10 changed files with 66 additions and 6 deletions

View File

@@ -33,6 +33,12 @@ export default defineConfig({
/* Configure projects for major browsers */
projects: [
{ name: 'setup', testMatch: /.*\.setup\.ts/ },
{
name: 'teardown', testMatch: /.*\.teardown\.ts/, use:
{
storageState: 'playwright/.auth/user.json',
}
},
// {
// name: 'firefox',
@@ -46,6 +52,7 @@ export default defineConfig({
{
name: 'chromium',
// dependencies: ['setup'],
use: {
...devices['Desktop Chrome'],
storageState: 'playwright/.auth/user.json',