Zero config Mochawesome reporter for Cypress with screenshots and videos
DISABLE_CYPRESS_MOCHAWESOME_REPORTER=true
(PR #79) resolves #68addTestContext
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',
},
});