Comments (4)
Could provide a simple test case so I could know what exactly causing the
timeout? I know the gem has a very limited coverage on how it should work
on various scenario (I just extract this from what I did, so surely it
needs a bit more work to cover more cases), thanks in advance.
On Tue, Jan 1, 2013 at 12:42 PM, Bob Roberts [email protected]:
First off, I love this gem!!! I am having issues with the tests timing
out. I have added in sleep 2's before and after the action button clicks
but it is still hanging up during tests basically after it prints out:Any ideas?
BR
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1.
Regards,
William Yeung
Consultant
jquery+rubyonrails
Tofugear
E: [email protected]
T: +852 21519830
M: +852 92538475
W: http://tofugear.com
from capybara-select2.
OK, I forked and removed the pretty print but that made no change. What I have found is occurring when there are multiple select2 drop downs in a test. I see that the tests are passing but Rspec seems to miss it.
So far a workaround is to use a fill_in or something else after the last select2.
from capybara-select2.
The way I did mine is based on the situation I am applying select2 on a dropdown, not sure if your scenario is the same?
On 8 Jan, 2013, at 8:09 AM, Bob Roberts [email protected] wrote:
OK, I forked and removed the pretty print but that made no change. What I have found is occurring when there are multiple select2 drop downs in a test. I see that the tests are passing but Rspec seems to miss it.
So far a workaround is to use a fill_in or something else after the last select2.
—
Reply to this email directly or view it on GitHub.
from capybara-select2.
Yes I am using them for drop downs.
from capybara-select2.
Related Issues (20)
- Create a sinatra based rspec + capybara test
- Capybara::Poltergeist::MouseEventFailed HOT 8
- Capybara::Webkit::ClickFailed HOT 4
- Failed to click element HOT 1
- Find a new maintainer HOT 4
- undefined method select2_tag
- Capybara-select2 does not work with rspec 3 HOT 1
- using with minitest HOT 3
- Support for ajax results? HOT 1
- unable to find css HOT 22
- Release the 1.0.0 gem HOT 6
- Capybara::Select2#select2 has unexpected interface for :css, :xpath
- `Ambiguous match` when there are multiple select2 elements HOT 7
- SitePrism HOT 1
- Time for new RubyGems release? HOT 4
- Incompatible with optgroups? HOT 3
- Project no longer maintained? HOT 5
- Doesn't work with select2 version <4.0 when search is specified
- Find exact
- Error HOT 3
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 capybara-select2.