CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

[Error] [Feature-Request] BeforeSuite, AfterSuite in Allure Reports

Open xaota opened this issue 7 years ago • 1 comments

xaota avatar Oct 08 '18 05:10 xaota

as workaround:

//avoid allure warnings in logs
export function filterAllureWarn(...args): void {
  const messages = args.filter((e) => typeof e == "string");
  for (const m in messages) {
    if (messages[m].includes("allure-js-commons") != -1) {
    }
  }
}

and add to BeforeSuite/AfterSuite console.warn = filterAllureWarn; //avoid allure warnings in logs

hatufacci avatar Oct 04 '22 10:10 hatufacci

Shall be handled separately by allure plugin

kobenguyent avatar Apr 16 '24 15:04 kobenguyent