mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-12-06 16:22:15 +00:00
test(chromium): start Chromium with the container in the wait-timeout scenario
This commit is contained in:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user