Shelex / cypress-allure-plugin

cypress plugin to use allure reporter api in tests

Home Page:https://shelex.github.io/cypress-allure-plugin-example/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cypress 12.15.0 breaks allure reporting

JessefSpecialisterren opened this issue · comments

Probably Cypress's fault and likely to be fixed when they fix cy.task (update: see #216 (comment) below), but I thought I'd create an issue so you're aware. See cypress-io/cypress#27113

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

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

+1

+1
Thanks

Still broken with Cypress 12.17.0. I did some digging, and I'm not so confident anymore that this is going to be fixed on Cypress's side. Using the task Cypress command with cy.now appears to be no longer supported, and cypress-allure-plugin relies heavily on that in its current form 😕

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

The plugin does not work with Cypress 12.17.2, neither :(

+1

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.

commented

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.

For me it's working on 12.14 🤔 (I use 2.37.0 shelex version) On higher cypress versions not working for me too

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

Same problem after 12.14.0 version

In my opinion the problem is in this project.
If you check package.json, you will notice that there is hardcoded cypress version on 12.14.0.

Anyone got any solution for this?
or any other we can use

Anyone got any solution for this? or any other we can use

Well you can keep the older cypress version and still use shelex or use other reporter (like multiple-cucumber-html-reporter) until they fix it or someone find a solution.

I will try to use this package: https://github.com/mmisty/cypress-allure-adapter. It's updated to cypress version 13.0.0

I will try to use this package: https://github.com/mmisty/cypress-allure-adapter. It's updated to cypress version 13.0.0

It's working with cypress@13.1.0 for me, yet logic of grouping tests into suites is different from @Shelex plugin.

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 cypress-io/cypress#27099

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

Same kind issue has been raised in cypress github
cypress-io/cypress#27113

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

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

any updates with this bug?