treker-po-trenirovkam-i-pit.../playwright.config.js
Peppa 8abdffba01
All checks were successful
peppa/lint lint: success за 0с
peppa/test test: success за 1с
peppa/build build: success за 1с
ci / checks (pull_request) Successful in 7s
deploy / deploy (pull_request) Successful in 26s
TPTIP-4: приватный профиль и расчёт питания по введённым данным
2026-11-17 12:23:14 +05:00

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' }
]
});