Merge remote-tracking branch 'origin/main' into samuel/live-handle-checks
* origin/main: Fix e2e (#8794)
This commit is contained in:
@@ -195,16 +195,18 @@ let NotificationFeedItem = ({
|
||||
}
|
||||
const isHighlighted = highlightUnread && !item.notification.isRead
|
||||
return (
|
||||
<Post
|
||||
post={item.subject}
|
||||
style={
|
||||
isHighlighted && {
|
||||
backgroundColor: pal.colors.unreadNotifBg,
|
||||
borderColor: pal.colors.unreadNotifBorder,
|
||||
<View testID={`feedItem-by-${item.notification.author.handle}`}>
|
||||
<Post
|
||||
post={item.subject}
|
||||
style={
|
||||
isHighlighted && {
|
||||
backgroundColor: pal.colors.unreadNotifBg,
|
||||
borderColor: pal.colors.unreadNotifBorder,
|
||||
}
|
||||
}
|
||||
}
|
||||
hideTopBorder={hideTopBorder}
|
||||
/>
|
||||
hideTopBorder={hideTopBorder}
|
||||
/>
|
||||
</View>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -95,6 +95,12 @@ export function TestCtrls() {
|
||||
accessibilityRole="button"
|
||||
style={BTN}
|
||||
/>
|
||||
<Pressable
|
||||
testID="storybookBtn"
|
||||
onPress={() => navigate('Debug')}
|
||||
accessibilityRole="button"
|
||||
style={BTN}
|
||||
/>
|
||||
<Pressable
|
||||
testID="e2eRefreshHome"
|
||||
onPress={() => queryClient.invalidateQueries({queryKey: ['post-feed']})}
|
||||
|
||||
@@ -87,9 +87,6 @@ function StorybookInner() {
|
||||
</Button>
|
||||
</View>
|
||||
|
||||
<Buttons />
|
||||
<Toasts />
|
||||
|
||||
<Button
|
||||
color="primary"
|
||||
size="small"
|
||||
@@ -109,6 +106,8 @@ function StorybookInner() {
|
||||
<Theming />
|
||||
</ThemeProvider>
|
||||
|
||||
<Toasts />
|
||||
<Buttons />
|
||||
<Forms />
|
||||
<Typography />
|
||||
<Spacing />
|
||||
|
||||
Reference in New Issue
Block a user