From 0eea405155321f8750814ebbacf2e8f3e292d68f Mon Sep 17 00:00:00 2001 From: withanage Date: Thu, 7 Nov 2024 19:38:26 +0100 Subject: [PATCH 1/2] Add new invitation workflow cypress tests --- .../tests/data/10-ApplicationSetup/40-CreateUsers.cy.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js b/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js index 6220e9a32b9..8f3c71ff703 100644 --- a/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js +++ b/cypress/tests/data/10-ApplicationSetup/40-CreateUsers.cy.js @@ -126,15 +126,9 @@ describe('Data suite tests', function() { } ]; users.forEach(user => { - cy.createUser(user); + cy.createUserByInvitation(user); }); cy.logout(); - var user = users[0]; - if (!('email' in user)) user.email = user.username + '@mailinator.com'; - if (!('password' in user)) user.password = user.username + user.username; - cy.login(user.username); - cy.resetPassword(user.username, user.password); - cy.logout(); }); }) From 061f2293ccdb3f77cad9b1194050231594facffe Mon Sep 17 00:00:00 2001 From: withanage Date: Thu, 7 Nov 2024 19:50:33 +0100 Subject: [PATCH 2/2] Submodule update pkp/pkp-lib#9658 --- lib/pkp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pkp b/lib/pkp index fe55bd88c1a..89412893c48 160000 --- a/lib/pkp +++ b/lib/pkp @@ -1 +1 @@ -Subproject commit fe55bd88c1ac8b1ce10ba6a8b44e873aa218c787 +Subproject commit 89412893c4855bd367e8b086891eab1faef77976