stable

Clone or download

Read-only

Add Step Execution field

Part of story #11390 have base of steps across the stack How to test: - Run forgeupgrade and clear cache - You should be able to add a "Step Execution" field. - Restriction to TTM tracker will come later Submitting values or editing this field is not supported, so you must forge the DB yourself. To do so: 1. Set up a Test definition tracker with a Step Definition field 2. Add a value for this field to a Test Definition artifact. 3. Get the id of the last changeset from your Step Execution artifact (for example 4601) 4. Get the id of the Step Execution field (for example 7476) 5. Insert a Changeset value row: INSERT INTO tracker_changeset_value (changeset_id, field_id, has_changed) VALUES (4601, 7476, 1); 6. Get the id of the step definition you created at (3.) from the plugin_testmanagement_changeset_value_stepdef table (for example 1) 7. Insert a TTM changeset value row with the Changeset Value id you created at (5.) (for example 44655) INSERT INTO plugin_testmanagement_changeset_value_stepexec (changeset_value_id, stepdef_id, status) VALUES (44655, 1, 'passed'); Change-Id: Ic07171c45d32bfc9b2b46ef4cc623e305cf4a65f

Modified Files

Name
M db/install.sql +7 −0 Go to diff View file
A db/mysql/updates/2018/201805171520_add_stepexec_table.php +48 −0 Go to diff View file
M db/uninstall.sql +1 −0 Go to diff View file
M include/TestManagement/Step/Definition/Field/StepDefinitionChangesetValue.php +4 −4 Go to diff View file
A include/TestManagement/Step/Execution/Field/StepExecution.php +363 −0 Go to diff View file
A include/TestManagement/Step/Execution/Field/StepExecutionChangesetValue.php +125 −0 Go to diff View file
A include/TestManagement/Step/Execution/Field/StepExecutionChangesetValueDao.php +61 −0 Go to diff View file
A include/TestManagement/Step/Execution/Field/ViewAdmin.php +29 −0 Go to diff View file
A include/TestManagement/Step/Execution/StepResult.php +53 −0 Go to diff View file
A include/TestManagement/Step/Execution/StepResultPresenter.php +36 −0 Go to diff View file
M include/autoload.php +8 −2 Go to diff View file
M include/testmanagementPlugin.class.php +2 −0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-testmanagement.po +7 −1 Go to diff View file
M site-content/tuleap-testmanagement.pot +6 −0 Go to diff View file
M templates/step-exec-readonly.mustache +14 −29 Go to diff View file
M www/themes/FlamingParrot/css/style.scss +13 −2 Go to diff View file
A www/themes/default/images/ic/tick-circle--plus.png Binary file Go to diff View file
A www/themes/default/images/ic/tick-circle.png Binary file Go to diff View file