Skip to content
Triggered via push April 18, 2024 15:28
Status Failure
Total duration 4m 0s
Artifacts

ios-build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
<SimpsonsLoveWednesday /> > Should render and match the snapshot: app/components/organisms/SimpsonsLoveWednesday/tests/index.test.js#L14
Error: expect(received).toMatchSnapshot() Snapshot name: `<SimpsonsLoveWednesday /> Should render and match the snapshot 1` - Snapshot - 30 + Received + 20 - Array [ + [ <View> <View style={ - Object { + { "height": 150, "marginBottom": 25, "width": "100%", } } > <Image resizeMode="contain" source={ - Object { + { "testUri": "../../../app/assets/images/wednesday-logo.png", } } style={ - Object { + { "alignSelf": "center", "height": "100%", "width": "100%", } } /> </View> <Text style={ - Array [ - Object { + { "fontSize": 17, "fontStyle": "italic", "fontWeight": "normal", "marginBottom": 5, "textAlign": "center", - }, - ] } + } + testID="t" /> </View>, <View - style={ - Array [ - Object {}, - ] - } + style={{}} > <Text style={ - Array [ - Object { + { "fontSize": 17, "fontWeight": "normal", "marginBottom": 5, "textAlign": "center", - }, - ] + } } + testID="t" > character loves Wednesday </Text> <Text style={ - Array [ - Object { + { "fontSize": 17, "fontWeight": "normal", "marginBottom": 5, "textAlign": "center", - }, - ] + } } + testID="t" > because </Text> <Image resizeMode="contain" source={ - Object { + { "uri": undefined, } } style={ - Array [ - Object { + { "height": 80, "marginBottom": 0, "marginLeft": "auto", "marginRight": "auto", "marginTop": 0, "width": 80, - }, - ] } + } testID="character-image" /> <Text style={ - Array [ - Object { + { "fontSize": 17, "fontWeight": "normal", "marginBottom": 5, "textAlign": "center", - }, - ] + } } + testID="t" /> </View>, ] at Object.toMatchSnapshot (/home/runner/work/react-native-template/react-native-template/app/components/organisms/SimpsonsLoveWednesday/tests/index.test.js:16:25) at Promise.then.completed (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
<ExampleScreen /> Container tests > should render and match the snapshot: app/scenes/ExampleScreen/tests/index.test.js#L12
Error: expect(received).toMatchSnapshot() Snapshot name: `<ExampleScreen /> Container tests should render and match the snapshot 1` - Snapshot - 67 + Received + 73 @@ -1,15 +1,15 @@ <View style={ - Array [ - Object { + [ + { "display": "flex", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, }, - Object { + { "alignItems": "center", "alignSelf": "center", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, @@ -20,139 +20,145 @@ "marginTop": 30, "maxWidth": 320, }, ] } + testID="container" > <View testID="example-container-content" > <View> <View style={ - Object { + { "height": 150, "marginBottom": 25, "width": "100%", } } > <Image resizeMode="contain" source={ - Object { + { "testUri": "../../../app/assets/images/wednesday-logo.png", } } style={ - Object { + { "alignSelf": "center", "height": "100%", "width": "100%", } } /> </View> <Text style={ - Array [ - Object { - "fontSize": 17, - "fontStyle": "italic", - "fontWeight": "normal", - "marginBottom": 5, - "textAlign": "center", - }, - ] + { + "fontSize": 17, + "fontStyle": "italic", + "fontWeight": "normal", + "marginBottom": 5, + "textAlign": "center", + } } + testID="t" > Press Cmd+R to reload, Cmd+D or shake for dev menu. </Text> </View> <View - style={ - Array [ - Object {}, - ] - } + style={{}} > <Text style={ - Array [ - Object { - "fontSize": 17, - "fontWeight": "normal", - "marginBottom": 5, - "textAlign": "center", - }, - ] + { + "fontSize": 17, + "fontWeight": "normal", + "marginBottom": 5, + "textAlign": "center", + } } + testID="t" > character loves Wednesday </Text> <Text style={ - Array [ - Object { - "fontSize": 17, - "fontWeight": "normal", - "marginBottom": 5, - "textAlign": "center", - }, - ] + { + "fontSize": 17, + "fontWeight": "normal", + "marginBottom": 5, + "textAlign": "center", + } } + testID="t" > because </Text> <Image resizeMode="contain" source={ - Object { + { "uri": undefined, } } style={ - Array [ - Object { - "height": 80, - "marginBottom": 0, - "marginLeft": "auto", - "marginRight": "auto", - "marginTop": 0, - "width": 80, - }, - ] + { + "height": 80, + "marginBottom": 0, + "marginLeft": "auto", + "marginRight": "auto", + "marginTop": 0, + "width": 80, + } } testID="character-image" /> <Text style={ - Array [ - Object { - "fontSize": 17, - "fontWeight": "normal", - "marginBottom": 5, - "textAlign": "center", - }, - ] + { + "fontSize": 17, + "fontWeight": "normal", + "marginBottom": 5, + "textAlign": "center", + } } + testID="t" /> </View> <View style={ - Array [ - Object { - "alignSelf": "center", - "marginTop": 40, - "maxWidth": 80, - }, - ] + { + "alignSelf": "center", + "marginTop": 40, + "maxWidth": 80, + } } > <View accessibilityRole="button" + accessibilityState={ + { + "busy": undefined, + "checked": undefined, + "disabled": undefined, + "expanded": undefined, + "selected": undefined, + } + } + accessibilityValue={ + { + "max": undefined, + "min": undefined, + "now": undefined, + "text": undefined, + } + } accessible={true} collapsable={false} focusable={true} onClick={[Function]} onResponderGrant={[Function]} @@ -160,26 +166,26 @@ onResponderRelease={[Function]} onResponderTerminate={[Function]} onResponderTerminationRequest={[Function]} onStartShouldSetResponder={[Function]} style={ - Object { + { "opacity": 1, } } > <View style={ - Array [ - Object {}, + [ + {}, ] } > <Text style={ - Array [ - Object { + [ + { "color": "#007AFF", "fontSize": 18, "margin": 8, "textAlign": "center", }, at Object.toMatchSnapshot (/home/runner/work/react-native-template/react-native-template/app/scenes/ExampleScreen/tests/index.test.js:17:25) at Promise.then.completed (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
<CharacterWithQuote /> > Should render and match the snapshot: app/components/molecules/CharacterWithQuote/tests/index.test.js#L15
Error: expect(received).toMatchSnapshot() Snapshot name: `<CharacterWithQuote /> Should render and match the snapshot 1` - Snapshot - 18 + Received + 13 - Array [ + [ <Text style={ - Array [ - Object { + { "fontSize": 17, "fontWeight": "normal", "marginBottom": 5, "textAlign": "center", - }, - ] } + } + testID="t" > character loves Wednesday </Text>, <Text style={ - Array [ - Object { + { "fontSize": 17, "fontWeight": "normal", "marginBottom": 5, "textAlign": "center", - }, - ] + } } + testID="t" > because </Text>, <Image resizeMode="contain" source={ - Object { + { "uri": undefined, } } style={ - Array [ - Object { + { "height": 80, "marginBottom": 0, "marginLeft": "auto", "marginRight": "auto", "marginTop": 0, "width": 80, - }, - ] } + } testID="character-image" />, <Text style={ - Array [ - Object { + { "fontSize": 17, "fontWeight": "normal", "marginBottom": 5, "textAlign": "center", - }, - ] } + } + testID="t" />, ] at Object.toMatchSnapshot (/home/runner/work/react-native-template/react-native-template/app/components/molecules/CharacterWithQuote/tests/index.test.js:17:25) at Promise.then.completed (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
<HomeScreen /> container > should render and match the snapshot: app/scenes/RootScreen/tests/index.test.js#L12
Error: expect(received).toMatchSnapshot() Snapshot name: `<HomeScreen /> container should render and match the snapshot 1` - Snapshot - 64 + Received + 73 @@ -1,59 +1,73 @@ <View style={ - Array [ - Object { + { "display": "flex", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - }, - ] + } } testID="root-screen" > <View style={ - Object { + { "flex": 1, } } > <RNCSafeAreaProvider onInsetsChange={[Function]} style={ - Array [ - Object { + [ + { + "flex": 1, + }, + undefined, + ] + } + > + <View + style={ + [ + { + "backgroundColor": "rgb(242, 242, 242)", "flex": 1, }, undefined, ] } > <RNSScreenContainer onLayout={[Function]} style={ - Object { + { "flex": 1, } } > - <RNSScreen + <RNSModalScreen activityState={2} collapsable={false} - forwardedRef={[Function]} gestureResponseDistance={ - Object { + { "bottom": -1, "end": -1, "start": -1, "top": -1, } } + onGestureCancel={[Function]} pointerEvents="box-none" + sheetAllowedDetents="large" + sheetCornerRadius={-1} + sheetExpandsWhenScrolledToEdge={true} + sheetGrabberVisible={false} + sheetLargestUndimmedDetent="all" style={ - Object { + { "bottom": 0, "left": 0, "position": "absolute", "right": 0, "top": 0, @@ -61,57 +75,59 @@ } > <View collapsable={false} style={ - Object { + { "opacity": 1, } } /> <View accessibilityElementsHidden={false} closing={false} + collapsable={false} gestureVelocityImpact={0.3} importantForAccessibility="auto" onClose={[Function]} onGestureBegin={[Function]} onGestureCanceled={[Function]} onGestureEnd={[Function]} onOpen={[Function]} onTransition={[Function]} pointerEvents="box-none" style={ - Array [ - Object { + [ + { + "display": "flex", "overflow": undefined, }, - Object { + { "bottom": 0, "left": 0, "position": "absolute", "right": 0, "top": 0, }, ] } transitionSpec={ - Object { - "close": Object { + { + "close": { "animation": "spring", - "config": Object { + "config": { "damping": 500, "mass": 3, "overshootClamping": true, "restDisplacementThreshold": 10, "restSpeedThreshold": 10, "stiffness": 1000, }, }, - "open": Object { + "open": { "animation": "spring", - "config": Object { + "config": { "damping": 500, "mass": 3, "overshootClamping": true, "restDisplacementThreshold": 10, "restSpeedThreshold": 10, @@ -121,101 +137,81 @@ } } > <View collapsable={false} - needsOffscreenAlphaCompositing={false} pointerEvents="box-none" style={ - Object { + { "flex": 1, + "marginTop": 0, } } > <View collapsable={false} - forwardedRef={[Function]} handlerTag={1} handlerType="PanGestureHandler" + needsOffscreenAlphaCompositing={false} onGestureHandlerEvent={[Function]} onGestureHandlerStateChange={[Function]} style={ - Object { + { "flex": 1, - "transform": Array [ - Object { + "transform": [ + { "translateX": 0, }, - Object { + { "translateX": 0, }, ], } } > <View - collapsable={false} - pointerEvents="none" + pointerEvents="box-none" style={ - Object { - "backgroundColor": "rgb(242, 242, 242)", - "bottom": 0, - "left": 0, - "position": "absolute", - "shadowColor": "#000", - "shadowOffset": Object { - "height": 1, - "width": -1, - }, - "shadowOpacity": 0.3, - "shadowRadius": 5, - "top": 0, - "width": 3, - } - } - /> - <View - style={ - Array [ - Object { + [ + { "flex": 1, "overflow": "hidden", }, - Array [ - Object { + [ + { "backgroundColor": "rgb(242, 242, 242)", }, undefined, ], ] } > <View style={ - Object { + { "flex": 1, "flexDirection": "column-reverse", } } > <View style={ - Object { + { "flex": 1, } } > <View style={ - Array [ - Object { + [ + { "display": "flex", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, }, - Object { + { "alignItems": "center", "backgroundColor": "#fcedda", "display": "flex", "justifyContent": "center", }, @@ -224,32 +220,45 @@ testID="splash-screen" > <Image resizeMode="contain" source={ - Object { + { "testUri": "../../../app/assets/images/wednesday-logo.png", } } style={ - Array [ - Object { + { "alignItems": "center", "display": "flex", "justifyContent": "center", "width": 200, - }, - ] + } } /> </View> </View> </View> </View> </View> </View> </View> - </RNSScreen> + </RNSModalScreen> </RNSScreenContainer> + <View + collapsable={false} + pointerEvents="box-none" + style={ + { + "height": 44, + "left": 0, + "position": "absolute", + "right": 0, + "top": 0, + "zIndex": 1, + } + } + /> + </View> </RNCSafeAreaProvider> </View> </View> at Object.toMatchSnapshot (/home/runner/work/react-native-template/react-native-template/app/scenes/RootScreen/tests/index.test.js:15:25) at Promise.then.completed (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
<LogoWithInstructions /> > Should render and match the snapshot: app/components/molecules/LogoWithInstructions/tests/index.test.js#L14
Error: expect(received).toMatchSnapshot() Snapshot name: `<LogoWithInstructions /> Should render and match the snapshot 1` - Snapshot - 7 + Received + 6 <View> <View style={ - Object { + { "height": 150, "marginBottom": 25, "width": "100%", } } > <Image resizeMode="contain" source={ - Object { + { "testUri": "../../../app/assets/images/wednesday-logo.png", } } style={ - Object { + { "alignSelf": "center", "height": "100%", "width": "100%", } } /> </View> <Text style={ - Array [ - Object { + { "fontSize": 17, "fontStyle": "italic", "fontWeight": "normal", "marginBottom": 5, "textAlign": "center", - }, - ] + } } + testID="t" /> </View> at Object.toMatchSnapshot (/home/runner/work/react-native-template/react-native-template/app/components/molecules/LogoWithInstructions/tests/index.test.js:16:25) at Promise.then.completed (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
<SplashScreen /> > should render and match the snapshot: app/scenes/SplashScreen/tests/index.test.js#L11
Error: expect(received).toMatchSnapshot() Snapshot name: `<SplashScreen /> should render and match the snapshot 1` - Snapshot - 8 + Received + 6 @@ -1,15 +1,15 @@ <View style={ - Array [ - Object { + [ + { "display": "flex", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, }, - Object { + { "alignItems": "center", "backgroundColor": "#fcedda", "display": "flex", "justifyContent": "center", }, @@ -18,21 +18,19 @@ testID="splash-screen" > <Image resizeMode="contain" source={ - Object { + { "testUri": "../../../app/assets/images/wednesday-logo.png", } } style={ - Array [ - Object { + { "alignItems": "center", "display": "flex", "justifyContent": "center", "width": 200, - }, - ] + } } /> </View> at Object.toMatchSnapshot (/home/runner/work/react-native-template/react-native-template/app/scenes/SplashScreen/tests/index.test.js:13:25) at Promise.then.completed (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
<Container /> > should render and match the snapshot: app/components/atoms/Container/tests/index.test.js#L11
Error: expect(received).toMatchSnapshot() Snapshot name: `<Container /> should render and match the snapshot 1` - Snapshot - 4 + Received + 2 <View style={ - Array [ - Object { + { "display": "flex", "flexBasis": 0, "flexGrow": 1, "flexShrink": 1, - }, - ] + } } testID="container" /> at Object.toMatchSnapshot (/home/runner/work/react-native-template/react-native-template/app/components/atoms/Container/tests/index.test.js:13:25) at Promise.then.completed (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:316:40) at _runTest (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/react-native-template/react-native-template/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
expo-build
Process completed with exit code 1.
expo-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.