mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	increase timeouts
This commit is contained in:
		@@ -3,6 +3,7 @@ import { defineConfig, devices } from '@playwright/test';
 | 
				
			|||||||
export default defineConfig({
 | 
					export default defineConfig({
 | 
				
			||||||
  testDir: './tests',
 | 
					  testDir: './tests',
 | 
				
			||||||
  fullyParallel: true,
 | 
					  fullyParallel: true,
 | 
				
			||||||
 | 
					  timeout: 60000,
 | 
				
			||||||
  forbidOnly: !!process.env.CI,
 | 
					  forbidOnly: !!process.env.CI,
 | 
				
			||||||
  retries: process.env.CI ? 1 : 0,
 | 
					  retries: process.env.CI ? 1 : 0,
 | 
				
			||||||
  workers: process.env.CI ? 2 : undefined,
 | 
					  workers: process.env.CI ? 2 : undefined,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -51,7 +51,7 @@ test('PUI - Quick Command - no keys', async ({ page }) => {
 | 
				
			|||||||
  await page.getByLabel('username').fill(user.username);
 | 
					  await page.getByLabel('username').fill(user.username);
 | 
				
			||||||
  await page.getByLabel('password').fill(user.password);
 | 
					  await page.getByLabel('password').fill(user.password);
 | 
				
			||||||
  await page.getByRole('button', { name: 'Log in' }).click();
 | 
					  await page.getByRole('button', { name: 'Log in' }).click();
 | 
				
			||||||
  await page.waitForURL('**/platform');
 | 
					  await page.waitForURL('**/platform/*');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  await expect(page).toHaveTitle('InvenTree');
 | 
					  await expect(page).toHaveTitle('InvenTree');
 | 
				
			||||||
  await page.waitForURL('**/platform');
 | 
					  await page.waitForURL('**/platform');
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user