about summary refs log tree commit diff
path: root/__e2e__
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-07-11 18:37:43 -0700
committerGitHub <noreply@github.com>2024-07-11 18:37:43 -0700
commit83e8522e0a89be28b1733f4c50dbd4379d98d03b (patch)
treec51a1054ffa8f1b226412a77fa7d69f5c891f7ae /__e2e__
parent2397104ad6169ced02b1acd9fbbbe426f4cc4da0 (diff)
downloadvoidsky-83e8522e0a89be28b1733f4c50dbd4379d98d03b.tar.zst
Create shared preferences API (#4654)
Diffstat (limited to '__e2e__')
-rw-r--r--__e2e__/flows/shared-prefs.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/__e2e__/flows/shared-prefs.yml b/__e2e__/flows/shared-prefs.yml
new file mode 100644
index 000000000..73a066829
--- /dev/null
+++ b/__e2e__/flows/shared-prefs.yml
@@ -0,0 +1,31 @@
+appId: xyz.blueskyweb.app
+---
+- runScript:
+    file: ../setupServer.js
+    env:
+      SERVER_PATH: "?users&posts&feeds"
+- runFlow:
+    file: ../setupApp.yml
+- tapOn:
+    id: "e2eSignInAlice"
+- tapOn: "/sys/debug"
+- tapOn:
+    id: "sharedPrefsTestOpenBtn"
+- tapOn:
+    id: "setStringBtn"
+- assertVisible: "Hello"
+- tapOn:
+    id: "removeStringBtn"
+- assertVisible: "null"
+- tapOn:
+    id: "setBoolBtn"
+- assertVisible: "true"
+- tapOn:
+    id: "setNumberBtn"
+- assertVisible: "123"
+- tapOn:
+    id: "addToSetBtn"
+- assertVisible: "true"
+- tapOn:
+    id: "removeFromSetBtn"
+- assertVisible: "false"