supplier_central_frontend/playwright.config.ts
vickytechkey dfdbf2b1d5
All checks were successful
Beta CI/CD Pipeline / build-and-test (push) Successful in 45s
Beta CI/CD Pipeline / deploy-beta (push) Successful in 6s
fix type mismatch in order printer comparison
2026-08-14 15:35:29 +05:30

30 lines
670 B
TypeScript

import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: './playwright/e2e',
fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: 1,
reporter: 'html',
use: {
baseURL: 'https://betasuppliers.tipro.in/',
trace: 'on-first-retry',
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'] },
},
],
});