about summary refs log tree commit diff
path: root/__e2e__
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-04-25 21:25:49 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-04-25 21:25:49 -0500
commitc8541a72436506a4e59f40bcd9c760f15c4c1cfa (patch)
tree11a1fac63a47b5e3f6c5112edb27b114da48338a /__e2e__
parentfc19ffba3881cf38d8a6a47a62c6ed5feff5aa4b (diff)
downloadvoidsky-c8541a72436506a4e59f40bcd9c760f15c4c1cfa.tar.zst
Fix e2e
Diffstat (limited to '__e2e__')
-rw-r--r--__e2e__/tests/home-screen.test.ts4
-rw-r--r--__e2e__/tests/profile-screen.test.ts8
-rw-r--r--__e2e__/tests/thread-screen.test.ts8
3 files changed, 15 insertions, 5 deletions
diff --git a/__e2e__/tests/home-screen.test.ts b/__e2e__/tests/home-screen.test.ts
index 1ec1774f3..7fa9ff28c 100644
--- a/__e2e__/tests/home-screen.test.ts
+++ b/__e2e__/tests/home-screen.test.ts
@@ -57,7 +57,9 @@ describe('Home screen', () => {
       .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()
   })
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()
   })
diff --git a/__e2e__/tests/thread-screen.test.ts b/__e2e__/tests/thread-screen.test.ts
index f84c339ce..8d3eacc88 100644
--- a/__e2e__/tests/thread-screen.test.ts
+++ b/__e2e__/tests/thread-screen.test.ts
@@ -106,7 +106,9 @@ describe('Thread screen', () => {
     await element(by.id('postDropdownBtn').withAncestor(post)).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()
   })
@@ -116,7 +118,9 @@ describe('Thread screen', () => {
     await element(by.id('postDropdownBtn').withAncestor(post)).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()
   })