mattermost-mobile/app/screens/permalink/__snapshots__/permalink.test.js.snap
Joseph Baylon 7aebfd0b13
MM-30286 Detox/E2E: Add e2e test for MM-T3249 and added useful helpers (#4990)
* MM-30286 Detox/E2E: Add e2e test for MM-T3249 and added useful helper functions

* Update app/components/sidebars/main/channels_list/channels_list.js

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* Add team icon content helper query

* Fixed reset for teams

* MM-30286 Detox/E2E: Add e2e test for MM-T3235 (#5003)

* MM-30286 Detox/E2E: Add e2e test for MM-T3255 (#5006)

* Fix merge issues

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2020-12-15 17:24:45 -08:00

147 lines
2.9 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Permalink should match snapshot 1`] = `
<Connect(SafeArea)
backgroundColor="transparent"
excludeHeader={true}
footerColor="transparent"
>
<View
style={
Object {
"flex": 1,
"marginTop": 20,
}
}
testID="permalink.screen"
>
<withAnimatable(View)
animation="zoomIn"
delay={0}
direction="normal"
duration={200}
iterationCount={1}
iterationDelay={0}
onAnimationBegin={[Function]}
onAnimationEnd={[Function]}
onTransitionBegin={[Function]}
onTransitionEnd={[Function]}
style={
Object {
"backgroundColor": "#ffffff",
"borderRadius": 6,
"flex": 1,
"margin": 10,
"opacity": 0,
}
}
useNativeDriver={true}
>
<View
style={
Object {
"alignItems": "center",
"borderTopLeftRadius": 6,
"borderTopRightRadius": 6,
"flexDirection": "row",
"height": 44,
"paddingRight": 16,
"width": "100%",
}
}
>
<ForwardRef
onPress={[Function]}
style={
Object {
"height": 44,
"justifyContent": "center",
"paddingLeft": 7,
"width": 40,
}
}
>
<CompassIcon
color="#3d3c40"
name="close"
size={20}
/>
</ForwardRef>
<View
style={
Object {
"alignItems": "center",
"flex": 1,
"paddingRight": 40,
}
}
>
<Text
ellipsizeMode="tail"
numberOfLines={1}
style={
Object {
"color": "#3d3c40",
"fontSize": 17,
"fontWeight": "600",
}
}
>
channel_name
</Text>
</View>
</View>
<View
style={
Object {
"backgroundColor": "#ffffff",
}
}
>
<View
style={
Object {
"backgroundColor": "rgba(61,60,64,0.2)",
"height": 1,
}
}
/>
</View>
<View
style={
Array [
Object {
"flex": 1,
},
null,
]
}
>
<Loading
color="#3d3c40"
size="large"
style={Object {}}
/>
</View>
</withAnimatable(View)>
</View>
</Connect(SafeArea)>
`;
exports[`Permalink should match snapshot 2`] = `
<Text>
<CompassIcon
name="archive-outline"
style={
Array [
Object {
"color": "#3d3c40",
"fontSize": 16,
"paddingRight": 20,
},
]
}
/>
</Text>
`;