summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-12-16 07:41:45 +0000
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-12-16 07:41:45 +0000
commit306967478734418ec0fc5f011204464b961cc409 (patch)
tree2fcbabe57cacb1eea8f60b8619a9114bf35105b2 /qa
parent62f594ac83366271b5060df09a36cfc635d52d35 (diff)
parent643dca1c97adae74d7e52090cdf6758a5433295a (diff)
downloadgitlab-ce-306967478734418ec0fc5f011204464b961cc409.tar.gz
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
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/group/show.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/qa/qa/page/group/show.rb b/qa/qa/page/group/show.rb
index 8080deda675..100e71ae157 100644
--- a/qa/qa/page/group/show.rb
+++ b/qa/qa/page/group/show.rb
@@ -6,7 +6,13 @@ module QA
click_link name
end
+ def filter_by_name(name)
+ fill_in 'Filter by name...', with: name
+ end
+
def has_subgroup?(name)
+ filter_by_name(name)
+
page.has_link?(name)
end