diff options
Diffstat (limited to '__e2e__/tests/profile-screen.test.ts')
-rw-r--r-- | __e2e__/tests/profile-screen.test.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/__e2e__/tests/profile-screen.test.ts b/__e2e__/tests/profile-screen.test.ts index cf9debb59..a7bb93656 100644 --- a/__e2e__/tests/profile-screen.test.ts +++ b/__e2e__/tests/profile-screen.test.ts @@ -120,7 +120,9 @@ describe('Profile screen', () => { await element(by.id('profileHeaderDropdownBtn')).tap() await element(by.id('profileHeaderDropdownReportBtn')).tap() await expect(element(by.id('reportAccountModal'))).toBeVisible() - await element(by.id('reportAccountRadios-spam')).tap() + await element( + by.id('reportAccountRadios-com.atproto.moderation.defs#reasonSpam'), + ).tap() await element(by.id('sendReportBtn')).tap() await expect(element(by.id('reportAccountModal'))).not.toBeVisible() }) @@ -166,7 +168,9 @@ describe('Profile screen', () => { await element(by.id('postDropdownBtn').withAncestor(posts)).atIndex(0).tap() await element(by.id('postDropdownReportBtn')).tap() await expect(element(by.id('reportPostModal'))).toBeVisible() - await element(by.id('reportPostRadios-spam')).tap() + await element( + by.id('reportPostRadios-com.atproto.moderation.defs#reasonSpam'), + ).tap() await element(by.id('sendReportBtn')).tap() await expect(element(by.id('reportPostModal'))).not.toBeVisible() }) |