You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

maintenance-mode.feature 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Feature: maintenance-mode
  2. Background:
  3. Given Maintenance mode is enabled
  4. Then the command was successful
  5. Scenario: Accessing /index.php with maintenance mode enabled
  6. When requesting "/index.php" with "GET"
  7. Then the HTTP status code should be "503"
  8. Then Maintenance mode is disabled
  9. And the command was successful
  10. Scenario: Accessing /remote.php/webdav with maintenance mode enabled
  11. When requesting "/remote.php/webdav" with "GET"
  12. Then the HTTP status code should be "503"
  13. Then Maintenance mode is disabled
  14. And the command was successful
  15. Scenario: Accessing /remote.php/dav with maintenance mode enabled
  16. When requesting "/remote.php/dav" with "GET"
  17. Then the HTTP status code should be "503"
  18. Then Maintenance mode is disabled
  19. And the command was successful
  20. Scenario: Accessing /ocs/v1.php with maintenance mode enabled
  21. When requesting "/ocs/v1.php" with "GET"
  22. Then the HTTP status code should be "503"
  23. Then Maintenance mode is disabled
  24. And the command was successful
  25. Scenario: Accessing /ocs/v2.php with maintenance mode enabled
  26. When requesting "/ocs/v2.php" with "GET"
  27. Then the HTTP status code should be "503"
  28. Then Maintenance mode is disabled
  29. And the command was successful
  30. Scenario: Accessing /public.php/webdav with maintenance mode enabled
  31. When requesting "/public.php/webdav" with "GET"
  32. Then the HTTP status code should be "503"
  33. Then Maintenance mode is disabled
  34. And the command was successful