Shelex / cypress-allure-plugin

cypress plugin to use allure reporter api in tests
https://shelex.github.io/cypress-allure-plugin-example/
Apache License 2.0
159 stars 44 forks source link

tests cannot be marked as @Flaky #69

Closed maga-polito closed 3 years ago

maga-polito commented 3 years ago

According to allure framework it should be possible to mark some tests as flaky by adding corresponding tag @Flaky, however it seems like it is not supported by plugin

Shelex commented 3 years ago

@maga-polito Hi. Thank you for mentioning this topic. While working on this plugin I have also found that tag, however, even it is mentioned in some of java integration, it was working with some old versions, but In Allure v2 this tag is ignored completely and is set automatically when report is generated on history basis - when failed test becomes passed you will see small bomb icon near title. So, unfortunately, at this moment there is no option to bypass that without a fix inside Allure - https://github.com/allure-framework/allure2/pull/1135

maga-polito commented 3 years ago

@Shelex you're right, I could verify that based on history framework marks automatically flaky tests, so there’s no point on adding it manually ..thanks