Project Overview/Details page load time too long causing many tests to fail
Summary
It appears that occasionally Project Overview / Details page would take a lot of time to render all page elements, too long that some tests could not wait and fail.
Job | Failed Test | Error |
---|---|---|
https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/471452119, https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/470099323 | qa/specs/features/browser_ui/1_manage/group/transfer_project_spec.rb |
Unable to find link or button "README.md" |
https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/470964009, https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/470248526 | qa/specs/features/browser_ui/3_create/repository/push_over_http_spec.rb |
Failure/Error: expect(page).to have_content('README.md') |
https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/470372107 | qa/specs/features/ee/browser_ui/3_create/repository/code_owners_spec.rb |
Unable to find link or button "file.txt" |
Also found in #210489 (closed)
Screenshot / HTML page
Sample screenshot from one of the failed tests because of page not finish rendering elements
Possible fixes
@ddavison says it's possible that dynamic element validation could help remedy this
Edited by Tiffany Rea