about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-06-28 09:59:16 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-06-28 09:59:16 -0500
commit8d32f3de3746192a06d9c9fe16c7ed9d891c5d54 (patch)
tree9950ff0a80ae20bf268e2c8b71e17730aa6ef94f /src
parentc98bdcf86dec6a31f44424d3135277319f111783 (diff)
parentf8d218e11a1e9fba81f2fc0182a4526b9d7cf39d (diff)
downloadvoidsky-8d32f3de3746192a06d9c9fe16c7ed9d891c5d54.tar.zst
Merge branch 'main' of github.com:bluesky-social/social-app into main
Diffstat (limited to 'src')
-rw-r--r--src/view/com/lists/ListActions.tsx14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/view/com/lists/ListActions.tsx b/src/view/com/lists/ListActions.tsx
index 4e6f7e6b9..ee5a2afcb 100644
--- a/src/view/com/lists/ListActions.tsx
+++ b/src/view/com/lists/ListActions.tsx
@@ -25,7 +25,8 @@ export const ListActions = ({
 
   let buttons = [
     <Button
-      key="subscribeButton"
+      key="subscribeListBtn"
+      testID={muted ? 'unsubscribeListBtn' : 'subscribeListBtn'}
       type={muted ? 'inverted' : 'primary'}
       label={muted ? 'Unsubscribe' : 'Subscribe & Mute'}
       accessibilityLabel={muted ? 'Unsubscribe' : 'Subscribe and mute'}
@@ -34,7 +35,8 @@ export const ListActions = ({
     />,
     isOwner && (
       <Button
-        key="editListButton"
+        key="editListBtn"
+        testID="editListBtn"
         type="default"
         label="Edit List"
         accessibilityLabel="Edit list"
@@ -44,9 +46,9 @@ export const ListActions = ({
     ),
     isOwner && (
       <Button
-        key="deleteListButton"
-        type="default"
+        key="deleteListBtn"
         testID="deleteListBtn"
+        type="default"
         accessibilityLabel="Delete list"
         accessibilityHint=""
         onPress={onPressDeleteList}>
@@ -54,9 +56,9 @@ export const ListActions = ({
       </Button>
     ),
     <Button
-      key="shareListButton"
-      type="default"
+      key="shareListBtn"
       testID="shareListBtn"
+      type="default"
       accessibilityLabel="Share list"
       accessibilityHint=""
       onPress={onPressShareList}>