From a1f4c4b1d0840a3e6c5dbe6034d7bdad93db5002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= <me@mrzyx.de> Date: Sun, 18 Aug 2013 12:05:05 +0200 Subject: [PATCH] wild shot at stabilizing features/aspect_navigation.feature:18 by making sure all aspects are deselected after deselecting all aspects --- features/step_definitions/aspects_steps.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/features/step_definitions/aspects_steps.rb b/features/step_definitions/aspects_steps.rb index 2d13f6abe0..5a9a3527fa 100644 --- a/features/step_definitions/aspects_steps.rb +++ b/features/step_definitions/aspects_steps.rb @@ -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 -- GitLab