Skip to content

Commit a5dad89

Browse files
test(integration): add coverage for .js bypass during maintenance
Long standing behavior. Just adds test coverage for it. Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent 7977062 commit a5dad89

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

build/integration/features/maintenance-mode.feature

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,9 @@ Feature: maintenance-mode
4747
Then the HTTP status code should be "503"
4848
Then Maintenance mode is disabled
4949
And the command was successful
50+
51+
Scenario: Accessing a JS asset with maintenance mode enabled
52+
When requesting "/dist/core-maintenance.js" with "GET"
53+
Then the HTTP status code should be "200"
54+
Then Maintenance mode is disabled
55+
And the command was successful

0 commit comments

Comments
 (0)