Git Product home page Git Product logo

Comments (11)

yggie avatar yggie commented on May 29, 2024

that's very strange, are the failures consistent?

from websiteone.

YaroSpace avatar YaroSpace commented on May 29, 2024

@yggie I bet you it is the same javascript timeout :-)

from websiteone.

dcorking avatar dcorking commented on May 29, 2024

One confusing thing about the Javascript timeout is that it is reported as various 'did not see' failures rather than as an actual timeout. Craig only got 2 cucumber failures, both related to the mercury modal, and others - particularly Travis - see various different errors. Does the error ever occur in real life, or only when using the web test drivers? If it occurs in real life, should we add a watchdog to the page javascript.

from websiteone.

YaroSpace avatar YaroSpace commented on May 29, 2024

this is the way it works: when you have a capybara step, like find or I should see - capybara keeps looking for element for the default_timeout time, if the element appears within that time - test passes, if not - it fails. If the js driver, poltergeist/phantom in our case, is too slow to render within that time - then the test fails. The speed of rendering depends on the machine.

from websiteone.

YaroSpace avatar YaroSpace commented on May 29, 2024

the bootstrap/jquery features are especially slow under phantom

from websiteone.

PurityControl avatar PurityControl commented on May 29, 2024

It may be a timeout issue when I bump up the spec of the vm, I always get at least one fail but it varies from 1 - 2 fails so is intermittent in that respect.

from websiteone.

YaroSpace avatar YaroSpace commented on May 29, 2024

the increased timeout is now merged into develop. We'll see how it goes from now.

from websiteone.

dcorking avatar dcorking commented on May 29, 2024

@PurityControl can you try this again and see if we can close the issue?

from websiteone.

PurityControl avatar PurityControl commented on May 29, 2024

as of commit 4b9b3c5 I still have 2 tests failing

from websiteone.

christophermlne avatar christophermlne commented on May 29, 2024

are jquery effects turned off?

from websiteone.

tochman avatar tochman commented on May 29, 2024

Resolved? I'm closing it for now. Feel free to reopen if issue still exists.

from websiteone.

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.