From 31574215967c4e84d9cd64d6e043e05c23a50433 Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> Date: Sat, 3 Aug 2024 10:43:47 +0100 Subject: [PATCH] Update examples.feature --- 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 c6477466fd7..5c5d9da762b 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 +