be super pedandic for travis in cukes
This commit is contained in:
parent
1d37c13932
commit
61ae843193
1 changed files with 12 additions and 1 deletions
|
|
@ -8,9 +8,20 @@ end
|
|||
When /^I select only "([^"]*)" aspect$/ do |aspect_name|
|
||||
within('#aspect_nav') do
|
||||
click_link 'Select all' if has_link? 'Select all'
|
||||
click_link 'Deselect all'
|
||||
end
|
||||
|
||||
And %{I wait for the ajax to finish}
|
||||
|
||||
within('#aspect_nav') do
|
||||
click_link 'Select all' if has_link? 'Select all'
|
||||
end
|
||||
|
||||
And %{I wait for the ajax to finish}
|
||||
|
||||
within('#aspect_nav') do
|
||||
click_link aspect_name
|
||||
end
|
||||
|
||||
And %{I wait for the ajax to finish}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue