-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
28 lines (26 loc) · 845 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
var reporter = require('cucumber-html-reporter')
var options = {
theme: 'bootstrap',
jsonFile: 'test/report/cucumber_report.json',
output: 'test/report/cucumber_report.html',
screenshotsDirectory: '.screenshots/',
screenshotsOnError: true,
captureAllStepScreenshots: false,
saveScreenshotsToDisk: true,
// Note: With a large viewport size and captureAllStepScreenshots enabled,
// you may run out of memory. Use browser.setViewportSize to make the
// viewport size smaller.
saveScreenshotsToReport: true,
reportSuiteAsScenarios: true,
launchReport: true,
brandTitle: 'Acceptance Tests',
metadata: {
'App Version': 'beta2',
'Test Environment': 'TEST',
'Browser': 'Chrome 64.0.3282.186',
'Platform': 'MAC OSX',
'Parallel': 'Scenarios',
'Executed': 'Remote'
}
}
reporter.generate(options)