test(improve-setup): sharding configuration, allow accessing cornerstone methods and events in tests, and add types (#4255)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-06-25 10:16:51 -04:00
1 parent 2bcdb52db9
commit c9cc372581
21 files changed
+113 -26

No files matched your search

+6 -1
View File
@@ -8,7 +8,12 @@ export default defineConfig({
workers: process.env.CI ? 1 : undefined,
snapshotPathTemplate: './tests/screenshots{/projectName}/{testFilePath}/{arg}{ext}',
outputDir: './tests/test-results',
reporter: [['html', { outputFolder: './tests/playwright-report' }]],
reporter: [
[
process.env.CI ? 'blob' : 'html',
{ outputFolder: './tests/playwright-report' },
],
],
timeout: 720 * 1000,
use: {
baseURL: 'http://localhost:3000',