From 887727b40e9dfecd26e0b9f4569bc40140958816 Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Tue, 13 Oct 2026 18:31:27 +0200 Subject: [PATCH] test(chromium): wait for network idle in resource status code scenarios --- test/integration/features/chromium_convert_html.feature | 1 + test/integration/features/chromium_convert_markdown.feature | 1 + test/integration/features/chromium_convert_url.feature | 1 + 3 files changed, 3 insertions(+) diff --git a/test/integration/features/chromium_convert_html.feature b/test/integration/features/chromium_convert_html.feature index 1de00be0..11c6f0f9 100644 --- a/test/integration/features/chromium_convert_html.feature +++ b/test/integration/features/chromium_convert_html.feature @@ -609,6 +609,7 @@ Feature: /forms/chromium/convert/html When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/html" endpoint with the following form data and header(s): | files | testdata/feature-rich-html/index.html | file | | failOnResourceHttpStatusCodes | [499,599] | field | + | skipNetworkIdleEvent | false | field | Then the response status code should be 409 Then the response header "Content-Type" should be "text/plain; charset=UTF-8" Then the response body should match string: diff --git a/test/integration/features/chromium_convert_markdown.feature b/test/integration/features/chromium_convert_markdown.feature index f7bd12e9..ffaf5963 100644 --- a/test/integration/features/chromium_convert_markdown.feature +++ b/test/integration/features/chromium_convert_markdown.feature @@ -400,6 +400,7 @@ Feature: /forms/chromium/convert/markdown | files | testdata/feature-rich-markdown/index.html | file | | files | testdata/feature-rich-markdown/table.md | file | | failOnResourceHttpStatusCodes | [499,599] | field | + | skipNetworkIdleEvent | false | field | Then the response status code should be 409 Then the response header "Content-Type" should be "text/plain; charset=UTF-8" Then the response body should match string: diff --git a/test/integration/features/chromium_convert_url.feature b/test/integration/features/chromium_convert_url.feature index b58fab2f..3c4c2391 100644 --- a/test/integration/features/chromium_convert_url.feature +++ b/test/integration/features/chromium_convert_url.feature @@ -649,6 +649,7 @@ Feature: /forms/chromium/convert/url When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/url" endpoint with the following form data and header(s): | url | http://host.docker.internal:%d/html/testdata/feature-rich-html-remote/index.html | field | | failOnResourceHttpStatusCodes | [499,599] | field | + | skipNetworkIdleEvent | false | field | Then the response status code should be 409 Then the response header "Content-Type" should be "text/plain; charset=UTF-8" Then the response body should contain string: