forked from Ivasoft/mattermost-mobile
Fix search messages e2e for android
This commit is contained in:
committed by
Elisabeth Kulzer
parent
3566a4e8ce
commit
a59d966ce4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user