Skip to content

E2E: Wait for project to be ready

Sanad Liaquat requested to merge qa-shl-wait-for-project-to-be-ready into master

What does this MR do and why?

E2E tests that create a project and then commit to it right away can intermittently see the failure You are not allowed to push code to this project due to project not being ready as some async processes happen in the background when a project is created.

This MR:

  • Adds a test commit to all such projects and waits until it succeeds before proceeding.
  • De-quarantines Govern Group access token can be used to commit via the API which was also failing due to the same reason
  • Replaces a couple of Resource creations with factory create.

Addresses:

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

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.

Edited by Sanad Liaquat

Merge request reports