test(integration): comment scenario that is not happening anymore on amd architectures

This commit is contained in:
Julien Neuhart
2025-06-02 11:27:25 +02:00
parent 9226b78b0c
commit cf2d413a28
3 changed files with 50 additions and 44 deletions

View File

@@ -420,20 +420,22 @@ Feature: /forms/chromium/convert/html
""" """
omitBackground requires printBackground set to true omitBackground requires printBackground set to true
""" """
When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/html" endpoint with the following form data and header(s): # Does not seems to happen on amd architectures anymore since Chromium 137.
| files | testdata/page-1-html/index.html | file | # See: https://github.com/gotenberg/gotenberg/actions/runs/15384321883/job/43280184372.
| paperWidth | 0 | field | # When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/html" endpoint with the following form data and header(s):
| paperHeight | 0 | field | # | files | testdata/page-1-html/index.html | file |
| marginTop | 1000000 | field | # | paperWidth | 0 | field |
| marginBottom | 1000000 | field | # | paperHeight | 0 | field |
| marginLeft | 1000000 | field | # | marginTop | 1000000 | field |
| marginRight | 1000000 | field | # | marginBottom | 1000000 | field |
Then the response status code should be 400 # | marginLeft | 1000000 | field |
Then the response header "Content-Type" should be "text/plain; charset=UTF-8" # | marginRight | 1000000 | field |
Then the response body should match string: # Then the response status code should be 400
""" # Then the response header "Content-Type" should be "text/plain; charset=UTF-8"
Chromium does not handle the provided settings; please check for aberrant form values # Then the response body should match string:
""" # """
# Chromium does not handle the provided settings; please check for aberrant form values
# """
When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/html" endpoint with the following form data and header(s): 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 | | files | testdata/page-1-html/index.html | file |
| nativePageRanges | foo | field | | nativePageRanges | foo | field |

View File

@@ -497,21 +497,23 @@ Feature: /forms/chromium/convert/markdown
""" """
omitBackground requires printBackground set to true omitBackground requires printBackground set to true
""" """
When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/markdown" endpoint with the following form data and header(s): # Does not seems to happen on amd architectures anymore since Chromium 137.
| files | testdata/page-1-markdown/index.html | file | # See: https://github.com/gotenberg/gotenberg/actions/runs/15384321883/job/43280184372.
| files | testdata/page-1-markdown/page_1.md | file | # When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/markdown" endpoint with the following form data and header(s):
| paperWidth | 0 | field | # | files | testdata/page-1-markdown/index.html | file |
| paperHeight | 0 | field | # | files | testdata/page-1-markdown/page_1.md | file |
| marginTop | 1000000 | field | # | paperWidth | 0 | field |
| marginBottom | 1000000 | field | # | paperHeight | 0 | field |
| marginLeft | 1000000 | field | # | marginTop | 1000000 | field |
| marginRight | 1000000 | field | # | marginBottom | 1000000 | field |
Then the response status code should be 400 # | marginLeft | 1000000 | field |
Then the response header "Content-Type" should be "text/plain; charset=UTF-8" # | marginRight | 1000000 | field |
Then the response body should match string: # Then the response status code should be 400
""" # Then the response header "Content-Type" should be "text/plain; charset=UTF-8"
Chromium does not handle the provided settings; please check for aberrant form values # Then the response body should match string:
""" # """
# Chromium does not handle the provided settings; please check for aberrant form values
# """
When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/markdown" endpoint with the following form data and header(s): When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/markdown" endpoint with the following form data and header(s):
| files | testdata/page-1-markdown/index.html | file | | files | testdata/page-1-markdown/index.html | file |
| files | testdata/page-1-markdown/page_1.md | file | | files | testdata/page-1-markdown/page_1.md | file |

View File

@@ -479,21 +479,23 @@ Feature: /forms/chromium/convert/url
""" """
omitBackground requires printBackground set to true omitBackground requires printBackground set to true
""" """
Given I have a static server # Does not seems to happen on amd architectures anymore since Chromium 137.
When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/url" endpoint with the following form data and header(s): # See: https://github.com/gotenberg/gotenberg/actions/runs/15384321883/job/43280184372.
| url | http://host.docker.internal:%d/html/testdata/page-1-html/index.html | field | # Given I have a static server
| paperWidth | 0 | field | # When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/url" endpoint with the following form data and header(s):
| paperHeight | 0 | field | # | url | http://host.docker.internal:%d/html/testdata/page-1-html/index.html | field |
| marginTop | 1000000 | field | # | paperWidth | 0 | field |
| marginBottom | 1000000 | field | # | paperHeight | 0 | field |
| marginLeft | 1000000 | field | # | marginTop | 1000000 | field |
| marginRight | 1000000 | field | # | marginBottom | 1000000 | field |
Then the response status code should be 400 # | marginLeft | 1000000 | field |
Then the response header "Content-Type" should be "text/plain; charset=UTF-8" # | marginRight | 1000000 | field |
Then the response body should match string: # Then the response status code should be 400
""" # Then the response header "Content-Type" should be "text/plain; charset=UTF-8"
Chromium does not handle the provided settings; please check for aberrant form values # Then the response body should match string:
""" # """
# Chromium does not handle the provided settings; please check for aberrant form values
# """
Given I have a static server Given I have a static server
When I make a "POST" request to Gotenberg at the "/forms/chromium/convert/url" endpoint with the following form data and header(s): 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/page-1-html/index.html | field | | url | http://host.docker.internal:%d/html/testdata/page-1-html/index.html | field |