stable

Clone or download

Read-only

refactor: Use cy.session to log in AgileDashboard tests

No functional change. End-to-end tests for AgileDashboard should succeed. Notes: This introduces new commands to make migration from old ones easier. It introduces confusion to have two ways to log-in, but it lets us work on each plugin gradually instead of a big bang migration. At the end of the work, we should delete the old login commands and rename the new ones. part of request #29992 Bump cypress to 12.1.0 Change-Id: Ib4490e469b7273d9ce9ea03872f7d2b26f5de1dd

Modified Files

Name
M lib/test-utils/cypress-configurator/src/cypress-config.ts +1 −0 Go to diff View file
M lib/test-utils/cypress-utilities-support/src/commands-type-definitions.d.ts +13 −0 Go to diff View file
M lib/test-utils/cypress-utilities-support/src/commands.ts +29 −28 Go to diff View file
M plugins/agiledashboard/tests/e2e/cypress/cypress.config.ts +2 −1 Go to diff View file
M plugins/agiledashboard/tests/e2e/cypress/cypress/e2e/artifact-modal.cy.ts +15 −11 Go to diff View file
M plugins/agiledashboard/tests/e2e/cypress/cypress/e2e/explicit-backlog.cy.ts +2 −13 Go to diff View file
M plugins/agiledashboard/tests/e2e/cypress/cypress/e2e/implicit-backlog.cy.ts +2 −6 Go to diff View file
M plugins/agiledashboard/tests/e2e/cypress/cypress/e2e/kanban.cy.ts +4 −10 Go to diff View file