Fix profile

This commit is contained in:
Diego Mello 2023-02-16 10:50:21 -03:00
parent 579af558f4
commit ea2360754b
1 changed files with 3 additions and 0 deletions

View File

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