| 1234567891011121314151617181920212223242526 |
- const { defineConfig, devices } = require('@playwright/test');
- module.exports = defineConfig({
- testDir: './e2e',
- timeout: 30000,
- retries: 0,
- workers: 1,
- reporter: 'list',
- use: {
- baseURL: 'https://ajy.danclub.cn',
- headless: true,
- screenshot: 'only-on-failure',
- launchOptions: {
- executablePath: '/usr/bin/chromium-browser',
- args: ['--no-sandbox', '--disable-setuid-sandbox'],
- },
- },
- projects: [
- {
- name: 'chromium',
- use: {
- browserName: 'chromium',
- },
- },
- ],
- });
|