Fix test
This commit is contained in:
parent
4e19ae2118
commit
310c30be90
|
@ -106,7 +106,7 @@ describe('Profile screen', () => {
|
||||||
.withTimeout(2000);
|
.withTimeout(2000);
|
||||||
await element(by.id('change-avatar-view-submit')).tap();
|
await element(by.id('change-avatar-view-submit')).tap();
|
||||||
await waitFor(element(by.id('profile-view')))
|
await waitFor(element(by.id('profile-view')))
|
||||||
.toBeVisible()
|
.toExist()
|
||||||
.withTimeout(2000);
|
.withTimeout(2000);
|
||||||
await sleep(300);
|
await sleep(300);
|
||||||
const newUserInfo = await getProfileInfo({ userId });
|
const newUserInfo = await getProfileInfo({ userId });
|
||||||
|
|
Loading…
Reference in New Issue