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
|
- 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"
|
||||||
|
|||||||
@@ -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,6 +195,7 @@ let NotificationFeedItem = ({
|
|||||||
}
|
}
|
||||||
const isHighlighted = highlightUnread && !item.notification.isRead
|
const isHighlighted = highlightUnread && !item.notification.isRead
|
||||||
return (
|
return (
|
||||||
|
<View testID={`feedItem-by-${item.notification.author.handle}`}>
|
||||||
<Post
|
<Post
|
||||||
post={item.subject}
|
post={item.subject}
|
||||||
style={
|
style={
|
||||||
@@ -205,6 +206,7 @@ let NotificationFeedItem = ({
|
|||||||
}
|
}
|
||||||
hideTopBorder={hideTopBorder}
|
hideTopBorder={hideTopBorder}
|
||||||
/>
|
/>
|
||||||
|
</View>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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']})}
|
||||||
|
|||||||
@@ -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 />
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user