Releases: qavajs/steps-api
Releases · qavajs/steps-api
2.4.0
What's Changed
- added copy response step by @AlexGalichenko in #51
When I send 'GET' request to "https://jsonplaceholder.typicode.com/todos/1" and save response as 'response'
And I copy '$response' response as 'copiedResponse'
And I parse '$response' body as json
And I parse '$copiedResponse' body as textBreaking Change
- all entries of
Bodyreplaced with lowercasebody
Full Changelog: 2.3.0...2.4.0
2.3.0
What's Changed
- added capability to print curl for debugging by @AlexGalichenko in #48
Full Changelog: 2.2.0...2.3.0
1.2.0
What's Changed
- Added capability to print curl by @AlexGalichenko in #49
Full Changelog: 1.1.0...1.2.0
2.2.0
What's Changed
- added
I parse {value} body as {value}step allow providing custom response parser by @AlexGalichenko in #47
When I parse "$response" body as "$soap"
Then I expect "$response.payload['soap:envelope']" to equal "bar"where soap is function in memory
import { XMLParser } from 'fast-xml-parser';
const xml = new XMLParser();
class Data {
soap = async (response) => {
const text = await response.text();
return xml.parse(text);
}
}Full Changelog: 2.1.0...2.2.0
2.1.0
What's Changed
- fix publishing workflow by @ALegchilov in #45
- added source maps by @AlexGalichenko in #46
Full Changelog: 2.0.0...2.1.0
2.0.0
1.1.0
What's Changed
-
- 🚀 added
logPayloadboolean flag to enable/disable extended logging by @AlexGalichenko in #44
- 🚀 added
Full Changelog: 0.20.0...1.1.0
1.0.0
0.20.0
What's Changed
- improved request and response reporting by @AlexGalichenko in #38
Full Changelog: 0.19.0...0.20.0
0.19.0
What's Changed
- Breaking change: moved @qavajs/validation to peer dependencies by @AlexGalichenko in #37
Full Changelog: 0.18.1...0.19.0