debian-mirror-gitlab/spec/support/helpers/search_helpers.rb
2018-10-15 14:42:47 +05:30

5 lines
149 B
Ruby

module SearchHelpers
def select_filter(name)
find(:xpath, "//ul[contains(@class, 'search-filter')]//a[contains(.,'#{name}')]").click
end
end