about summary refs log tree commit diff
path: root/__e2e__/tests/thread-muting.test.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-12-05 14:50:56 -0600
committerGitHub <noreply@github.com>2023-12-05 14:50:56 -0600
commit5f553c29dfdac1bf81debe5e28983a9dbe74bd7f (patch)
tree6bfabab5623050aed65cdbb8dcc6474aa8f9d9cb /__e2e__/tests/thread-muting.test.ts
parented5a97d0fab249cab91539f0c4dc7d3084bc59a8 (diff)
downloadvoidsky-5f553c29dfdac1bf81debe5e28983a9dbe74bd7f.tar.zst
E2E 🟢 (#2092)
* Add logged out e2e ctrl, fix login test

* Fix log handling via env vars in expo

* Fix create account test

* Upgrade dev-env

* Fix home screen tests

* Fix composer tests

* Fix curate-lists tests, split in two

* Fix invite codes test

* Fix curate-lists tests

* Give up on mergefeed test

* Fix mod lists

* Fix app view url

* Fix profile tests

* Fix profile test with hack

* Keep using globals

* Fix two more

* Fix thread view

* Better skip for merge feed

* Revert debug code
Diffstat (limited to '__e2e__/tests/thread-muting.test.ts')
-rw-r--r--__e2e__/tests/thread-muting.test.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/__e2e__/tests/thread-muting.test.ts b/__e2e__/tests/thread-muting.test.ts
index 3b2dc1221..ae62f93dc 100644
--- a/__e2e__/tests/thread-muting.test.ts
+++ b/__e2e__/tests/thread-muting.test.ts
@@ -1,5 +1,7 @@
 /* eslint-env detox/detox */
 
+import {describe, beforeAll, it} from '@jest/globals'
+import {expect} from 'detox'
 import {openApp, loginAsAlice, loginAsBob, createServer} from '../util'
 
 describe('Thread muting', () => {
@@ -48,7 +50,7 @@ describe('Thread muting', () => {
     await loginAsBob()
 
     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')
     await element(by.id('replyBtn').withAncestor(bobPosts)).atIndex(0).tap()
     await element(by.id('composerTextInput')).typeText('Reply 2')