about summary refs log tree commit diff
path: root/__e2e__/flows/mod-lists.yml
diff options
context:
space:
mode:
Diffstat (limited to '__e2e__/flows/mod-lists.yml')
-rw-r--r--__e2e__/flows/mod-lists.yml45
1 files changed, 45 insertions, 0 deletions
diff --git a/__e2e__/flows/mod-lists.yml b/__e2e__/flows/mod-lists.yml
new file mode 100644
index 000000000..75ee100a8
--- /dev/null
+++ b/__e2e__/flows/mod-lists.yml
@@ -0,0 +1,45 @@
+appId: xyz.blueskyweb.app
+---
+- runScript:
+    file: ../setupServer.js
+    env:
+        SERVER_PATH: "?users&follows&labels"
+- runFlow:
+    file: ../setupApp.yml
+- tapOn:
+    id: "e2eSignInAlice"
+
+# create a modlist
+- tapOn:
+    id: "e2eGotoModeration"
+- tapOn:
+    id: "moderationlistsBtn"
+- tapOn: "New"
+- tapOn:
+    id: "editNameInput"
+- inputText: "Muted Users"
+- tapOn:
+    id: "editDescriptionInput"
+- inputText: "Shhh"
+- tapOn: "Save"
+- tapOn: "Save"
+
+# view modlist
+- assertVisible: "Muted Users"
+- assertVisible: "Shhh"
+
+# toggle mute subscription
+- tapOn:
+    point: "70%,9%"
+- tapOn: "Mute accounts"
+- tapOn: "Mute list"
+- tapOn: "Unmute"
+
+# toggle block subscription
+- tapOn:
+    point: "70%,9%"
+- tapOn: "Block accounts"
+- tapOn: "Block list"
+- tapOn: "Unblock"
+ 
+ # the rest of the behaviors are tested in curate-lists.yml
\ No newline at end of file