@frinzekt/cypress-allure-plugin
Version:
allure reporting plugin for cypress modified for video. Originally by @shelex
43 lines (40 loc) • 932 B
JavaScript
/**
* Stubbed Allure interface for case when it is disabled
*/
module.exports = {
reporter: {
getInterface: () => {
return stubbedAllure;
}
}
};
const stubbedAllure = {
epic: () => {},
feature: () => {},
story: () => {},
suite: () => {},
label: () => {},
parameter: () => {},
link: () => {},
issue: () => {},
tms: () => {},
description: () => {},
descriptionHtml: () => {},
owner: () => {},
severity: () => {},
tag: () => {},
writeEnvironmentInfo: () => {},
writeCategoriesDefinitions: () => {},
writeExecutorInfo: () => {},
attachment: () => {},
testAttachment: () => {},
step: () => {},
startStep: () => {},
stepStart: () => {},
stepEnd: () => {},
endStep: () => {},
fileAttachment: () => {},
testDescription: () => {},
testDescriptionHtml: () => {},
testParameter: () => {}
};