diff --git a/cucumber/features/examples.feature b/cucumber/features/examples.feature index c6477466..5c5d9da7 100644 --- a/cucumber/features/examples.feature +++ b/cucumber/features/examples.feature @@ -92,10 +92,10 @@ Feature: API Validation | threshold | 90 | | whitePercent | 99.9 | When I send the API request to the endpoint "/api/v1/misc/remove-blanks" - Then the response content type should be "application/pdf" + Then the response content type should be "application/octet-stream" + And the response file should have extension ".zip" + And the response ZIP should contain 2 files And the response file should have size greater than 0 - And the response PDF should contain 0 pages - And the response status code should be 200 @positive @flatten Scenario: Flatten PDF @@ -127,4 +127,4 @@ Feature: API Validation And the response PDF metadata should include "Title" as "Sample Title" And the response status code should be 200 - \ No newline at end of file +