Skip to content

Speed-up the click on 'New subgroup' if the 'No results' text is shown

Rémy Coutable requested to merge qa-speedup-new-subgroup-click into master

What does this MR do?

This speeds-up the click on the "New subgroup" button when there are no results after filtering the groups.

The idea is that we don't have to wait for Capybara's timeout before clinking the button if the page is already showing the "Sorry, no groups or projects matched your search" message.

Locally [the new "Create an issue" test]https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/16802) went from 35 seconds to 24 seconds! 🎉

Does this MR meet the acceptance criteria?

Edited by Grzegorz Bizon

Merge request reports