mirror of
https://github.com/gromlab-ru/svg-sprites.git
synced 2026-07-22 04:40:17 +03:00
test: добавить площадку интеграционного тестирования
- добавлены consumer fixtures для React и Next.js - добавлены typecheck, production build и браузерные smoke-тесты - добавлена интеграционная проверка в CI
This commit is contained in:
16
integration/playwright.config.ts
Normal file
16
integration/playwright.config.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineConfig } from '@playwright/test'
|
||||
|
||||
export default defineConfig({
|
||||
testDir: './tests',
|
||||
fullyParallel: false,
|
||||
workers: 1,
|
||||
timeout: 120_000,
|
||||
expect: {
|
||||
timeout: 10_000,
|
||||
},
|
||||
reporter: process.env.CI ? 'github' : 'list',
|
||||
use: {
|
||||
browserName: 'chromium',
|
||||
headless: true,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user