summaryrefslogtreecommitdiff
path: root/spec/support/helpers/sorting_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/sorting_helper.rb')
-rw-r--r--spec/support/helpers/sorting_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers/sorting_helper.rb b/spec/support/helpers/sorting_helper.rb
index 9496a94d8f4..e505a6b7258 100644
--- a/spec/support/helpers/sorting_helper.rb
+++ b/spec/support/helpers/sorting_helper.rb
@@ -10,7 +10,7 @@
#
module SortingHelper
def sorting_by(value)
- find('button.dropdown-toggle').click
+ find('.filter-dropdown-container button.dropdown-menu-toggle').click
page.within('.content ul.dropdown-menu.dropdown-menu-right li') do
click_link value
end