veriqa-test-advisor
Version:
AI-powered regression test case advisor CLI tool with integrated Manual QA support
48 lines (46 loc) • 1.02 kB
JavaScript
// // playwright.config.js
// module.exports = {
// testDir: 'tests',
// timeout: 30000,
// retries: 0,
// reporter: 'list',
// };
// playwright.config.js
const { defineConfig, devices } = require('@playwright/test');
module.exports = defineConfig({
testDir: 'tests',
timeout: 30 * 1000,
retries: 0,
reporter: [
['list'],
['allure-playwright'] // <-- Allure JSON output in ./allure-results
],
use: {
trace: 'on-first-retry', // optional: useful for debugging
screenshot: 'only-on-failure',
video: 'retain-on-failure'
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
// Mobile devices
{
name: 'Mobile Chrome',
use: { ...devices['Pixel 5'] },
},
{
name: 'Mobile Safari',
use: { ...devices['iPhone 12'] },
},
],
});