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')))