E2E test: Maintenance mode allows read-only requests

This issue may need to be broken out into multiple test cases

Steps

  1. Make sure there's data for the GET request (API)
  2. Enable read-only mode
  3. Make a GET request (type(s) of requests to be determined) - should return as expected
  4. Make a non-GET request (type(s) of requests to be determined) - should get expected error message
  5. Disable read-only mode
  6. Make a non-GET request successfully

Notes:

  • Geo and/or single site GitLab setup?
  • Test for scheduling future maintenance mode period? Possibly done at lower test level?

Allowed operations:

  • Login from primary and secondary
  • GET
  • git pull, git clone (from primary or secondary)
  • Http
  • ssh
  • Docker pull
  • Write Application settings (by admin only)

Denied operations:

  • POST, DELETE
  • git push (from primary or secondary)
  • Docker push
Edited by Jennifer Louie