2
0

playwright.config.ts 364 B

123456789101112131415
  1. // playwright.config.js
  2. require('dotenv').config();
  3. const { defineConfig } = require('@playwright/test');
  4. module.exports = defineConfig({
  5. projects: [
  6. {
  7. name: 'chromium',
  8. use: {
  9. browserName: 'chromium',
  10. baseURL: process.env.BASE_URL || 'http://localhost:3000'
  11. },
  12. },
  13. ],
  14. });