bahmutov / bahmutov/cypress-repeat

Workaround to show overall run status as Passed

Open
#23 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
39
Forks
12
PR merge metrics
No merged PRs in 30d

Description

### Current Behaviour (not a bug, this is expected behaviour):

* even if the tests pass on the repeat attempt, i.e. in a separate `group`, the overall Cy Dashboard status would still be `Failed`
* this is expected behaviour from Cy Dashboard, as each group is part of the same run and a single failure inside any group will be treated as an overall Run failure

### Workaround ?? :

Is there a way to override the overall run status if the tests pass on the retry group?

![overAllStatus(1)](https://user-images.githubusercontent.com/30851622/126034315-736941fa-e66e-48de-869b-93e4b45d9e74.jpg)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing how Cypress Dashboard represents runs and groups, using the attached screenshot for context; no repository file or test is named. Done would require an agreed approach for overriding or reporting the overall status after a retry group.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.