* 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>
82 lines
1.5 KiB
Text
82 lines
1.5 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Badge should match snapshot 1`] = `
|
|
<View
|
|
style={
|
|
Array [
|
|
Object {
|
|
"borderRadius": 20,
|
|
"position": "absolute",
|
|
"right": 30,
|
|
"top": 2,
|
|
},
|
|
Object {
|
|
"borderColor": "#000000",
|
|
},
|
|
]
|
|
}
|
|
testID="badge"
|
|
>
|
|
<View
|
|
style={
|
|
Array [
|
|
Object {
|
|
"backgroundColor": "#444",
|
|
"height": 20,
|
|
"padding": 12,
|
|
"paddingBottom": 3,
|
|
"paddingTop": 3,
|
|
},
|
|
Object {
|
|
"backgroundColor": "#ffffff",
|
|
},
|
|
Object {
|
|
"opacity": 0,
|
|
},
|
|
]
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"alignSelf": "center",
|
|
"flex": 1,
|
|
"justifyContent": "center",
|
|
}
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"flex": 1,
|
|
"flexDirection": "row",
|
|
"justifyContent": "center",
|
|
"textAlignVertical": "center",
|
|
}
|
|
}
|
|
>
|
|
<Text
|
|
onLayout={[Function]}
|
|
style={
|
|
Array [
|
|
Object {
|
|
"color": "white",
|
|
"fontSize": 14,
|
|
},
|
|
Object {
|
|
"color": "#145dbf",
|
|
"fontSize": 10,
|
|
},
|
|
]
|
|
}
|
|
testID="badge.unread_count"
|
|
>
|
|
99+
|
|
</Text>
|
|
</View>
|
|
</View>
|
|
</View>
|
|
</View>
|
|
`;
|