Update e2e tests

This commit is contained in:
Gerzon Z 2021-09-17 15:26:48 -04:00
parent 6128bc4e50
commit 88dbf345ea
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ const DiscussionsView = ({ navigation, route }: IDiscussionsViewProps): JSX.Elem
} }
return ( return (
<SafeAreaView testID='discussion-messages-view'> <SafeAreaView testID='discussions-view'>
<StatusBar /> <StatusBar />
<FlatList <FlatList
data={isSearching ? search : discussions} data={isSearching ? search : discussions}

View File

@ -198,7 +198,7 @@ describe('Discussion', () => {
.toBeVisible() .toBeVisible()
.withTimeout(5000); .withTimeout(5000);
await element(by.id('room-actions-discussions')).tap(); await element(by.id('room-actions-discussions')).tap();
await waitFor(element(by.id('discussion-messages-view'))) await waitFor(element(by.id('discussions-view')))
.toBeVisible() .toBeVisible()
.withTimeout(5000); .withTimeout(5000);
}); });