diff --git a/e2e/protractor.conf.js b/e2e/protractor.conf.js index 103a6082e0bcbe4cc2a76c1b6e606169cb961411..44b20685fae5e095094e36b6482e52f6f4890333 100644 --- a/e2e/protractor.conf.js +++ b/e2e/protractor.conf.js @@ -43,13 +43,8 @@ const localConfig = { if (typeof globalThis === 'undefined') global.globalThis = {} jasmine.getEnv().addReporter({ specDone: async ({ status, id, fullName, ...rest }) => { - if (status !== 'passed') { - if (process.stdout.isTTY) { - console.log(`\x1b[31m&s\x1b[0m`, 'F') - console.log(`spec failed, taking screenshot`) - } else { - console.log(`F`) - } + if (status === 'failed') { + console.log(`spec failed, taking screenshot`) const b64 = await globalThis.IAVBase.takeScreenshot() const dir = './scrnsht/' await asyncMkdir(dir, { recursive: true })