E2E test: Maintenance mode allows read-only requests
This issue may need to be broken out into multiple test cases
Steps
- Make sure there's data for the GET request (API)
- Enable read-only mode
- Make a GET request (type(s) of requests to be determined) - should return as expected
- Make a non-GET request (type(s) of requests to be determined) - should get expected error message
- Disable read-only mode
- 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