> <input id="current_client_id_3" name="current_client_id" > value="3" type="radio"> > TestClientA > </label> > </li>
> When I choose "TestClientA" > cannot choose field, no radio button with id, name, or label > 'TestClientA' found (Capybara::ElementNotFound) > ./features/step_definitions/web_steps.rb:90 > ./features/step_definitions/web_steps.rb:14:in `with_scope' > ./features/step_definitions/web_steps.rb:89:in `/^(?:|I )choose > "([^"]*)"(?: within "([^"]*)")?$/' > features\login.feature:17:in `When I choose "TestClientA"' TestClientA is not an id, name nor label, that's why capybara can't find it. In your case, all radio buttons have unique ids (which is the way it should be). Choose the button based on the id, in your case: "current_client_id_3" (for TestClientA). -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

