mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 03:07:46 +01:00
* fix(contact): require saved requests and add real browser rollout journeys * test(browser): preserve project viewport in no-script journey * test(browser): use published long article for contents navigation * test(browser): exercise production runtime and retain failure diagnostics * test(browser): target the contact alert and real standalone entrypoint
19 lines
566 B
TypeScript
19 lines
566 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
|
|
export default defineConfig({
|
|
testDir: './browser-tests',
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
use: { baseURL: 'http://127.0.0.1:3919', trace: 'retain-on-failure' },
|
|
projects: [
|
|
{ name: 'phone', use: { viewport: { width: 390, height: 844 } } },
|
|
{ name: 'desktop', use: { viewport: { width: 1280, height: 900 } } },
|
|
],
|
|
webServer: {
|
|
command: 'bash browser-tests/start-server.sh',
|
|
url: 'http://127.0.0.1:3919/blog/welcome-post',
|
|
timeout: 180_000,
|
|
reuseExistingServer: false,
|
|
},
|
|
});
|