stable

Clone or download

Read-only

Add Step Definition field

Part of story #11390: have base of steps across the stack *Important:* This commit depends on https://gerrit.tuleap.net/11372 and https://gerrit.tuleap.net/11373 Run forgeupgrade & clear cache. In a tracker you can add the new field StepDefinition. This allows to define only one step for now (you can however add steps directly in database to display more than one step). If there is no step in the test definition, then an empty state is displayed. Limited information is displayed in follow-up comments. Steps can be added at submission or at artifact edition. The field is not displayed in artifact modal. The field is not displayed as criteria or as column. The field is not updatable via masschange. No functional changes in XML project import/export. Please note that there are inline css in the mustache file but it will be removed in a later commit when we will replace the table by beautiful interface (see mockups). Later (in dedicated commits): - tracker restriction (only for test def tracker) - styling - extraction of cross references on test description save Change-Id: I41d5c432cdbf65853090d9481941c65b950d9892

Modified Files

Name
M db/install.sql +8 −0 Go to diff View file
A db/mysql/updates/2018/2018005141637_add_stepdef_table.php +49 −0 Go to diff View file
M db/uninstall.sql +1 −0 Go to diff View file
A include/TestManagement/Step/Definition/Field/StepDefinition.php +436 −0 Go to diff View file
A include/TestManagement/Step/Definition/Field/StepDefinitionChangesetValue.php +145 −0 Go to diff View file
A include/TestManagement/Step/Definition/Field/StepDefinitionChangesetValueDao.php +83 −0 Go to diff View file
A include/TestManagement/Step/Definition/Field/ViewAdmin.php +31 −0 Go to diff View file
A include/TestManagement/Step/Step.php +70 −0 Go to diff View file
A include/TestManagement/Step/StepPresenter.php +35 −0 Go to diff View file
M include/autoload.php +8 −2 Go to diff View file
M include/testmanagementPlugin.class.php +14 −8 Go to diff View file
A templates/step-def-edit.mustache +26 −0 Go to diff View file
A templates/step-def-readonly.mustache +33 −0 Go to diff View file
A templates/step-def-submit.mustache +9 −0 Go to diff View file
A templates/step-exec-readonly.mustache +33 −0 Go to diff View file
A www/themes/default/images/ic/tick-white--plus.png Binary file Go to diff View file
A www/themes/default/images/ic/tick-white.png Binary file Go to diff View file