CodeceptJS
CodeceptJS copied to clipboard
[Error] [Feature-Request] BeforeSuite, AfterSuite in Allure Reports
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
Shall be handled separately by allure plugin