Capybara 0.3.9 Bug: Chaining .find to scope doesn't work

Posted . Visible to the public.

The following code doesn't work like expected:

page.find(css_selector).find(other_css_selector)

The second .find will search the whole dom instead of a scope.

Rumor has it this is fixed in Capybara 0.4.1.

Martin Straub
Last edit
License
Source code in this card is licensed under the MIT License.
Posted by Martin Straub to makandra dev (2013-03-20 16:31)