Concept-Garant/playwright.config.ts

20 lines
382 B
TypeScript
Raw Normal View History

2025-05-22 19:50:19 +03:00
import { defineConfig, devices } from '@playwright/test';
2025-05-22 13:02:10 +03:00
export default defineConfig({
2025-05-22 19:50:19 +03:00
testDir: 'src',
2025-05-22 13:02:10 +03:00
retries: 0,
2025-05-22 19:50:19 +03:00
reporter: 'list',
timeout: 30 * 1000,
2025-05-22 13:02:10 +03:00
fullyParallel: true,
projects: [
{
2025-05-22 19:50:19 +03:00
name: 'Desktop Chrome',
use: { ...devices['Desktop Chrome'] }
}
2025-05-22 13:02:10 +03:00
],
use: {
2025-05-22 19:50:19 +03:00
baseURL: 'https://internet.garant.ru/',
storageState: 'auth.json'
}
2025-05-22 13:02:10 +03:00
});