stable

Clone or download

Read-only

request #14518 Add cypress for dashboards

As of today widgets are not covered by e2e tests. It's a specific entry point and it would be great to see durng nightly if we break something. This patch add tests over some legacy widgets and gives us a coverage of cross tracker search usage. Timetracking widgets should be covered, but I'll do it in a dediacted patch. Change-Id: I59ed52ddcf2624817c54c38d0dedea471f8d3e8b

Modified Files

Name
M plugins/crosstracker/scripts/cross-tracker/src/CrossTrackerWidget.vue +5 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/components/ArtifactTable.vue +2 −2 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/components/ArtifactTableRow.vue +1 −1 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/reading-mode/ReadingMode.vue +2 −0 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/writing-mode/QueryEditor.vue +1 −0 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/writing-mode/TrackerSelection.vue +10 −6 Go to diff View file
M plugins/crosstracker/scripts/cross-tracker/src/writing-mode/WritingMode.vue +5 −1 Go to diff View file
M plugins/tracker/include/Tracker/Widget/Tracker_Widget_MyArtifacts.class.php +1 −1 Go to diff View file
M src/common/Widget/Widget_ImageViewer.class.php +9 −8 Go to diff View file
M src/common/Widget/Widget_MyProjects.class.php +1 −1 Go to diff View file
M src/templates/dashboard/add-dashboard-modal.mustache +9 −2 Go to diff View file
M src/templates/dashboard/add-widget-modal.mustache +1 −0 Go to diff View file
M src/templates/dashboard/dashboard-tabs.mustache +4 −1 Go to diff View file
M src/templates/dashboard/delete-dashboard-modal.mustache +1 −1 Go to diff View file
M src/templates/dashboard/my.mustache +2 −0 Go to diff View file
M src/templates/dashboard/widgets-categories.mustache +1 −1 Go to diff View file
M src/templates/dashboard/widgets.mustache +1 −0 Go to diff View file
A tests/e2e/_fixtures/dashboard_user/project.xml +1313 −0 Go to diff View file
A tests/e2e/_fixtures/dashboard_user/users.xml +35 −0 Go to diff View file
A tests/e2e/full/cypress/integration/dashboard_user.spec.js +157 −0 Go to diff View file
M tests/e2e/full/tuleap/setup.sh +2 −0 Go to diff View file