Reduce dashboard feature specs execution time
What does this MR do and why?
Reduce execution time of project dashboards feature spec by
merging examples that visits the same page.
It also removes some duplicate calls to visit_page
.
Execution time of group dashboards test went down from 78 seconds to (48 seconds)[https://gitlab.com/gitlab-org/gitlab/-/jobs/7836457686#L421], the project side specs did not have the same enhancement, but this is still an improvement.
related to #488384 (closed)
Edited by Felipe Cardozo