Skip to content

Commit d3c7759

Browse files
authoredSep 17, 2019
Merge pull request #454 from magento/Remove-Artifacts
MQE-1765: Introduce API Endpoint and Request Headers to Allure artifacts
2 parents eca4dbc + 93fd35d commit d3c7759

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed
 

‎CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Magento Functional Testing Framework Changelog
77
* Allure output has been enhanced to contain new test artifacts created and used per MFTF step:
88
* `makeScreenshot` will contain an attachment under its Allure step.
99
* `seeInCurrentUrl` and all other `Url` asserts now contain an attachment with the expects vs actual comparison.
10-
* `createData` and all other `Data` actions now contain attachments with `ApiUrl`, `Headers`, `Request Body`, and `Response Body`.
10+
* `createData` and all other `Data` actions now contain attachments with `Request Body` and `Response Body`.
1111
* Modularity
1212
* Added a new `mftf run:manifest` command to run testManifest files generated by `generate:tests`.
1313
* See DevDocs for details

‎src/Magento/FunctionalTestingFramework/DataGenerator/Persist/CurlHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ public function executeRequest($dependentEntities)
167167
$response = $executor->read($successRegex, $returnRegex, $returnIndex);
168168
$executor->close();
169169

170-
AllureHelper::addAttachmentToLastStep($apiUrl, 'API Endpoint');
171-
AllureHelper::addAttachmentToLastStep(json_encode($headers, JSON_PRETTY_PRINT), 'Request Headers');
172170
AllureHelper::addAttachmentToLastStep(json_encode($this->requestData, JSON_PRETTY_PRINT), 'Request Body');
173171
AllureHelper::addAttachmentToLastStep(
174172
json_encode(json_decode($response, true), JSON_PRETTY_PRINT+JSON_UNESCAPED_UNICODE+JSON_UNESCAPED_SLASHES),

0 commit comments

Comments
 (0)
Please sign in to comment.