E2E test: refresh project page to check for licence
What does this MR do and why?
Resolves #421853 (closed)
In #421853 (closed) occasionally the licence does not show on the page, but on checking after the test finishes, the licence is always present.
This MR refreshes the page to ensure there is no race condition between the licence file commit and loading the page.
On first load sometimes the license is missing:
How to set up and validate locally
QA_LOG_LEVEL=DEBUG QA_GITLAB_URL=http://192.168.4.31:3000 GITLAB_QA_PASSWORD_1=XXX bundle exec rspec qa/specs/features/browser_ui/3_create/repository/license_detection_spec.rb
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jay McCure