treker-po-trenirovkam-i-pit.../playwright.config.js

10 lines
409 B
JavaScript

const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests/browser',
use: { baseURL: 'http://127.0.0.1:3093', browserName: 'chromium' },
webServer: [
{ command: 'node profile-server.mjs', env: { PORT: '3093' }, url: 'http://127.0.0.1:3093/healthz' },
{ command: 'node server.js', env: { PORT: '3094' }, url: 'http://127.0.0.1:3094/healthz' }
]
});