mirror of
https://github.com/nextcloud/server.git
synced 2025-02-07 09:59:46 +00:00
1e04619675
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
49 lines
1.8 KiB
Gherkin
49 lines
1.8 KiB
Gherkin
# SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
Feature: maintenance-mode
|
|
|
|
Background:
|
|
Given Maintenance mode is enabled
|
|
Then the command was successful
|
|
|
|
Scenario: Accessing /index.php with maintenance mode enabled
|
|
When requesting "/index.php" with "GET"
|
|
Then the HTTP status code should be "503"
|
|
Then Maintenance mode is disabled
|
|
And the command was successful
|
|
|
|
Scenario: Accessing /remote.php/webdav with maintenance mode enabled
|
|
When requesting "/remote.php/webdav" with "GET"
|
|
Then the HTTP status code should be "503"
|
|
Then Maintenance mode is disabled
|
|
And the command was successful
|
|
|
|
Scenario: Accessing /remote.php/dav with maintenance mode enabled
|
|
When requesting "/remote.php/dav" with "GET"
|
|
Then the HTTP status code should be "503"
|
|
Then Maintenance mode is disabled
|
|
And the command was successful
|
|
|
|
Scenario: Accessing /ocs/v1.php with maintenance mode enabled
|
|
When requesting "/ocs/v1.php" with "GET"
|
|
Then the HTTP status code should be "503"
|
|
Then Maintenance mode is disabled
|
|
And the command was successful
|
|
|
|
Scenario: Accessing /ocs/v2.php with maintenance mode enabled
|
|
When requesting "/ocs/v2.php" with "GET"
|
|
Then the HTTP status code should be "503"
|
|
Then Maintenance mode is disabled
|
|
And the command was successful
|
|
|
|
Scenario: Accessing /public.php/webdav with maintenance mode enabled
|
|
When requesting "/public.php/webdav" with "GET"
|
|
Then the HTTP status code should be "503"
|
|
Then Maintenance mode is disabled
|
|
And the command was successful
|
|
|
|
Scenario: Accessing /public.php/dav with maintenance mode enabled
|
|
When requesting "/public.php/dav" with "GET"
|
|
Then the HTTP status code should be "503"
|
|
Then Maintenance mode is disabled
|
|
And the command was successful
|