Commit 30696747 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'qa/rs-filter-by-name-subgroup' into 'master'

Filter by subgroup name before determining if our group has a subgroup

See merge request gitlab-org/gitlab-ce!15969
parents 62f594ac 643dca1c
...@@ -6,7 +6,13 @@ module QA ...@@ -6,7 +6,13 @@ module QA
click_link name click_link name
end end
def filter_by_name(name)
fill_in 'Filter by name...', with: name
end
def has_subgroup?(name) def has_subgroup?(name)
filter_by_name(name)
page.has_link?(name) page.has_link?(name)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment