Skip to content

Commit 355e396

Browse files
enable headless
1 parent b4f5c1b commit 355e396

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

packages/web/vitest.config.ts

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,29 @@ const config: UserConfigExport = {
5454
*/
5555
isolate: true,
5656
provider: 'playwright',
57-
headless: false,
57+
headless: true,
5858
instances: [
59-
{
60-
browser: 'chromium'
61-
}
59+
// {
60+
// browser: 'chromium'
61+
// },
6262
// {
6363
// browser: 'firefox'
6464
// }
6565
// This requires some additional work to get all tests passing
6666
// {
6767
// browser: 'webkit'
6868
// }
69-
]
69+
],
70+
// Disable private browsing mode for WebKit
71+
// This allows persistent storage (IndexedDB, localStorage, etc.) to work properly
72+
providerOptions: {
73+
webkit: {
74+
launch: {
75+
// WebKit-specific launch options
76+
},
77+
context: {}
78+
}
79+
}
7080
}
7181
}
7282
};

0 commit comments

Comments
 (0)