Cypress Mochawesome Reporter Versions Save

Zero config Mochawesome reporter for Cypress with screenshots and videos

v3.3.0

1 year ago

Features

  • Typescript support (PR #131) resolves #127 @joakim-sch
    • Declare addTestContext type
    • Add typescript example

v3.2.3

1 year ago

Fixes

  • Special chars in screenshot urls aren't properly escaped (PR #110) resolves #106

v3.2.2

1 year ago

v3.2.1

1 year ago

Fixes

  • unable to find jsons folder when cypress config is not in project root (PR #97) resolves #95 #88

v3.2.0

1 year ago

Features

  • allow the usage of javascript configFile in mocha reporter options (PR #87) @jogelin

v3.1.0

2 years ago

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

2 years ago

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

2 years ago

Breaking changes

  • Dropped support for Node<14 (PR #59)

v2.4.0

2 years ago

Features

  • Add debug flag (PR #50)

Fixes

  • Fix overwrite flag (PR #60) resolves #36 #56

v2.3.0

2 years ago

Features

  • Save screenshots of all test attempts (PR #48) resolves #47