diff options
author | Valery Sizov <valery@gitlab.com> | 2016-11-07 21:36:58 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-11-08 13:03:23 +0300 |
commit | ebc44befdc773b39a171d38dc13c38cd6630828a (patch) | |
tree | b52776fb22c732bafaf89e280a072118be2374b9 /spec/support | |
parent | 6be0c160d346c67967e541a76b6fbf6fc1ba2456 (diff) |
Fix broken commits search
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/search_helpers.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/support/search_helpers.rb b/spec/support/search_helpers.rb new file mode 100644 index 00000000000..abbbb636d66 --- /dev/null +++ b/spec/support/search_helpers.rb @@ -0,0 +1,5 @@ +module SearchHelpers + def select_filter(name) + find(:xpath, "//ul[contains(@class, 'search-filter')]//a[contains(.,'#{name}')]").click + end +end |