stable
Clone or download
Read-only
part of request #12127 Add minimal tests for tracker artifacts This patch add some tests over tracker artifacts: - tracker creation from new UI - artifact manipulation: creation/copy/move/printer version - computed field update How to test: make tests_cypress check results in request test_result_e2e_full => no error Change-Id: I34fc287836ee53533dbff6d794bba909ff4c8d43
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Artifact/Renderer/ArtifactRenderer.class.php | +8 | −2 | 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/SubmitRenderer.class.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/View/Edit.class.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php | +6 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php | +5 | −3 | Go to diff View file |
M | plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_String.class.php | +1 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Report/Tracker_Report_Renderer_Table.class.php | +1 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/TrackerManager.class.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/trackerPlugin.php | +3 | −1 | Go to diff View file |
M | plugins/tracker/scripts/artifact-action-buttons/src/components/DryRunFullyMigratedFieldState.vue | +5 | −1 | Go to diff View file |
M | plugins/tracker/scripts/artifact-action-buttons/src/components/DryRunNotMigratedFieldState.vue | +5 | −1 | Go to diff View file |
M | plugins/tracker/scripts/artifact-action-buttons/src/components/DryRunPartiallyMigratedFieldState.vue | +5 | −1 | Go to diff View file |
M | plugins/tracker/scripts/artifact-action-buttons/src/components/MoveModal.vue | +2 | −0 | Go to diff View file |
M | plugins/tracker/scripts/artifact-action-buttons/src/components/ProjectSelector.vue | +1 | −0 | Go to diff View file |
M | plugins/tracker/scripts/artifact-action-buttons/src/components/TrackerSelector.vue | +1 | −0 | Go to diff View file |
M | plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerBaseCard.test.ts | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/tracker-creation/src/components/steps/step-one/cards/TrackerBaseCard.vue | +1 | −1 | Go to diff View file |
M | plugins/tracker/templates/action-buttons/action-buttons.mustache | +1 | −1 | Go to diff View file |
M | plugins/tracker/templates/action-buttons/copy-artifact.mustache | +1 | −1 | Go to diff View file |
M | plugins/tracker/templates/action-buttons/move-artifact-button.mustache | +1 | −0 | Go to diff View file |
M | plugins/tracker/templates/admin-header.mustache | +7 | −2 | Go to diff View file |
M | plugins/tracker/templates/admin-perms-tracker.mustache | +2 | −2 | Go to diff View file |
M | plugins/tracker/templates/follow-ups.mustache | +1 | −1 | Go to diff View file |
M | plugins/tracker/templates/siteadmin-config/artifacts-deletion.mustache | +3 | −1 | Go to diff View file |
M | plugins/tracker/templates/siteadmin-config/site-admin-navbar.mustache | +2 | −2 | Go to diff View file |
M | plugins/tracker/templates/tracker-creation/tracker-creation-success.mustache | +1 | −0 | Go to diff View file |
M | src/templates/admin/sidebar_plugins.mustache | +6 | −1 | Go to diff View file |
A | tests/e2e/_fixtures/tracker_artifact_project/project.xml | +695 | −0 | Go to diff View file |
A | tests/e2e/_fixtures/tracker_artifact_project/users.xml | +37 | −0 | Go to diff View file |
A | tests/e2e/full/cypress/integration/tracker_artifact.spec.js | +226 | −0 | Go to diff View file |