stable

Clone or download

Read-only

feat: Basic e2e cover of Tuleap Functions for Tracker

The test is based on post-action-add-comment that was introduced in Tuleap sources to develop the feature. The binary has been compiled from plugins/tracker_cce/wasm_modules/post-action-add-comment and is added as a fixture. For now the test only cover the following: * upload of a function * check function is executed after artifact creation Other features are considered not worth to be covered because meaningless (like check admin logs) or redundant (like artifact update). This can be revised later. Part of story #35093: execute custom code as artifact post action Change-Id: Ie336f57a28bef6537905b00d8a44ce82b75426f4

Modified Files

Name
M lib/test-utils/cypress-utilities-support/src/commands-type-definitions.d.ts +5 −0 Go to diff View file
M lib/test-utils/cypress-utilities-support/src/commands.ts +30 −0 Go to diff View file
M plugins/tracker_cce/include/TrackerCCE/Administration/administration.mustache +4 −3 Go to diff View file
A plugins/tracker_cce/tests/e2e/cypress/_fixtures/explicit_backlog/project.xml +89 −0 Go to diff View file
A plugins/tracker_cce/tests/e2e/cypress/_fixtures/explicit_backlog/users.xml +35 −0 Go to diff View file
A plugins/tracker_cce/tests/e2e/cypress/cypress.config.ts +6 −0 Go to diff View file
A plugins/tracker_cce/tests/e2e/cypress/cypress/e2e/tracker_functions.cy.ts +94 −0 Go to diff View file
A plugins/tracker_cce/tests/e2e/cypress/cypress/fixtures/post-action-add-comment.wasm Binary file Go to diff View file
A plugins/tracker_cce/tests/e2e/cypress/cypress/support/e2e.ts +21 −0 Go to diff View file
A plugins/tracker_cce/tests/e2e/cypress/package.json +11 −0 Go to diff View file
A plugins/tracker_cce/tests/e2e/cypress/pnpm-lock.yaml +13 −0 Go to diff View file
A plugins/tracker_cce/tests/e2e/cypress/tsconfig.json +4 −0 Go to diff View file
M tests/e2e/full/tuleap/setup.sh +1 −0 Go to diff View file