diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-06-27 20:55:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 20:55:46 -0500 |
commit | f8d218e11a1e9fba81f2fc0182a4526b9d7cf39d (patch) | |
tree | 9fb5e0a81461e7daa8c1afe49e53ca8eb97a4f52 /src | |
parent | dce80be0759d9c3fbffd881f3cb88476db2b7fc0 (diff) | |
download | voidsky-f8d218e11a1e9fba81f2fc0182a4526b9d7cf39d.tar.zst |
Simulator fixes (#918)
* Update the mock server to use the dev-env to manage the server * Fix list testIDs * Fix the invite test construction * Remove leftover test hardcode
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/lists/ListActions.tsx | 14 |
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}> |