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)
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
......
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