Created
August 6, 2020 04:49
-
-
Save samlucax/268813502f3427e56cfb734a89431997 to your computer and use it in GitHub Desktop.
Código do reporter construído na Semana Agilizei 1.0 - Aula 04 - Relatórios
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const reporter = require('cucumber-html-reporter') | |
const options = { | |
theme: 'bootstrap', | |
jsonDir: 'cypress/reports/cucumber-json', | |
output: 'cypress/reports/cucumber_report.html', | |
reportSuiteAsScenarios: true, | |
scenarioTimestamp: true, | |
launchReport: true, | |
metadata: { | |
"App Name":"Demo Automation", | |
"Test Environment": "STAGING", | |
"Browser": "Electron", | |
"Platform": "Windows 10", | |
"Executed": "Local" | |
} | |
}; | |
reporter.generate(options) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment