Open brobertsaz opened 11 years ago
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 notifications@github.comwrote:
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/goodwill/capybara-select2/issues/1.
Regards,
William Yeung
Consultant
jquery+rubyonrails
Tofugear
E: william@tofugear.com T: +852 21519830 M: +852 92538475 W: http://tofugear.com
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.
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 notifications@github.com 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.
Yes I am using them for drop downs.
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