GithubHelp home page GithubHelp logo

Comments (6)

patrickcate avatar patrickcate commented on June 2, 2024

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.

Erik-Outreach avatar Erik-Outreach commented on June 2, 2024

Here's a PR to solve the issue: #128

from eslint-plugin-cypress.

nagash77 avatar nagash77 commented on June 2, 2024

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.

patrickcate avatar patrickcate commented on June 2, 2024

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.

nagash77 avatar nagash77 commented on June 2, 2024

Hi @patrickcate , Can you open a new feature request for that please?

from eslint-plugin-cypress.

patrickcate avatar patrickcate commented on June 2, 2024

@nagash77, done with: #131

from eslint-plugin-cypress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.