Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress 12.15.0 breaks allure reporting #216

Open
JessefSpecialisterren opened this issue Jun 23, 2023 · 23 comments
Open

Cypress 12.15.0 breaks allure reporting #216

JessefSpecialisterren opened this issue Jun 23, 2023 · 23 comments
Labels
bug Something isn't working

Comments

@JessefSpecialisterren
Copy link

JessefSpecialisterren commented Jun 23, 2023

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

@JessefSpecialisterren JessefSpecialisterren added the bug Something isn't working label Jun 23, 2023
@JessefSpecialisterren
Copy link
Author

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

@samixchoumi
Copy link

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

@przedab
Copy link

przedab commented Jul 3, 2023

+1

@sl-tawfiknouri
Copy link

+1
Thanks

@JessefSpecialisterren
Copy link
Author

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 😕

@dilshan-swivel
Copy link

dilshan-swivel commented Jul 11, 2023

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

@iwt-ttaskov
Copy link

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

@elnanni
Copy link

elnanni commented Aug 9, 2023

+1

@benchesh
Copy link

benchesh commented Aug 16, 2023

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.

@mikimi1233
Copy link

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

@dilshan-swivel
Copy link

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

@MaksimYaginov
Copy link

MaksimYaginov commented Sep 5, 2023

Same problem after 12.14.0 version

@MDzyga
Copy link

MDzyga commented Sep 6, 2023

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.

@vrinda-cmd
Copy link

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

@mikimi1233
Copy link

mikimi1233 commented Sep 6, 2023

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.

@MDzyga
Copy link

MDzyga commented Sep 6, 2023

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

@omen-rigby
Copy link

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.

@vallyian
Copy link

vallyian commented Sep 20, 2023

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

@varshanharshank
Copy link

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

@Gabrielmrs06
Copy link

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

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

@marcrecor
Copy link

any updates with this bug?

@vinodkpasi
Copy link

+1

1 similar comment
@kayun
Copy link

kayun commented Jan 16, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests