mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-15 11:52:14 +01:00
chore(integration): prettify
This commit is contained in:
@@ -422,20 +422,20 @@ Feature: /forms/chromium/convert/html
|
|||||||
"""
|
"""
|
||||||
# Does not seems to happen on amd architectures anymore since Chromium 137.
|
# Does not seems to happen on amd architectures anymore since Chromium 137.
|
||||||
# See: https://github.com/gotenberg/gotenberg/actions/runs/15384321883/job/43280184372.
|
# See: https://github.com/gotenberg/gotenberg/actions/runs/15384321883/job/43280184372.
|
||||||
# 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 |
|
||||||
# | paperWidth | 0 | field |
|
# | paperWidth | 0 | field |
|
||||||
# | paperHeight | 0 | field |
|
# | paperHeight | 0 | field |
|
||||||
# | marginTop | 1000000 | field |
|
# | marginTop | 1000000 | field |
|
||||||
# | marginBottom | 1000000 | field |
|
# | marginBottom | 1000000 | field |
|
||||||
# | marginLeft | 1000000 | field |
|
# | marginLeft | 1000000 | field |
|
||||||
# | marginRight | 1000000 | field |
|
# | marginRight | 1000000 | field |
|
||||||
# Then the response status code should be 400
|
# Then the response status code should be 400
|
||||||
# Then the response header "Content-Type" should be "text/plain; charset=UTF-8"
|
# Then the response header "Content-Type" should be "text/plain; charset=UTF-8"
|
||||||
# Then the response body should match string:
|
# Then the response body should match string:
|
||||||
# """
|
# """
|
||||||
# Chromium does not handle the provided settings; please check for aberrant form values
|
# 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 |
|
||||||
|
|||||||
@@ -499,21 +499,21 @@ Feature: /forms/chromium/convert/markdown
|
|||||||
"""
|
"""
|
||||||
# Does not seems to happen on amd architectures anymore since Chromium 137.
|
# Does not seems to happen on amd architectures anymore since Chromium 137.
|
||||||
# See: https://github.com/gotenberg/gotenberg/actions/runs/15384321883/job/43280184372.
|
# See: https://github.com/gotenberg/gotenberg/actions/runs/15384321883/job/43280184372.
|
||||||
# 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 |
|
||||||
# | paperWidth | 0 | field |
|
# | paperWidth | 0 | field |
|
||||||
# | paperHeight | 0 | field |
|
# | paperHeight | 0 | field |
|
||||||
# | marginTop | 1000000 | field |
|
# | marginTop | 1000000 | field |
|
||||||
# | marginBottom | 1000000 | field |
|
# | marginBottom | 1000000 | field |
|
||||||
# | marginLeft | 1000000 | field |
|
# | marginLeft | 1000000 | field |
|
||||||
# | marginRight | 1000000 | field |
|
# | marginRight | 1000000 | field |
|
||||||
# Then the response status code should be 400
|
# Then the response status code should be 400
|
||||||
# Then the response header "Content-Type" should be "text/plain; charset=UTF-8"
|
# Then the response header "Content-Type" should be "text/plain; charset=UTF-8"
|
||||||
# Then the response body should match string:
|
# Then the response body should match string:
|
||||||
# """
|
# """
|
||||||
# Chromium does not handle the provided settings; please check for aberrant form values
|
# 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 |
|
||||||
|
|||||||
@@ -481,21 +481,21 @@ Feature: /forms/chromium/convert/url
|
|||||||
"""
|
"""
|
||||||
# Does not seems to happen on amd architectures anymore since Chromium 137.
|
# Does not seems to happen on amd architectures anymore since Chromium 137.
|
||||||
# See: https://github.com/gotenberg/gotenberg/actions/runs/15384321883/job/43280184372.
|
# See: https://github.com/gotenberg/gotenberg/actions/runs/15384321883/job/43280184372.
|
||||||
# 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 |
|
||||||
# | paperWidth | 0 | field |
|
# | paperWidth | 0 | field |
|
||||||
# | paperHeight | 0 | field |
|
# | paperHeight | 0 | field |
|
||||||
# | marginTop | 1000000 | field |
|
# | marginTop | 1000000 | field |
|
||||||
# | marginBottom | 1000000 | field |
|
# | marginBottom | 1000000 | field |
|
||||||
# | marginLeft | 1000000 | field |
|
# | marginLeft | 1000000 | field |
|
||||||
# | marginRight | 1000000 | field |
|
# | marginRight | 1000000 | field |
|
||||||
# Then the response status code should be 400
|
# Then the response status code should be 400
|
||||||
# Then the response header "Content-Type" should be "text/plain; charset=UTF-8"
|
# Then the response header "Content-Type" should be "text/plain; charset=UTF-8"
|
||||||
# Then the response body should match string:
|
# Then the response body should match string:
|
||||||
# """
|
# """
|
||||||
# Chromium does not handle the provided settings; please check for aberrant form values
|
# 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 |
|
||||||
|
|||||||
Reference in New Issue
Block a user