File tree Expand file tree Collapse file tree 4 files changed +7
-15
lines changed
apps/ledger-live-mobile/src/mvvm/components/FearAndGreed Expand file tree Collapse file tree 4 files changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ jobs:
326326 ref : ${{ inputs.ref || github.sha }}
327327 macos-specificity-runner-label : " general-pool"
328328 disable-turbo-cache : false
329- build-ios-js : ${{ needs.determine-builds.outputs.ios_js_exists == 'false' }}
329+ build-ios-js : true
330330 build-ios-native : ${{ needs.determine-builds.outputs.ios_native_exists == 'false' }}
331331 ios-native-cache-key : ${{ needs.determine-builds.outputs.ios_native_key }}
332332 ios-js-cache-key : ${{ needs.determine-builds.outputs.ios_js_key }}
@@ -341,7 +341,7 @@ jobs:
341341 with :
342342 ref : ${{ inputs.ref || github.sha }}
343343 disable-turbo-cache : false
344- build-android-js : ${{ needs.determine-builds.outputs.android_js_exists == 'false' }}
344+ build-android-js : true
345345 build-android-native : ${{ needs.determine-builds.outputs.android_native_exists == 'false' }}
346346 android-native-cache-key : ${{ needs.determine-builds.outputs.android_native_key }}
347347 android-js-cache-key : ${{ needs.determine-builds.outputs.android_js_key }}
@@ -498,7 +498,7 @@ jobs:
498498
499499 - name : Copy JS build
500500 run : |
501- cp apps/ledger-live-mobile/main.jsbundle ${{ env.IOS_JSBUNDLE_PATH }}
501+ cp apps/ledger-live-mobile/main.jsbundle ${{ env.IOS_JSBUNDLE_PATH }}
502502 cp apps/ledger-live-mobile/main.jsbundle ${{ env.IOS_NATIVE_PATH }}/main.jsbundle
503503
504504 - name : Build dependencies
Original file line number Diff line number Diff line change 1- import React , { useCallback , useState } from "react" ;
1+ import React from "react" ;
22import { Text } from "@ledgerhq/lumen-ui-rnative" ;
33import { useTranslation } from "~/context/Locale" ;
44import { BottomSheetView } from "@gorhom/bottom-sheet" ;
@@ -17,24 +17,15 @@ export const FearAndGreedView = ({
1717} : FearAndGreedViewProps ) => {
1818 const { t } = useTranslation ( ) ;
1919 const { bottom : bottomInset } = useSafeAreaInsets ( ) ;
20- const [ debugMode , setDebugMode ] = useState ( "not called" ) ;
21-
22- const onClose = useCallback ( ( ) => {
23- setDebugMode ( "it hasbeen called" ) ;
24- handleCloseDrawer ( ) ;
25- } , [ handleCloseDrawer ] ) ;
2620
2721 if ( ! data || isError ) return null ;
2822
2923 return (
3024 < >
3125 < FearAndGreedCard data = { data } onPress = { handleOpenDrawer } />
32- < Text typography = "body1" lx = { { color : "warning" } } >
33- { debugMode }
34- </ Text >
3526 < QueuedDrawerGorhom
3627 isRequestingToBeOpened = { isDrawerOpen }
37- onClose = { onClose }
28+ onClose = { handleCloseDrawer }
3829 enableDynamicSizing
3930 >
4031 < BottomSheetView style = { { paddingBottom : bottomInset + 24 , paddingTop : 32 } } >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { PageScroller } from "./pageScroller";
77import { checkForErrorElement } from "./errorHelpers" ;
88import { sanitizeError } from "@ledgerhq/live-common/e2e/index" ;
99
10- const DEFAULT_ANIMATION_DELAY = 500 ;
10+ const DEFAULT_ANIMATION_DELAY = 1500 ;
1111
1212interface IndexedWebElement extends WebElement {
1313 atIndex ( index : number ) : WebElement ;
Original file line number Diff line number Diff line change @@ -291,6 +291,7 @@ export default class PortfolioPage {
291291
292292 @Step ( "Tap on market banner tile" )
293293 async tapMarketBannerTile ( index : number ) {
294+ await detoxExpect ( getElementById ( `${ this . marketBannerTileBase } ${ index } ` ) ) . toBeVisible ( ) ;
294295 await tapById ( `${ this . marketBannerTileBase } ${ index } ` ) ;
295296 }
296297
You can’t perform that action at this time.
0 commit comments