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() {
|
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', () => {
|
||||||
|
|
Loading…
Reference in New Issue