diff --git a/test/integration/features/debug.feature b/test/integration/features/debug.feature index 78a9cdba..8bc0de34 100644 --- a/test/integration/features/debug.feature +++ b/test/integration/features/debug.feature @@ -5,23 +5,6 @@ Feature: /debug When I make a "GET" request to Gotenberg at the "/debug" endpoint Then the response status code should be 404 - Scenario: GET /debug (Build Debug Data Disabled) - Given I have a Gotenberg container with the following environment variable(s): - | GOTENBERG_BUILD_DEBUG_DATA | false | - When I make a "GET" request to Gotenberg at the "/debug" endpoint - Then the response status code should be 200 - Then the response header "Content-Type" should be "application/json" - Then the response body should match JSON: - """ - { - "version": "", - "architecture": "", - "modules": null, - "modules_additional_data": null, - "flags": null - } - """ - Scenario: GET /debug (Enabled) Given I have a Gotenberg container with the following environment variable(s): | API_ENABLE_DEBUG_ROUTE | true | @@ -138,6 +121,24 @@ Feature: /debug } """ + Scenario: GET /debug (No Debug Data) + Given I have a Gotenberg container with the following environment variable(s): + | GOTENBERG_BUILD_DEBUG_DATA | false | + | API_ENABLE_DEBUG_ROUTE | true | + When I make a "GET" request to Gotenberg at the "/debug" endpoint + Then the response status code should be 200 + Then the response header "Content-Type" should be "application/json" + Then the response body should match JSON: + """ + { + "version": "", + "architecture": "", + "modules": null, + "modules_additional_data": null, + "flags": null + } + """ + Scenario: GET /debug (Gotenberg Trace) Given I have a Gotenberg container with the following environment variable(s): | API_ENABLE_DEBUG_ROUTE | true |