mirror of
https://github.com/fergalmoran/supanextail.git
synced 2025-12-22 09:17:54 +00:00
31 lines
754 B
TypeScript
31 lines
754 B
TypeScript
// playwright.config.ts
|
|
|
|
import { PlaywrightTestConfig } from '@playwright/test';
|
|
|
|
const config: PlaywrightTestConfig = {
|
|
projects: [
|
|
{
|
|
name: 'Chrome Stable',
|
|
use: {
|
|
baseURL: process.env.NEXT_PUBLIC_VERCEL_URL
|
|
? process.env.NEXT_PUBLIC_VERCEL_URL
|
|
: 'http://localhost:3000',
|
|
browserName: 'chromium',
|
|
// Test against Chrome Stable channel.
|
|
channel: 'chrome',
|
|
},
|
|
},
|
|
{
|
|
name: 'Desktop Safari',
|
|
use: {
|
|
baseURL: process.env.NEXT_PUBLIC_VERCEL_URL
|
|
? process.env.NEXT_PUBLIC_VERCEL_URL
|
|
: 'http://localhost:3000',
|
|
browserName: 'webkit',
|
|
viewport: { width: 1200, height: 750 },
|
|
},
|
|
},
|
|
],
|
|
};
|
|
export default config;
|