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:
parent
ac23a7a95a
commit
b8eb77b499
2 changed files with 9 additions and 3 deletions
|
@ -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 }],
|
||||
]
|
||||
});
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue