bahmutov / bahmutov/cypress-repeat

Ability to repeat tags with cypress-repeat

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

Description

**Our needs**
We are looking for a tool to retry a failed run in our project execution and i think this one fits our needs.

**Our project**
Our project is using cucumber tags to run tests in cypress. Using the module https://github.com/TheBrainFamily/cypress-cucumber-preprocessor
Here an example:

```
Feature: Test data collection

Background:
Given the user is logged

@sanity @collection
Scenario: Collection is successfully created
When the user selects create a new collection
Then the data collection is created correctly
```
To run tests we do it like this:
`./node_modules/.bin/cypress-tags run -e TAGS='@sanity'`

**Our problem**
Apparently cypress-repeat doesn't work with cypress-tags, only with cypress run [commands].

Can you help us or give any hints about this?

Thanks in advance,

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported combination of cypress-repeat with `./node_modules/.bin/cypress-tags run -e TAGS='@sanity'`, comparing it with the stated `cypress run` commands. Determine the expected retry behavior for cucumber-tagged runs; done means the supported command repeats failed runs or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.