This commit is contained in:
Diego Mello 2024-04-18 09:03:55 -03:00
parent 4e19ae2118
commit 310c30be90
1 changed files with 1 additions and 1 deletions

View File

@ -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 });