Skip to content

Wait for requests when checking for project files

What does this MR do?

Attempts to fix a few tests that didn't wait long enough for files to appear in the Project overview.

Uses Page Object methods that invoke has_element? because it calls wait_for_requests, which will wait for the files to load, and then it's safe for the test to check for file names and file content.

See #210595 (closed) and #211656 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Mark Lapierre

Merge request reports