Reputation: 9633
How to select a radio button in and a particular select option with ember integration tests? I know how to use the click one and the fillIn for inputs.
http://guides.emberjs.com/v1.10.0/testing/test-helpers/
Upvotes: 3
Views: 2251
Reputation: 14953
Radio button:
click('css selector');
For the select
say you have:
<select>
<option>red pill</option>
<option>blue pill</option>
</select>
In your test:
fillIn('css selector', 'red pill');
Upvotes: 8