about summary refs log tree commit diff
path: root/src/view/com/pager/TabBar.tsx
diff options
context:
space:
mode:
authorCooper Edmunds <cooper6789@gmail.com>2023-11-29 19:28:35 -0500
committerCooper Edmunds <cooper6789@gmail.com>2023-11-29 19:28:35 -0500
commit3fbac466ac8554fcb690fccbe0053a5be07801d7 (patch)
tree1b146aaf1faea4449c01c53bb8ce43396561d8ce /src/view/com/pager/TabBar.tsx
parent34759798ebb2aaa4c292f000df8f19c7b9f75cb6 (diff)
downloadvoidsky-3fbac466ac8554fcb690fccbe0053a5be07801d7.tar.zst
Update home-screen tests related to feeds
Diffstat (limited to 'src/view/com/pager/TabBar.tsx')
-rw-r--r--src/view/com/pager/TabBar.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/com/pager/TabBar.tsx b/src/view/com/pager/TabBar.tsx
index 0e08b22d8..c3a95c5c0 100644
--- a/src/view/com/pager/TabBar.tsx
+++ b/src/view/com/pager/TabBar.tsx
@@ -68,6 +68,7 @@ export function TabBar({
   return (
     <View testID={testID} style={[pal.view, styles.outer]}>
       <DraggableScrollView
+        testID={`${testID}-selector`}
         horizontal={true}
         showsHorizontalScrollIndicator={false}
         ref={scrollElRef}
@@ -76,6 +77,7 @@ export function TabBar({
           const selected = i === selectedPage
           return (
             <PressableWithHover
+              testID={`${testID}-selector-${i}`}
               key={item}
               onLayout={e => onItemLayout(e, i)}
               style={[styles.item, selected && indicatorStyle]}