about summary refs log tree commit diff
path: root/src/view/com/testing/TestCtrls.e2e.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2024-03-19 20:24:18 -0700
committerPaul Frazee <pfrazee@gmail.com>2024-03-19 20:24:18 -0700
commitb5bda17812a73fcbd612b54b7d73316610a68d7e (patch)
treeda211145aace25c3ff141839337e7059ceac1085 /src/view/com/testing/TestCtrls.e2e.tsx
parent6255e33b501c1cd8d0b1e741516f4ab54a84098d (diff)
parent3d8d1dd1737c11d924bec7d51ae4deb6cb6336b0 (diff)
downloadvoidsky-b5bda17812a73fcbd612b54b7d73316610a68d7e.tar.zst
Merge branch 'main' of github.com:bluesky-social/social-app into main
Diffstat (limited to 'src/view/com/testing/TestCtrls.e2e.tsx')
-rw-r--r--src/view/com/testing/TestCtrls.e2e.tsx28
1 files changed, 17 insertions, 11 deletions
diff --git a/src/view/com/testing/TestCtrls.e2e.tsx b/src/view/com/testing/TestCtrls.e2e.tsx
index e1e899488..1eb99c4f5 100644
--- a/src/view/com/testing/TestCtrls.e2e.tsx
+++ b/src/view/com/testing/TestCtrls.e2e.tsx
@@ -22,18 +22,24 @@ export function TestCtrls() {
   const {mutate: setFeedViewPref} = useSetFeedViewPreferencesMutation()
   const {setShowLoggedOut} = useLoggedOutViewControls()
   const onPressSignInAlice = async () => {
-    await login({
-      service: 'http://localhost:3000',
-      identifier: 'alice.test',
-      password: 'hunter2',
-    })
+    await login(
+      {
+        service: 'http://localhost:3000',
+        identifier: 'alice.test',
+        password: 'hunter2',
+      },
+      'LoginForm',
+    )
   }
   const onPressSignInBob = async () => {
-    await login({
-      service: 'http://localhost:3000',
-      identifier: 'bob.test',
-      password: 'hunter2',
-    })
+    await login(
+      {
+        service: 'http://localhost:3000',
+        identifier: 'bob.test',
+        password: 'hunter2',
+      },
+      'LoginForm',
+    )
   }
   return (
     <View style={{position: 'absolute', top: 100, right: 0, zIndex: 100}}>
@@ -51,7 +57,7 @@ export function TestCtrls() {
       />
       <Pressable
         testID="e2eSignOut"
-        onPress={() => logout()}
+        onPress={() => logout('Settings')}
         accessibilityRole="button"
         style={BTN}
       />