init: базовая структура АТ
This commit is contained in:
25
playwright.config.ts
Normal file
25
playwright.config.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { defineConfig } from '@playwright/test';
|
||||
|
||||
export default defineConfig({
|
||||
testDir: './tests',
|
||||
timeout: 30000,
|
||||
expect: {
|
||||
timeout: 5000
|
||||
},
|
||||
reporter: [
|
||||
['html', { outputFolder: 'playwright-report', open: 'never' }],
|
||||
['list'],
|
||||
['allure-playwright']
|
||||
],
|
||||
use: {
|
||||
headless: false,
|
||||
launchOptions: {
|
||||
slowMo: 300,
|
||||
},
|
||||
viewport: { width: 1280, height: 720 },
|
||||
ignoreHTTPSErrors: true,
|
||||
screenshot: 'only-on-failure',
|
||||
video: 'retain-on-failure',
|
||||
baseURL: 'https://rumc.dev.rdcenter.ru'
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user