stable
Clone or download
Part of story #11492 have several steps in my tests /!\ Depends on https://gerrit.tuleap.net/#/c/11650/ How to test: - Given a test def / exec with steps correctly configured and given you have failed and passed some steps in the execution - When you edit this test's definition with the artifact modal, then after submit, all the steps' status should revert to "not run". - After edit, when you pass a step, then the Test's status should not switch to "Passed" unless all the steps are passed (previously just one step was enough in this state). - The Execution representations (check Campaign and single Execution routes) should no longer send Step results with ids corresponding to older Step definitions. Change-Id: I5f7a944740ffe2ff88b327832da0f69e06d5ef68
Modified Files
Name | ||||
---|---|---|---|---|
M | include/TestManagement/REST/v1/CampaignsResource.class.php | +8 | −1 | Go to diff View file |
A | include/TestManagement/REST/v1/Execution/StepsResultsFilter.php | +53 | −0 | Go to diff View file |
A | include/TestManagement/REST/v1/Execution/StepsResultsRepresentationBuilder.php | +127 | −0 | Go to diff View file |
M | include/TestManagement/REST/v1/ExecutionRepresentation.php | +5 | −4 | Go to diff View file |
M | include/TestManagement/REST/v1/ExecutionRepresentationBuilder.php | +27 | −57 | Go to diff View file |
M | include/TestManagement/REST/v1/ExecutionsResource.class.php | +8 | −2 | Go to diff View file |
M | include/autoload.php | +4 | −2 | Go to diff View file |
A | phpunit/TestManagement/REST/v1/Execution/StepsResultsFilterTest.php | +117 | −0 | Go to diff View file |
M | www/scripts/angular/src/app/execution/execution-detail-controller.js | +0 | −8 | Go to diff View file |
M | www/scripts/angular/src/app/execution/execution-with-steps/execution-with-steps-controller.js | +7 | −6 | Go to diff View file |
M | www/scripts/angular/src/app/execution/execution-with-steps/execution-with-steps-controller.spec.js | +21 | −20 | Go to diff View file |
M | www/scripts/angular/src/app/execution/execution-with-steps/execution-with-steps.tpl.html | +1 | −1 | Go to diff View file |
M | www/scripts/angular/src/app/execution/execution-with-steps/step/execution-with-steps-updater.js | +14 | −4 | Go to diff View file |
M | www/scripts/angular/src/app/execution/execution-with-steps/step/execution-with-steps-updater.spec.js | +49 | −4 | Go to diff View file |
M | www/scripts/angular/src/app/execution/execution-with-steps/step/step-controller.js | +2 | −1 | Go to diff View file |
M | www/scripts/angular/src/app/execution/execution-with-steps/step/step-controller.spec.js | +3 | −2 | Go to diff View file |