Update e2e tests
This commit is contained in:
parent
6128bc4e50
commit
88dbf345ea
|
@ -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}
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue