0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-30 22:34:01 -05:00

Added custom reporter host

This commit is contained in:
Ronald Langeveld 2024-10-25 02:45:09 +00:00
parent ac23a7a95a
commit b8eb77b499
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,7 @@
import {adminXPlaywrightConfig} from '@tryghost/admin-x-framework/playwright';
import { adminXPlaywrightConfig } from '@tryghost/admin-x-framework/playwright';
export default adminXPlaywrightConfig();
export default adminXPlaywrightConfig({
reporter: [
['html', { host: '0.0.0.0', port: 9323 }],
]
});

View file

@ -16,7 +16,9 @@ export default defineConfig({
/* Hardcode to use all cores in CI */
workers: process.env.CI ? '100%' : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
reporter: [
['html', {host: '0.0.0.0', port: 9323}],
],
timeout: process.env.PLAYWRIGHT_SLOWMO ? 100000 : 20000,
expect: {
timeout: process.env.PLAYWRIGHT_SLOWMO ? 100000 : 5000