Commit 643dca1c authored by Robert Speicher's avatar Robert Speicher
Browse files

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

We assumed that the QA sandbox group would continually be wiped and
re-created, and thus never have enough subgroups that the one we just
created during a new run wouldn't appear on the first page.

But we know what they say about assumptions.
parent 95f5a525
...@@ -6,7 +6,13 @@ def go_to_subgroup(name) ...@@ -6,7 +6,13 @@ def go_to_subgroup(name)
click_link name click_link name
end end
def filter_by_name(name)
fill_in 'Filter by name...', with: name
def has_subgroup?(name) def has_subgroup?(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