test(chromium): start Chromium with the container in the wait-timeout scenario

This commit is contained in:
Julien Neuhart
2026-11-30 08:53:07 +01:00
parent dc79d5b559
commit e17473e8a3

View File

@@ -321,10 +321,13 @@ Feature: /forms/chromium/convert/html
# A wait still running when the request runs out of time answers the API's
# timeout status, naming the field and its value, a promise that never
# settles included. A value that throws stays the client's error.
# settles included. A value that throws stays the client's error. Chromium
# starts with the container: an on-demand start on a slow machine spends
# the time limit before the wait begins.
Scenario: POST /forms/chromium/convert/html (Wait Timeout)
Given I have a Gotenberg container with the following environment variable(s):
| API_TIMEOUT | 5s |
| API_TIMEOUT | 5s |
| CHROMIUM_AUTO_START | true |
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/page-1-html/index.html | file |
| waitForSelector | #never | field |