Try workaround for loading on jump to message

This commit is contained in:
Diego Mello 2023-03-01 10:07:27 -03:00
parent c0fb9291a3
commit 56f6326319
1 changed files with 7 additions and 7 deletions

View File

@ -37,15 +37,15 @@ async function clearCache() {
async function waitForLoading() { async function waitForLoading() {
// if (device.getPlatform() === 'android') { // if (device.getPlatform() === 'android') {
// await sleep(10000); await sleep(10000);
// return; // FIXME: Loading indicator doesn't animate properly on android // return; // FIXME: Loading indicator doesn't animate properly on android
// } // }
await waitFor(element(by.id('loading-image'))) // await waitFor(element(by.id('loading-image')))
.toBeVisible() // .toBeVisible()
.withTimeout(5000); // .withTimeout(5000);
await waitFor(element(by.id('loading-image'))) // await waitFor(element(by.id('loading-image')))
.toBeNotVisible() // .toBeNotVisible()
.withTimeout(10000); // .withTimeout(10000);
} }
describe('Room', () => { describe('Room', () => {