Fix search messages e2e for android

This commit is contained in:
Joseph Baylon
2023-02-06 14:00:58 -08:00
committed by Elisabeth Kulzer
parent 3566a4e8ce
commit a59d966ce4
2 changed files with 2 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ class ChannelScreen {
};
toBeVisible = async () => {
await wait(timeouts.ONE_SEC);
await waitFor(this.channelScreen).toExist().withTimeout(timeouts.TEN_SEC);
return this.channelScreen;

View File

@@ -72,6 +72,7 @@ class SearchMessagesScreen {
};
toBeVisible = async () => {
await wait(timeouts.ONE_SEC);
await waitFor(this.searchMessagesScreen).toExist().withTimeout(timeouts.TEN_SEC);
return this.searchMessagesScreen;