Fix composer tests
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
/* eslint-env detox/detox */
|
/* eslint-env detox/detox */
|
||||||
|
|
||||||
|
import {describe, beforeAll, it} from '@jest/globals'
|
||||||
|
import {expect} from 'detox'
|
||||||
import {openApp, loginAsAlice, createServer, sleep} from '../util'
|
import {openApp, loginAsAlice, createServer, sleep} from '../util'
|
||||||
|
|
||||||
describe('Composer', () => {
|
describe('Composer', () => {
|
||||||
@@ -45,6 +47,8 @@ describe('Composer', () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
it('Reply text only', async () => {
|
it('Reply text only', async () => {
|
||||||
|
await element(by.id('e2eRefreshHome')).tap()
|
||||||
|
|
||||||
const post = by.id('feedItem-by-alice.test')
|
const post = by.id('feedItem-by-alice.test')
|
||||||
await element(by.id('replyBtn').withAncestor(post)).atIndex(0).tap()
|
await element(by.id('replyBtn').withAncestor(post)).atIndex(0).tap()
|
||||||
await element(by.id('composerTextInput')).typeText('Reply text only')
|
await element(by.id('composerTextInput')).typeText('Reply text only')
|
||||||
|
|||||||
Reference in New Issue
Block a user