Skip to content

Provide a way for custom commands to retry on failed should() #3109

@alexkrolick

Description

@alexkrolick

Current behavior:

cy.get('#me').should('not.exist') // retries chain
cy.customGetById('me').should('not.exist') // does not retry

#1210 (comment)

Desired behavior:

cy.customGetById('me').should('not.exist') // retries custom get if "should" fails

Versions

Cypress 3.1.4

Related

Metadata

Metadata

Assignees

Labels

pkg/driverThis is due to an issue in the packages/driver directorytopic: plugins ⚙️type: enhancementRequested enhancement of existing feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions