feat: add Playwright UI test for post-with-photo flow

This commit is contained in:
2026-06-18 20:35:17 +02:00
parent 1fa8ff954d
commit 545e3f5ba0
7 changed files with 139 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
// @ts-check
const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests/ui',
globalSetup: './tests/global-setup.js',
timeout: 30_000,
retries: 0,
use: {
baseURL: process.env.GRAV_BASE_URL || 'http://localhost:8081',
headless: true,
screenshot: 'only-on-failure',
video: 'off',
},
reporter: [['line']],
});