From f3c578c7aec9681e085f9d7e62cb93d21ee21109 Mon Sep 17 00:00:00 2001 From: Joseph Baylon Date: Mon, 6 Feb 2023 12:54:52 -0800 Subject: [PATCH] Fix threads e2e for android --- detox/e2e/test/threads/mark_thread_as_read_and_unread.e2e.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/detox/e2e/test/threads/mark_thread_as_read_and_unread.e2e.ts b/detox/e2e/test/threads/mark_thread_as_read_and_unread.e2e.ts index a9f212040..8f8339c21 100644 --- a/detox/e2e/test/threads/mark_thread_as_read_and_unread.e2e.ts +++ b/detox/e2e/test/threads/mark_thread_as_read_and_unread.e2e.ts @@ -135,6 +135,7 @@ describe('Threads - Mark Thread as Read and Unread', () => { await ThreadOptionsScreen.markAsUnreadOption.tap(); // * Verify thread is displayed as unread in all your threads section with unread dot badge and footer unread replies + await wait(timeouts.ONE_SEC); await expect(GlobalThreadsScreen.getThreadItem(parentPost.id)).toBeVisible(); await expect(GlobalThreadsScreen.getThreadItemUnreadDotBadge(parentPost.id)).toBeVisible(); await expect(GlobalThreadsScreen.getThreadItemFooterUnreadReplies(parentPost.id)).toHaveText('1 new reply');