cucumber for days (#5766)

This commit is contained in:
Anthony Stirling
2026-02-21 23:17:28 +00:00
committed by GitHub
parent 7631b222bd
commit 30c258ce0b
40 changed files with 4079 additions and 49 deletions
@@ -0,0 +1,29 @@
@proprietary @forms
Feature: Advanced Forms API Validation (JSON data parts)
@fill @positive
Scenario: Fill PDF form with empty JSON data part
Given I generate a PDF file as "file"
And the pdf contains 2 pages
And the pdf has form fields
And the request includes a JSON part "data" with content "{}"
When I send the API request to the endpoint "/api/v1/form/fill"
Then the response status code should be 200
And the response content type should be "application/pdf"
And the response file should have size greater than 0
And the response file should have extension ".pdf"
@fill @positive
Scenario: Fill and flatten PDF form with empty JSON data part
Given I generate a PDF file as "file"
And the pdf contains 2 pages
And the pdf has form fields
And the request data includes
| parameter | value |
| flatten | true |
And the request includes a JSON part "data" with content "{}"
When I send the API request to the endpoint "/api/v1/form/fill"
Then the response status code should be 200
And the response content type should be "application/pdf"
And the response file should have size greater than 0
And the response file should have extension ".pdf"