From 0f60974a57a9d44621d132c7cba5a3c037d78257 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 3 Aug 2024 10:44:17 +0100 Subject: [PATCH] Update examples.feature (#1624) --- cucumber/features/examples.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 +