about summary refs log tree commit diff
path: root/src/view/com/util/UserAvatar.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2024-03-19 17:54:40 -0700
committerGitHub <noreply@github.com>2024-03-19 17:54:40 -0700
commit54f424d0476f7da221b890c9096886b3ca3ac472 (patch)
treec45d1ee2ef89978b8bf064cec0d94f9e37b53185 /src/view/com/util/UserAvatar.tsx
parenta90566d86439a96509967f522069a4be729dfc1b (diff)
downloadvoidsky-54f424d0476f7da221b890c9096886b3ca3ac472.tar.zst
Various e2e test fixes (#3284)
* Just use the first picture every time

* Add missing testIDs

* Various test fixes

* Use simplified link fetcher for e2e

* Disable tests for now-n

* Update test-env creation
Diffstat (limited to 'src/view/com/util/UserAvatar.tsx')
-rw-r--r--src/view/com/util/UserAvatar.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/com/util/UserAvatar.tsx b/src/view/com/util/UserAvatar.tsx
index 8656c3f51..4beedbd5b 100644
--- a/src/view/com/util/UserAvatar.tsx
+++ b/src/view/com/util/UserAvatar.tsx
@@ -298,7 +298,10 @@ let EditableUserAvatar = ({
     <Menu.Root>
       <Menu.Trigger label={_(msg`Edit avatar`)}>
         {({props}) => (
-          <TouchableOpacity {...props} activeOpacity={0.8}>
+          <TouchableOpacity
+            {...props}
+            activeOpacity={0.8}
+            testID="changeAvatarBtn">
             {avatar ? (
               <HighPriorityImage
                 testID="userAvatarImage"