cypress-allure-plugin: Cypress 12.15.0 breaks allure reporting

Probably Cypress’s fault and likely to be fixed when they fix cy.task (update: see https://github.com/Shelex/cypress-allure-plugin/issues/216#issuecomment-1625253277 below), but I thought I’d create an issue so you’re aware. See https://github.com/cypress-io/cypress/issues/27113

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 11
  • Comments: 23

Most upvoted comments

The plugin does not work with Cypress 12.17.2, neither 😦

Done quick test on Cypress version 12.17.1 and @shelex/cypress-allure-plugin: 2.40.0 , Still it is broken

Starting with 12.15, event task doesn’t fire anymore (here), thus allureMapping never gets set, thus results (here and here) never output anything to results. There’s a related defect for task event https://github.com/cypress-io/cypress/issues/27099

Screenshot 2023-09-21 122251 Screenshot 2023-09-21 113504

This plugin solves the problem with Cypress ^12.15 and Allure Report

https://www.npmjs.com/package/@mmisty/cypress-allure-adapter

For the record, a project I’m involved with doesn’t work on 12.14 either. Any version after 12.10 & the allure report will not be generated.

Got the same problem, 12.15.0 & 12.16.0 gave the error, downgrade to 12.14.0 work fine.

Update: Cypress 12.16.0 does not fix this issue, allure reporting is still broken in that version