Comments (6)
Running into this same issue with the cy.wait
command and the new rule.
https://docs.cypress.io/api/commands/wait even includes examples such as:
// Example: assert status from cy.intercept() before proceeding
cy.wait('@alias').its('response.statusCode').should('eq', 200)
and
cy.wait('@userPut').its('request.url').should('include', 'users')
from eslint-plugin-cypress.
Here's a PR to solve the issue: #128
from eslint-plugin-cypress.
I just merged that PR and the build should publish the latest shortly. I am going to close this issue for the time being. Please comment back if the latest version doesn't resolve your issue.
from eslint-plugin-cypress.
The PR and new release does fix the issue. Rather than not applying the rule to any cy.wait
commands, however, it would be great if it was still applied to non-alias cy.wait
commands.
from eslint-plugin-cypress.
Hi @patrickcate , Can you open a new feature request for that please?
from eslint-plugin-cypress.
from eslint-plugin-cypress.
Related Issues (20)
- Assignment of return value in ternary operator is not recognized HOT 1
- Refactor: Convert project to typescript HOT 4
- Peer dependency failure using `npm ci` on repo source HOT 2
- Eslint 8 deprecated rules `context`: planned failure Eslint 9 HOT 5
- Support ESLint 9 HOT 3
- Eslint 9 fails with legacy config .eslintrc HOT 6
- CircleCI tests only old eslint versions v4, v5 & v6 HOT 1
- CircleCI tests with end-of-life Node.js 16 HOT 2
- Script tests for other ESLint versions give warnings or fail HOT 3
- @cypress/[email protected] lacks support for ESLint 4 HOT 2
- @cypress/[email protected] conflicts through mocha for ESLint 5 support HOT 2
- Migrate from @cypress/eslint-plugin-dev to supported plugins HOT 6
- Outdated peerDependencies eslint >= 3.2.1 HOT 2
- Release v3.0.0 failed in semantic release HOT 11
- `.only` and `.skip` rule needs HOT 1
- Provide meta prerequisites for automatic document generation HOT 1
- cypress/no-async-before rule fails with "definition not found" HOT 1
- cypress/no-async-before rule documentation issues HOT 3
- How can the eslint flat config compatibility support be restricted to a specific directory? HOT 9
- config file invalid (using .ts) after update to 3.2.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-cypress.