Releases: LironEr/cypress-mochawesome-reporter
Releases · LironEr/cypress-mochawesome-reporter
v3.3.0
Features
- Typescript support (PR #131) resolves #127 @joakim-sch
- Declare
addTestContext
type
- Add typescript example
v3.2.3
Fixes
- Special chars in screenshot urls aren't properly escaped (PR #110) resolves #106
v3.2.1
Fixes
- unable to find jsons folder when cypress config is not in project root (PR #97) resolves #95 #88
v3.2.0
Features
- allow the usage of javascript configFile in mocha reporter options (PR #87) @jogelin
v3.1.0
Features
- Add the option to disable this reporter by adding env var
DISABLE_CYPRESS_MOCHAWESOME_REPORTER=true
(PR #79) resolves #68
- Add
addTestContext
command, uses Mochawesome addContext
under the hood (PR #81) resolves #75
// context can be a simple string
cy.addTestContext('simple string');
// context can be a url and the report will create a link
cy.addTestContext('http://www.url.com/pathname');
// context can be an image url and the report will show it inline
cy.addTestContext('http://www.url.com/screenshot-maybe.jpg');
// context can be an object with title and value properties
cy.addTestContext({
title: 'expected output',
value: {
a: 1,
b: '2',
c: 'd',
},
});
Fixes
- Revert: Ignore hooks if this reporter is not the active reporter (PR #78) resolves #76
- Don't copy screenshots if the source and destination are the same (PR #80) resolves #52
v3.0.1
Fixes
- Run on tests without suite (PR #71) resolves #69
- Ignore hooks if this reporter is not the active reporter (PR #74) resolves #68
Dependencies upgrade
mochawesome
^7.1.3
mochawesome-report-generator
^6.2.0
v3.0.0
Breaking changes
- Dropped support for Node<14 (PR #59)