Skip to content

Releases: LironEr/cypress-mochawesome-reporter

v3.4.0

22 Apr 15:34
Compare
Choose a tag to compare

Features

v3.3.0

09 Feb 22:31
Compare
Choose a tag to compare

Features

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

v3.2.3

06 Oct 18:27
Compare
Choose a tag to compare

Fixes

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

v3.2.2

11 Aug 18:39
Compare
Choose a tag to compare

Fixes

v3.2.1

10 Aug 19:53
Compare
Choose a tag to compare

Fixes

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

v3.2.0

23 Jun 20:32
Compare
Choose a tag to compare

Features

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

v3.1.0

13 May 13:29
Compare
Choose a tag to compare

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

12 Apr 19:51
Compare
Choose a tag to compare

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

07 Mar 21:29
c19db90
Compare
Choose a tag to compare

Breaking changes

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

v2.4.0

07 Mar 21:18
1944c4a
Compare
Choose a tag to compare

Features

  • Add debug flag (PR #50)

Fixes

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