GithubHelp home page GithubHelp logo

Comments (11)

NoriSte avatar NoriSte commented on June 15, 2024

What's the Cypress version? And the plugin version? Could you share a minimal repo with the error, please?

Thanks

Stefano

from cypress-wait-until.

Optimus2297 avatar Optimus2297 commented on June 15, 2024

sorry it was an error on my side

from cypress-wait-until.

NoriSte avatar NoriSte commented on June 15, 2024

Shit happens, don't worry 😊

from cypress-wait-until.

Optimus2297 avatar Optimus2297 commented on June 15, 2024

Shit happens, don't worry 😊

Thanks for understanding 😊

from cypress-wait-until.

Optimus2297 avatar Optimus2297 commented on June 15, 2024

Hii @NoriSte so now I am facing an issue like I am using waituntil for the processing loader to not be visible, but it waits for only 5 seconds and after that it will throw an error. But what I want to achieve is the function should wait until the loader is not visible that may be irrespective of that 5 seconds time i.e. there should not be a failure, it should wait how much time its required for that loader to not be visible. Is there any config which I can use for this?

from cypress-wait-until.

NoriSte avatar NoriSte commented on June 15, 2024
  1. Why not using the classic cy.get('<loader-selector>', {timeout: 10000}).should('not.be.visible')?
  2. If you want to use cy.waitUntil take a look at the timeout option

from cypress-wait-until.

Optimus2297 avatar Optimus2297 commented on June 15, 2024

the issue is there is no understanding of how much time is required, so giving a timeout is not an option. it should be dynamic

from cypress-wait-until.

NoriSte avatar NoriSte commented on June 15, 2024

So if the loader stays out for two days the test should not fail?

from cypress-wait-until.

Optimus2297 avatar Optimus2297 commented on June 15, 2024

no i want it to fail but after a significant time like 1 or 2 minitues

from cypress-wait-until.

NoriSte avatar NoriSte commented on June 15, 2024

Ok, did you find any technical limitation that prevents you from setting the timeout to 120 seconds? Sorry if I bother you but I'm not sure I 100% understood the root cause of the problem 😉

from cypress-wait-until.

Optimus2297 avatar Optimus2297 commented on June 15, 2024

yeah the issue is like we are using cypress for image comparison of ui. But the issue we are facing is like the pages are getting loaded in cypress are taking more time and the time is not consistent then the pages loaded in an actual browser. I are also trying to find the root cause for this, but still no luck.

from cypress-wait-until.

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.