Files
export-xlsx/tests/v1.0/karate.yaml.test.feature
Nathan Coad 54093c9106
All checks were successful
continuous-integration/drone/push Build is passing
functionbuilder
2023-02-10 16:15:36 +11:00

41 lines
598 B
Gherkin

Feature: Basic
# The secrects can be used in the payload with the following syntax #(mysecretname)
Background:
* def export-xlsxSecret = karate.properties['export-xlsxSecret']
Scenario: get request
Given url karate.properties['testURL']
And path '/'
And header Direktiv-ActionID = 'development'
And header Direktiv-TempDir = '/tmp'
And request
"""
{
"commands": [
{
"command": "ls -la",
"silent": true,
"print": false,
}
]
}
"""
When method POST
Then status 200
And match $ ==
"""
{
"export-xlsx": [
{
"result": "#notnull",
"success": true
}
]
}
"""