GithubHelp home page GithubHelp logo

Comments (4)

langalex avatar langalex commented on June 1, 2024

pull requests welcome. the project is pretty much dead though. i'm surprised anyone's still using it.

from culerity.

derrelldurrett avatar derrelldurrett commented on June 1, 2024

What other tools would you suggest using to for JavaScript integration
testing? I'm trying to use Culerity because WebKit and Selenium both fail
to trigger change listeners when used in my test.

Thanks for the reply!

Derrell

-- Derrell Durrett
On Jul 17, 2014 3:40 AM, "Alexander Lang" [email protected] wrote:

pull requests welcome. the project is pretty much dead though. i'm
surprised anyone's still using it.


Reply to this email directly or view it on GitHub
#37 (comment).

from culerity.

langalex avatar langalex commented on June 1, 2024

I use capybara together with selenium, capybara-webkit and also poltergeist. I'm pretty sure capybara fixes the problem with the change listener, otherwise you have to trigger a change event manually, i.e. if you use jQuery $('#my-input').change(). From capybara it would look something like page.execute_script("$('#my-input').change()").

from culerity.

derrelldurrett avatar derrelldurrett commented on June 1, 2024

Would you mind looking at my question on stackoverflow
http://stackoverflow.com/questions/24707119/why-is-my-javascript-change-event-not-triggered-in-my-test?
I've done exactly what you describe (in addition to many other things, like
using send-keys and such), and yet nothing happens. I'm sure there's
something trivial I've overlooked, but I can't find it, and I'd really
appreciate any tips in figuring out how to use the JavaScript testing tools
that are commonplace (and since this isn't nearly so complicated a piece of
code as to require unit testing, I'm pretty sure Jasmine and related tools
are overkill).

Thanks in advance,

Derrell

On Fri, Jul 18, 2014 at 6:16 AM, Alexander Lang [email protected]
wrote:

I use capybara together with selenium, capybara-webkit and also
poltergeist. I'm pretty sure capybara fixes the problem with the change
listener, otherwise you have to trigger a change event manually, i.e. if
you use jQuery $('#my-input').change(). From capybara it would look
something like page.execute_script("$('#my-input').change()").


Reply to this email directly or view it on GitHub
#37 (comment).

Derrell Durrett
Boulder, Colorado

from culerity.

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.