Cypress: Add cypress-terminal-report printLogsToConsole option

This is already the default behavior. Writing it here just
makes it easier to change.

Signed-off-by: Neil Guertin <neil.guertin@collabora.com>
Change-Id: Iebde47f5b64ae1509e7f37b884ad71fdc067b164
pull/7958/merge
Neil Guertin 2024-05-08 10:51:06 -04:00 committed by Neil Guertin
parent 982f865cc7
commit 5a9c6a0e37
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ export default defineConfig({
e2e: {
baseUrl: 'http://' + process.env.COOLWSD_SERVER + ':' + process.env.FREE_PORT,
setupNodeEvents(on, config) {
installLogsPrinter(on);
installLogsPrinter(on, {
printLogsToConsole: 'onFail', // 'always', 'onFail', 'never'
});
plugin(on, config);
},
specPattern: 'integration_tests/**/*_spec.js',