about summary refs log tree commit diff
path: root/__e2e__/flows/report-dialog/post:edit-reason.yml
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-03-05 18:31:55 -0600
committerGitHub <noreply@github.com>2025-03-05 16:31:55 -0800
commit3be87fbf3b9ab354cf8c439c6aeeb28ec2c2d764 (patch)
treea66e09248e9669b72c2c794ed347acdefbe1ac3c /__e2e__/flows/report-dialog/post:edit-reason.yml
parent9fde3957e76050a78c04509c84e5091f20975555 (diff)
downloadvoidsky-3be87fbf3b9ab354cf8c439c6aeeb28ec2c2d764.tar.zst
Add report dialog e2e tests (#7913)
Diffstat (limited to '__e2e__/flows/report-dialog/post:edit-reason.yml')
-rw-r--r--__e2e__/flows/report-dialog/post:edit-reason.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/__e2e__/flows/report-dialog/post:edit-reason.yml b/__e2e__/flows/report-dialog/post:edit-reason.yml
new file mode 100644
index 000000000..3c612d4ba
--- /dev/null
+++ b/__e2e__/flows/report-dialog/post:edit-reason.yml
@@ -0,0 +1,35 @@
+appId: xyz.blueskyweb.app
+---
+- runScript:
+    file: ../../setupServer.js
+    env:
+        SERVER_PATH: ?users&follows&posts&feeds
+- runFlow:
+    file: ../../setupApp.yml
+- tapOn:
+    id: "e2eSignInAlice"
+
+- tapOn:
+    id: "postDropdownBtn"
+    index: 0
+- tapOn:
+    id: "postDropdownReportBtn"
+- tapOn:
+    id: "report:option:com.atproto.moderation.defs#reasonOther"
+- assertVisible:
+    id: "report:labeler:mod-authority.test"
+# reason "other" defaults with details open
+- assertVisible:
+    id: "report:details"
+- tapOn:
+    id: "report:clearOption"
+- assertNotVisible:
+    id: "report:details"
+- tapOn:
+    id: "report:option:com.atproto.moderation.defs#reasonSpam"
+- assertVisible:
+    id: "report:labeler:mod-authority.test"
+- tapOn:
+    id: "report:submit"
+- assertNotVisible:
+    id: "report:dialog"