diff options
Diffstat (limited to '__e2e__/tests/thread-screen.test.ts')
-rw-r--r-- | __e2e__/tests/thread-screen.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/__e2e__/tests/thread-screen.test.ts b/__e2e__/tests/thread-screen.test.ts index 8d3eacc88..081282a36 100644 --- a/__e2e__/tests/thread-screen.test.ts +++ b/__e2e__/tests/thread-screen.test.ts @@ -104,7 +104,7 @@ describe('Thread screen', () => { it('Can report the root post', async () => { const post = by.id('postThreadItem-by-bob.test') await element(by.id('postDropdownBtn').withAncestor(post)).atIndex(0).tap() - await element(by.id('postDropdownReportBtn')).tap() + await element(by.text('Report post')).tap() await expect(element(by.id('reportPostModal'))).toBeVisible() await element( by.id('reportPostRadios-com.atproto.moderation.defs#reasonSpam'), @@ -116,7 +116,7 @@ describe('Thread screen', () => { it('Can report a reply post', async () => { const post = by.id('postThreadItem-by-carla.test') await element(by.id('postDropdownBtn').withAncestor(post)).atIndex(0).tap() - await element(by.id('postDropdownReportBtn')).tap() + await element(by.text('Report post')).tap() await expect(element(by.id('reportPostModal'))).toBeVisible() await element( by.id('reportPostRadios-com.atproto.moderation.defs#reasonSpam'), |