Merge pull request #1980 from kuba618/AUT-1119

test: add removed user invitation test
This commit is contained in:
Ali BARIN
2024-07-19 11:42:29 +02:00
committed by GitHub
2 changed files with 80 additions and 44 deletions

View File

@@ -7,6 +7,7 @@ const { UserInterfacePage } = require('./user-interface-page');
const { LoginPage } = require('./login-page');
const { AcceptInvitation } = require('./accept-invitation-page');
const { adminFixtures } = require('./admin');
const { AdminCreateUserPage } = require('./admin/create-user-page');
exports.test = test.extend({
page: async ({ page }, use) => {
@@ -51,6 +52,11 @@ exports.publicTest = test.extend({
acceptInvitationPage: async ({ page }, use) => {
const acceptInvitationPage = new AcceptInvitation(page);
await use(acceptInvitationPage);
},
adminCreateUserPage: async ({page}, use) => {
const adminCreateUserPage = new AdminCreateUserPage(page);
await use(adminCreateUserPage);
}
});