Files
wehub-resource-sync bf122cd71b
AI Engine CI / engine (push) Failing after 0s
Check generated models / generated-models (push) Failing after 1s
Enterprise E2E (Playwright) / pick (push) Failing after 8s
Enterprise E2E (Playwright) / playwright-e2e-enterprise (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 11:59:14 +08:00

26 lines
1.2 KiB
Gherkin

@convert
Feature: EML to PDF Conversion API Validation
@eml-to-pdf @positive
Scenario: Convert EML email to PDF
Given I generate an EML email file as "fileInput"
When I send the API request to the endpoint "/api/v1/convert/eml/pdf"
Then the response status code should be 200
And the response file should have size greater than 0
@eml-to-pdf @positive
Scenario: Convert EML with subject and body to PDF
Given I generate an EML email file as "fileInput"
When I send the API request to the endpoint "/api/v1/convert/eml/pdf"
Then the response status code should be 200
And the response file should have size greater than 0
And the response file should have extension ".pdf"
@eml-to-pdf @positive
Scenario: Convert MSG (Outlook) file to PDF
Given I use an example file at "exampleFiles/example.msg" as parameter "fileInput"
When I send the API request to the endpoint "/api/v1/convert/eml/pdf"
Then the response status code should be 200
And the response file should have size greater than 0
And the response file should have extension ".pdf"