chore: scaffold reddit-post Playwright sidecar project

This commit is contained in:
Doar Mihai
2026-07-18 18:08:18 +03:00
parent b237617c35
commit 2e53a8767b
5 changed files with 135 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
// @ts-check
const { defineConfig, devices } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests',
timeout: 60_000,
expect: { timeout: 15_000 },
retries: 0,
reporter: [['list']],
use: {
headless: process.env.HEADLESS !== 'false',
screenshot: 'only-on-failure',
trace: 'retain-on-failure',
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
});