stable

Clone or download

Read-only

Add button to add test to a backlog item

Go to test plan, expand a backlog item, and click on the button [Add a test] => You are redirected to the artifact submission interface => After submission, you are redirected to the test plan. If you expand the backlog item, then you will see the new test Part of story #14888: Create a new test with artifact view Change-Id: Ia5758cb18e66915551a5c14b2b03e34998d8e15a

Modified Files

Name
A plugins/testplan/include/TestDefinition/EventRedirectAfterArtifactCreationOrUpdateProcessor.php +105 −0 Go to diff View file
A plugins/testplan/include/TestDefinition/RedirectParameterInjector.php +46 −0 Go to diff View file
M plugins/testplan/include/testplanPlugin.php +57 −2 Go to diff View file
M plugins/testplan/scripts/test-plan/po/fr_FR.po +3 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/AddTestButton.test.ts +108 −0 Go to diff View file
A plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/AddTestButton.vue +84 −0 Go to diff View file
M plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/ListOfTestDefinitions.vue +8 −2 Go to diff View file
A plugins/testplan/scripts/test-plan/src/components/BacklogItems/TestDefinitions/__snapshots__/AddTestButton.test.ts.snap +16 −0 Go to diff View file
M plugins/testplan/site-content/fr_FR/LC_MESSAGES/tuleap-testplan.po +6 −2 Go to diff View file
A plugins/testplan/tests/unit/TestDefinition/EventRedirectAfterArtifactCreationOrUpdateProcessorTest.php +344 −0 Go to diff View file
A plugins/testplan/tests/unit/TestDefinition/RedirectParameterInjectorTest.php +78 −0 Go to diff View file
M plugins/testplan/themes/includes/_test-definitions.scss +17 −0 Go to diff View file
M plugins/tracker/include/Tracker/Action/CreateArtifact.class.php +6 −4 Go to diff View file
M plugins/tracker/include/Tracker/Action/UpdateArtifact.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Redirect.class.php +20 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Renderer/CopyRenderer.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Renderer/EditAbstractRenderer.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Renderer/SubmitAbstractRenderer.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Field/ArtifactLink/ArtifactLinkUpdater.php +4 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/RedirectTest.php +3 −1 Go to diff View file