Fix profile
This commit is contained in:
parent
579af558f4
commit
ea2360754b
|
@ -105,6 +105,9 @@ describe('Profile screen', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should change email and password', async () => {
|
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-email')).replaceText(`mobile+profileChangesNew${data.random}@rocket.chat`);
|
||||||
await element(by.id('profile-view-new-password')).replaceText(`${profileChangeUser.password}new`);
|
await element(by.id('profile-view-new-password')).replaceText(`${profileChangeUser.password}new`);
|
||||||
await waitFor(element(by.id('profile-view-submit')))
|
await waitFor(element(by.id('profile-view-submit')))
|
||||||
|
|
Loading…
Reference in New Issue