Merge remote-tracking branch 'origin/main' into samuel/live-handle-checks

* origin/main:
  Fix e2e (#8794)
This commit is contained in:
Eric Bailey
2025-08-07 16:43:59 -05:00
6 changed files with 39 additions and 12 deletions
+3
View File
@@ -28,6 +28,9 @@ appId: xyz.blueskyweb.app
- hideKeyboard - hideKeyboard
- tapOn: - tapOn:
id: "nextBtn" id: "nextBtn"
- tapOn:
text: "Not Now"
optional: true
- inputText: "e2e-test" - inputText: "e2e-test"
- tapOn: - tapOn:
id: "nextBtn" id: "nextBtn"
+3
View File
@@ -23,4 +23,7 @@ appId: xyz.blueskyweb.app
id: "loginPasswordInput" id: "loginPasswordInput"
- inputText: "hunter2" - inputText: "hunter2"
- pressKey: Enter - pressKey: Enter
- tapOn:
text: "Not Now"
optional: true
- assertVisible: "Following" - assertVisible: "Following"
@@ -195,16 +195,18 @@ let NotificationFeedItem = ({
} }
const isHighlighted = highlightUnread && !item.notification.isRead const isHighlighted = highlightUnread && !item.notification.isRead
return ( return (
<Post <View testID={`feedItem-by-${item.notification.author.handle}`}>
post={item.subject} <Post
style={ post={item.subject}
isHighlighted && { style={
backgroundColor: pal.colors.unreadNotifBg, isHighlighted && {
borderColor: pal.colors.unreadNotifBorder, backgroundColor: pal.colors.unreadNotifBg,
borderColor: pal.colors.unreadNotifBorder,
}
} }
} hideTopBorder={hideTopBorder}
hideTopBorder={hideTopBorder} />
/> </View>
) )
} }
+6
View File
@@ -95,6 +95,12 @@ export function TestCtrls() {
accessibilityRole="button" accessibilityRole="button"
style={BTN} style={BTN}
/> />
<Pressable
testID="storybookBtn"
onPress={() => navigate('Debug')}
accessibilityRole="button"
style={BTN}
/>
<Pressable <Pressable
testID="e2eRefreshHome" testID="e2eRefreshHome"
onPress={() => queryClient.invalidateQueries({queryKey: ['post-feed']})} onPress={() => queryClient.invalidateQueries({queryKey: ['post-feed']})}
+2 -3
View File
@@ -87,9 +87,6 @@ function StorybookInner() {
</Button> </Button>
</View> </View>
<Buttons />
<Toasts />
<Button <Button
color="primary" color="primary"
size="small" size="small"
@@ -109,6 +106,8 @@ function StorybookInner() {
<Theming /> <Theming />
</ThemeProvider> </ThemeProvider>
<Toasts />
<Buttons />
<Forms /> <Forms />
<Typography /> <Typography />
<Spacing /> <Spacing />
+14
View File
@@ -77,6 +77,20 @@
tlds "^1.234.0" tlds "^1.234.0"
zod "^3.23.8" zod "^3.23.8"
"@atproto/api@^0.16.2":
version "0.16.2"
resolved "https://registry.yarnpkg.com/@atproto/api/-/api-0.16.2.tgz#1b2870e9a03d88f00a27602281755fa82ec824dd"
integrity sha512-sSTg31J8ws8DNaoiizp+/uJideRxRaJsq+Nyl8rnSxGw0w3oCvoeRU19iRWh2t0jZEmiRJAGkveGu23NKmPYEQ==
dependencies:
"@atproto/common-web" "^0.4.2"
"@atproto/lexicon" "^0.4.12"
"@atproto/syntax" "^0.4.0"
"@atproto/xrpc" "^0.7.1"
await-lock "^2.2.2"
multiformats "^9.9.0"
tlds "^1.234.0"
zod "^3.23.8"
"@atproto/aws@^0.2.25": "@atproto/aws@^0.2.25":
version "0.2.25" version "0.2.25"
resolved "https://registry.yarnpkg.com/@atproto/aws/-/aws-0.2.25.tgz#d07265a656db990ffd54b254cae54388468d1dca" resolved "https://registry.yarnpkg.com/@atproto/aws/-/aws-0.2.25.tgz#d07265a656db990ffd54b254cae54388468d1dca"