From 8d3dd01724be4b43b77004a5346058e298d74046 Mon Sep 17 00:00:00 2001 From: mahula Date: Tue, 11 Jul 2023 20:40:18 +0200 Subject: [PATCH] add htlm report creation script --- cypress/create-cucumber-html-report.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 cypress/create-cucumber-html-report.js diff --git a/cypress/create-cucumber-html-report.js b/cypress/create-cucumber-html-report.js new file mode 100644 index 000000000..9720f4281 --- /dev/null +++ b/cypress/create-cucumber-html-report.js @@ -0,0 +1,12 @@ +const report = require("multiple-cucumber-html-reporter"); + +const reportTitle = "Ocelot webapp end-to-end test report" + +report.generate({ + jsonDir: "reports/json_logs", + reportPath: "./reports/cucumber_html_report", + pageTitle: reportTitle, + reportName: reportTitle, + pageFooter: "
", + hideMetadata: true +}); \ No newline at end of file