stable

Clone or download

Read-only

refactor: Use cy.session to log in Mediawiki tests

No functional change. End-to-end tests for Mediawiki plugin should succeed. part of request #29992 Bump cypress to 12.1.0 Change-Id: Idabb9f36d3608555ce24e4c73d854b267dccc14c

Modified Files

Name
M lib/test-utils/cypress-utilities-support/package.json +0 −1 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
M lib/test-utils/cypress-utilities-support/src/commands.ts +23 −12 Go to diff View file
M plugins/mediawiki/tests/e2e/cypress/cypress.config.ts +2 −1 Go to diff View file
M plugins/mediawiki/tests/e2e/cypress/cypress/e2e/mediawiki.cy.ts +1 −5 Go to diff View file
M plugins/mediawiki/tests/e2e/cypress/cypress/e2e/permission_delegation.cy.ts +5 −13 Go to diff View file
M plugins/mediawiki/tests/e2e/cypress/cypress/e2e/platform_allows_anonymous.cy.ts +5 −9 Go to diff View file
M plugins/mediawiki/tests/e2e/cypress/cypress/e2e/platform_allows_restricted.cy.ts +5 −10 Go to diff View file
M plugins/mediawiki/tests/e2e/cypress/cypress/e2e/private_project.cy.ts +2 −6 Go to diff View file
M plugins/mediawiki/tests/e2e/cypress/cypress/e2e/public_project.cy.ts +3 −7 Go to diff View file
M tests/e2e/full/cypress/e2e/project_admin.cy.ts +3 −0 Go to diff View file