wild shot at stabilizing features/aspect_navigation.feature:18 by making sure all aspects are deselected after deselecting all aspects

This commit is contained in:
Jonne Haß 2013-08-18 12:05:05 +02:00
parent 684067be4f
commit a1f4c4b1d0

View file

@ -11,6 +11,7 @@ When /^I select only "([^"]*)" aspect$/ do |aspect_name|
within('#aspects_list') do
click_link 'Select all' if has_link? 'Select all'
click_link 'Deselect all'
current_scope.should have_no_css '.selected'
end
step %Q(I select "#{aspect_name}" aspect as well)
end