stable

Clone or download

Read-only

part of request #32636 project notifications test can be covered with cypress

convert test_case #15298, test_case #15294, test_case #15188, test_case #15213, test_case #15212 Note: The User creation notification will be done in a dedicated patch because I need to add `sys_user_approval` in site admin UI Change-Id: Iaaa29c1d2f38c35165d271778b4c3bf3935661b3

Modified Files

Name
M lib/test-utils/cypress-utilities-support/package.json +3 −1 Go to diff View file
M lib/test-utils/cypress-utilities-support/pnpm-lock.yaml +23 −0 Go to diff View file
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 +18 −0 Go to diff View file
M plugins/document/tests/e2e/cypress/cypress/e2e/notifications.cy.ts +7 −20 Go to diff View file
M src/common/User/Account/RemoveFromProjectController.php +1 −0 Go to diff View file
M src/common/Widget/MyProjects.php +2 −2 Go to diff View file
M src/templates/admin/projects/moderation.mustache +1 −0 Go to diff View file
M src/templates/admin/projects/project-pending.mustache +1 −0 Go to diff View file
M src/templates/error/join-project.mustache +2 −1 Go to diff View file
M src/templates/error/permission-denied-private-project.mustache +2 −1 Go to diff View file
M src/templates/error/permission-denied-restricted-account-project.mustache +1 −0 Go to diff View file
M src/www/admin/index.php +1 −1 Go to diff View file
A tests/e2e/full/cypress/e2e/core-notifications.cy.ts +104 −0 Go to diff View file
M tests/e2e/full/cypress/e2e/core-permissions.cy.ts +53 −0 Go to diff View file