stable

Clone or download

Read-only

feat: introduce first e2e test for artidoc

Now that we can create artidoc documents, and use API to push content inside them, it is time to introduce e2e test to have a better coverage of the whole feature. No functional tests, e2e tests should pass (and can be replayed). Note: `putFromTuleap` type definition is updated so that we can pass array instead of just a Record (use `cy.request()` type definition) and so that we can chain the result. Part of story #37542: display a read only Document Change-Id: I97477f203788005732cf111e9ef89864bf2c767b

Modified Files

Name
M lib/test-utils/cypress-utilities-support/src/api-helper.ts +2 −2 Go to diff View file
M lib/test-utils/cypress-utilities-support/src/commands-type-definitions.d.ts +5 −1 Go to diff View file
A plugins/artidoc/tests/e2e/cypress/_fixtures/artidoc-template/project.xml +107 −0 Go to diff View file
A plugins/artidoc/tests/e2e/cypress/_fixtures/artidoc-template/users.xml +17 −0 Go to diff View file
A plugins/artidoc/tests/e2e/cypress/cypress.config.ts +6 −0 Go to diff View file
A plugins/artidoc/tests/e2e/cypress/cypress/e2e/artidoc.cy.ts +109 −0 Go to diff View file
A plugins/artidoc/tests/e2e/cypress/cypress/support/e2e.ts +21 −0 Go to diff View file
A plugins/artidoc/tests/e2e/cypress/package.json +13 −0 Go to diff View file
A plugins/artidoc/tests/e2e/cypress/pnpm-lock.yaml +13 −0 Go to diff View file
A plugins/artidoc/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