2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-07 04:12:11 +00:00

increase timeouts

This commit is contained in:
Matthias Mair
2024-04-15 23:35:26 +02:00
parent 6d50d09d16
commit 100459a66a
2 changed files with 2 additions and 1 deletions

View File

@@ -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,

View File

@@ -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');