Fix two more
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('Self-labeling', () => {
|
describe('Self-labeling', () => {
|
||||||
|
|||||||
@@ -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, loginAsBob, createServer} from '../util'
|
import {openApp, loginAsAlice, loginAsBob, createServer} from '../util'
|
||||||
|
|
||||||
describe('Thread muting', () => {
|
describe('Thread muting', () => {
|
||||||
@@ -48,7 +50,7 @@ describe('Thread muting', () => {
|
|||||||
await loginAsBob()
|
await loginAsBob()
|
||||||
|
|
||||||
await element(by.id('bottomBarProfileBtn')).tap()
|
await element(by.id('bottomBarProfileBtn')).tap()
|
||||||
await element(by.id('selector-1')).tap()
|
await element(by.id('profilePager-selector-1')).tap()
|
||||||
const bobPosts = by.id('feedItem-by-bob.test')
|
const bobPosts = by.id('feedItem-by-bob.test')
|
||||||
await element(by.id('replyBtn').withAncestor(bobPosts)).atIndex(0).tap()
|
await element(by.id('replyBtn').withAncestor(bobPosts)).atIndex(0).tap()
|
||||||
await element(by.id('composerTextInput')).typeText('Reply 2')
|
await element(by.id('composerTextInput')).typeText('Reply 2')
|
||||||
|
|||||||
Reference in New Issue
Block a user