Skip to content

Allure reporter makes it difficult to remove videos of successful tests and leave videos of unsuccessful tests. #96

Answered by mmisty
NikGorchichko asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, @NikGorchichko
The problem that you are using after:spec event for deleting videos.
Because of this issue cypress-io/cypress#5240 only one event can be registered and I assume your event handler with deleting videos is being overridden by cypress-allure-adapter.

To avoid this (to be able to register several after:spec events) you can use workaround mentioned here:
cypress-io/cypress#5240 (comment)
or here https://github.com/mmisty/cypress-allure-adapter/blob/main/README.pack.md#afterspec-event

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mmisty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants