From 276fbf9f193c317a0e8e82b017cc1bbed828f627 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 4 Dec 2023 15:19:44 -0600 Subject: [PATCH] Fix composer tests --- __e2e__/tests/composer.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/__e2e__/tests/composer.test.ts b/__e2e__/tests/composer.test.ts index 6251ad0c8e..34f8ae39ec 100644 --- a/__e2e__/tests/composer.test.ts +++ b/__e2e__/tests/composer.test.ts @@ -1,5 +1,7 @@ /* eslint-env detox/detox */ +import {describe, beforeAll, it} from '@jest/globals' +import {expect} from 'detox' import {openApp, loginAsAlice, createServer, sleep} from '../util' describe('Composer', () => { @@ -45,6 +47,8 @@ describe('Composer', () => { }) it('Reply text only', async () => { + await element(by.id('e2eRefreshHome')).tap() + const post = by.id('feedItem-by-alice.test') await element(by.id('replyBtn').withAncestor(post)).atIndex(0).tap() await element(by.id('composerTextInput')).typeText('Reply text only')