bahmutov / bahmutov/cypress-soft-assertions

The array length soft assertions does not show warning when fails

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

Description

```js
cy.wait('@todos')
.its('response.body')
.better('have.length', 0)
```
The soft assertion fails, but shows green

Screen Shot 2022-12-19 at 14 31 16

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the provided Cypress snippet and inspect the cypress-soft-assertions plugin entry point that handles soft assertion failures. Trace why the failed array-length assertion remains green; done means the failure visibly produces a warning and the case has regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.