summaryrefslogtreecommitdiff
path: root/spec/support/helpers/features/sorting_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/features/sorting_helpers.rb')
-rw-r--r--spec/support/helpers/features/sorting_helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/helpers/features/sorting_helpers.rb b/spec/support/helpers/features/sorting_helpers.rb
index a1ae428586e..003ecb251fe 100644
--- a/spec/support/helpers/features/sorting_helpers.rb
+++ b/spec/support/helpers/features/sorting_helpers.rb
@@ -13,9 +13,9 @@ module Spec
module Features
module SortingHelpers
def sort_by(value)
- find('.filter-dropdown-container button.dropdown-menu-toggle').click
+ find('.filter-dropdown-container .dropdown').click
- page.within('.content ul.dropdown-menu.dropdown-menu-right li') do
+ page.within('ul.dropdown-menu.dropdown-menu-right li') do
click_link(value)
end
end