Skip to content

Releases: qavajs/steps-api

2.4.0

25 Oct 08:19
07a9732

Choose a tag to compare

What's Changed

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 text

Breaking Change

  • all entries of Body replaced with lowercase body

Full Changelog: 2.3.0...2.4.0

2.3.0

01 Aug 11:40
3f12577

Choose a tag to compare

What's Changed

Full Changelog: 2.2.0...2.3.0

1.2.0

01 Aug 11:40
7ff9e90

Choose a tag to compare

What's Changed

Full Changelog: 1.1.0...1.2.0

2.2.0

29 May 19:54
a962439

Choose a tag to compare

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

31 Jan 10:04
90a5d69

Choose a tag to compare

What's Changed

Full Changelog: 2.0.0...2.1.0

2.0.0

04 Dec 13:36
8f6f7df

Choose a tag to compare

What's Changed

Full Changelog: 1.0.0...2.0.0

1.1.0

04 Dec 14:50
5964c80

Choose a tag to compare

What's Changed

    • 🚀 added logPayload boolean flag to enable/disable extended logging by @AlexGalichenko in #44

Full Changelog: 0.20.0...1.1.0

1.0.0

29 Oct 10:25
1205523

Choose a tag to compare

What's Changed

Full Changelog: 0.20.0...1.0.0

0.20.0

04 Jul 07:54
101a416

Choose a tag to compare

What's Changed

Full Changelog: 0.19.0...0.20.0

0.19.0

12 Jun 21:26
963ca30

Choose a tag to compare

What's Changed

  • Breaking change: moved @qavajs/validation to peer dependencies by @AlexGalichenko in #37

Full Changelog: 0.18.1...0.19.0