feat(openapi): complete upload preview and UI evidence

This commit is contained in:
2026-08-28 15:38:14 +03:00
parent d2849ea3fe
commit 2c94af6791
35 changed files with 3655 additions and 537 deletions
+9 -3
View File
@@ -2,6 +2,14 @@ const { defineConfig, devices } = require('@playwright/test');
const baseURL = process.env.PLAYWRIGHT_BASE_URL || 'http://127.0.0.1:3300';
const skipWebServer = process.env.PLAYWRIGHT_SKIP_WEB_SERVER === '1';
const jsonOutput = process.env.PLAYWRIGHT_JSON_OUTPUT;
const reporters = process.env.CI
? [['github'], ['html', { open: 'never' }]]
: [['list'], ['html', { open: 'never' }]];
if (jsonOutput) {
reporters.push(['json', { outputFile: jsonOutput }]);
}
module.exports = defineConfig({
testDir: './tests/e2e',
@@ -12,9 +20,7 @@ module.exports = defineConfig({
timeout: 10_000,
},
retries: process.env.CI ? 1 : 0,
reporter: process.env.CI
? [['github'], ['html', { open: 'never' }]]
: [['list'], ['html', { open: 'never' }]],
reporter: reporters,
use: {
baseURL,
trace: 'on-first-retry',