Comments (4)
pull requests welcome. the project is pretty much dead though. i'm surprised anyone's still using it.
from culerity.
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.
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.
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)
- Culerity fails if JRuby is not in a standard path HOT 18
- culerity.js ajax_with_count fails on async:false calls HOT 1
- Can't follow links if contained in div.buttons HOT 2
- culerity_rails_server.pid in wrong location HOT 1
- IO.popen("script/server") makes the Rails app sad HOT 7
- Culerity throws deprecation warning when calling Node#type
- Exception invoking jsxGet_length (Culerity::CulerityException HOT 3
- Nailgun support HOT 6
- "Then I should see..." steps fail if text is contained in paragraph tags and not div tags HOT 4
- step 'When I follow "[link]"' finds wrong link, with celerity -v=0.7.7 and above HOT 4
- Doctype being removed HOT 3
- .each not working on a links collection HOT 3
- browser object HOT 2
- Culerity generators in Rails 3 HOT 3
- Culerity not working with regular JRuby HOT 6
- Broken pipe with RVM (or whatever) HOT 6
- RemoteObjectProxy implements method_missing but not respond_to? HOT 2
- culerity hangs on exit HOT 3
- Culerity, Capybara and Ruby 1.9.2
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 culerity.