Files
GustavoandClaude Sonnet 5 417da56bd6 chore: import maquina-comercial-pessoal history via subtree
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

git-subtree-dir: maquina-comercial-pessoal
git-subtree-mainline: f5af038e19
git-subtree-split: a9ef4d776d
2026-09-28 15:50:17 -03:00

38 lines
881 B
JavaScript

import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests/browser',
testMatch: '*.spec.mjs',
timeout: 60000,
expect: { timeout: 15000 },
fullyParallel: false,
retries: process.env.CI ? 2 : 0,
workers: 1,
reporter: process.env.CI ? 'github' : 'list',
use: {
baseURL: 'http://127.0.0.1:3911',
trace: 'on-first-retry',
screenshot: 'only-on-failure',
},
projects: [
{
name: 'desktop',
use: {
viewport: { width: 1440, height: 900 },
browserName: 'chromium',
launchOptions: { args: ['--no-sandbox', '--disable-setuid-sandbox'] },
},
},
{
name: 'mobile',
use: {
viewport: { width: 390, height: 844 },
browserName: 'chromium',
launchOptions: { args: ['--no-sandbox', '--disable-setuid-sandbox'] },
},
},
],
});