Merge remote-tracking branch 'origin/main' into samuel/live-handle-checks
* origin/main: Fix e2e (#8794)
This commit is contained in:
@@ -28,6 +28,9 @@ appId: xyz.blueskyweb.app
|
||||
- hideKeyboard
|
||||
- tapOn:
|
||||
id: "nextBtn"
|
||||
- tapOn:
|
||||
text: "Not Now"
|
||||
optional: true
|
||||
- inputText: "e2e-test"
|
||||
- tapOn:
|
||||
id: "nextBtn"
|
||||
|
||||
@@ -23,4 +23,7 @@ appId: xyz.blueskyweb.app
|
||||
id: "loginPasswordInput"
|
||||
- inputText: "hunter2"
|
||||
- pressKey: Enter
|
||||
- tapOn:
|
||||
text: "Not Now"
|
||||
optional: true
|
||||
- assertVisible: "Following"
|
||||
|
||||
@@ -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 />
|
||||
|
||||
@@ -77,6 +77,20 @@
|
||||
tlds "^1.234.0"
|
||||
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":
|
||||
version "0.2.25"
|
||||
resolved "https://registry.yarnpkg.com/@atproto/aws/-/aws-0.2.25.tgz#d07265a656db990ffd54b254cae54388468d1dca"
|
||||
|
||||
Reference in New Issue
Block a user