feat: add Playwright UI test for post-with-photo flow
This commit is contained in:
@@ -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']],
|
||||
});
|
||||
Reference in New Issue
Block a user