Speed-up the click on 'New subgroup' if the 'No results' text is shown
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?
- Review
-
Has been reviewed by Backend
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together -
End-to-end tests pass ( package-qa
manual pipeline job)
Edited by Grzegorz Bizon