stable

Clone or download

Read-only

Make the CommonMark preview button functional for the step defintion

fields Part of story #18337 markdown replace text How to test: - Write some Markdown in your step definition field - Click on preview => During the loading the button is disabled. => The texts in the text areas are displayed in HTML (with reference) => The format selector should be disabled => the Help button should be aslo disabled. => If the content cannot be interpreted an error is displayed. Change-Id: If8b8c61cdadbab0defc23f5d1543e59367b179e0

Modified Files

Name
M plugins/testmanagement/include/TestManagement/Step/Definition/Field/StepDefinition.php +4 −0 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/CommonMark/CommonmarkPreviewButton.test.js +25 −3 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/CommonMark/CommonmarkPreviewButton.vue +6 −2 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/StepDefinitionActions.test.js +3 −10 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/StepDefinitionActions.vue +4 −9 Go to diff View file
A plugins/testmanagement/scripts/step-definition-field/StepDefinitionEditableStep.test.js +168 −0 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/StepDefinitionEditableStep.vue +74 −0 Go to diff View file
A plugins/testmanagement/scripts/step-definition-field/api/tuleap-api.js +36 −0 Go to diff View file
A plugins/testmanagement/scripts/step-definition-field/helpers/shared-properties.js +29 −0 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/index.js +3 −1 Go to diff View file
M plugins/testmanagement/scripts/step-definition-field/po/fr.po +3 −0 Go to diff View file