Fix search messages e2e for android
This commit is contained in:
parent
3566a4e8ce
commit
a59d966ce4
2 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue