diff --git a/src/frontend/playwright.config.ts b/src/frontend/playwright.config.ts index d40ec5cf42..5cdc624d5d 100644 --- a/src/frontend/playwright.config.ts +++ b/src/frontend/playwright.config.ts @@ -3,6 +3,7 @@ import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ testDir: './tests', fullyParallel: true, + timeout: 60000, forbidOnly: !!process.env.CI, retries: process.env.CI ? 1 : 0, workers: process.env.CI ? 2 : undefined, diff --git a/src/frontend/tests/pui_command.spec.ts b/src/frontend/tests/pui_command.spec.ts index bfaf49499f..9338f1e3f5 100644 --- a/src/frontend/tests/pui_command.spec.ts +++ b/src/frontend/tests/pui_command.spec.ts @@ -51,7 +51,7 @@ test('PUI - Quick Command - no keys', async ({ page }) => { await page.getByLabel('username').fill(user.username); await page.getByLabel('password').fill(user.password); await page.getByRole('button', { name: 'Log in' }).click(); - await page.waitForURL('**/platform'); + await page.waitForURL('**/platform/*'); await expect(page).toHaveTitle('InvenTree'); await page.waitForURL('**/platform');