fix tests, remove rate limit in non production environments

This commit is contained in:
Gregor Vostrak
2024-03-13 14:15:56 +01:00
parent 37cf43fe2d
commit 7320efd0a9
4 changed files with 10 additions and 9 deletions

View File

@@ -20,14 +20,14 @@ export default defineConfig({
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: process.env.CI ? 'list' : 'html',
reporter: process.env.CI ? 'github' : 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
// baseURL: 'http://127.0.0.1:3000',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
trace: 'on',
},
/* Configure projects for major browsers */