From 6cd4678fe76d900c94243c5b158899e4f01fbd81 Mon Sep 17 00:00:00 2001 From: rique223 Date: Mon, 8 Apr 2024 15:09:27 -0300 Subject: [PATCH] Fix tests --- apps/meteor/tests/e2e/administration.spec.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/meteor/tests/e2e/administration.spec.ts b/apps/meteor/tests/e2e/administration.spec.ts index 7ddc461cdaa6..b59e7c696824 100644 --- a/apps/meteor/tests/e2e/administration.spec.ts +++ b/apps/meteor/tests/e2e/administration.spec.ts @@ -75,13 +75,12 @@ test.describe.parallel('administration', () => { test('expect create a user', async () => { await poAdmin.tabs.users.btnNewUser.click(); + await poAdmin.tabs.users.inputEmail.type(faker.internet.email()); await poAdmin.tabs.users.inputName.type(faker.person.firstName()); await poAdmin.tabs.users.inputUserName.type(faker.internet.userName()); - await poAdmin.tabs.users.inputSetManually.click(); - await poAdmin.tabs.users.inputEmail.type(faker.internet.email()); - await poAdmin.tabs.users.checkboxVerified.click(); await poAdmin.tabs.users.inputPassword.type('any_password'); await poAdmin.tabs.users.inputConfirmPassword.type('any_password'); + await poAdmin.tabs.users.inputSetManually.click(); await expect(poAdmin.tabs.users.userRole).toBeVisible(); await poAdmin.tabs.users.btnSave.click(); });