From ea2360754b9a6ccef068b076b130ee378a7b8a12 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Thu, 16 Feb 2023 10:50:21 -0300 Subject: [PATCH] Fix profile --- e2e/tests/assorted/03-profile.spec.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/e2e/tests/assorted/03-profile.spec.ts b/e2e/tests/assorted/03-profile.spec.ts index 3f7d7741c..173ad8dfe 100644 --- a/e2e/tests/assorted/03-profile.spec.ts +++ b/e2e/tests/assorted/03-profile.spec.ts @@ -105,6 +105,9 @@ describe('Profile screen', () => { }); it('should change email and password', async () => { + await waitFor(element(by.id('profile-view-email'))) + .toBeVisible() + .withTimeout(2000); await element(by.id('profile-view-email')).replaceText(`mobile+profileChangesNew${data.random}@rocket.chat`); await element(by.id('profile-view-new-password')).replaceText(`${profileChangeUser.password}new`); await waitFor(element(by.id('profile-view-submit')))