Try workaround for loading on jump to message
This commit is contained in:
parent
c0fb9291a3
commit
56f6326319
|
@ -37,15 +37,15 @@ async function clearCache() {
|
|||
|
||||
async function waitForLoading() {
|
||||
// if (device.getPlatform() === 'android') {
|
||||
// await sleep(10000);
|
||||
await sleep(10000);
|
||||
// return; // FIXME: Loading indicator doesn't animate properly on android
|
||||
// }
|
||||
await waitFor(element(by.id('loading-image')))
|
||||
.toBeVisible()
|
||||
.withTimeout(5000);
|
||||
await waitFor(element(by.id('loading-image')))
|
||||
.toBeNotVisible()
|
||||
.withTimeout(10000);
|
||||
// await waitFor(element(by.id('loading-image')))
|
||||
// .toBeVisible()
|
||||
// .withTimeout(5000);
|
||||
// await waitFor(element(by.id('loading-image')))
|
||||
// .toBeNotVisible()
|
||||
// .withTimeout(10000);
|
||||
}
|
||||
|
||||
describe('Room', () => {
|
||||
|
|
Loading…
Reference in New Issue