* Adding base button functionality Moving file upload previews to be under textbox * Ensuring textbox is scrollable when in landscape mode * Updated image picker to use mixed camera option * Added unit tests, fixed other tests affected by dependency update * Updated patch for react-native-image-picker to 1.1.0 * Fixing incorrect import of DocumentPicker * MM-20989: Ensuring keyboard doesn't dismiss while submitting post (#3758) * Ensuring keyboard doesn't dismiss while submitting post * Update snapshot * Preventing the @ icon from being repeatedly tappable (#3777) * Fix snapshot from merge * MM-21736 Select/Take images and videos for Android * MM-21737 Fix attachment error message position on iOS * Remove FileUploadPreview from the iOS Thread screen * Fix android camera permissions * Fix post input box sizing and disable scrollview * Fix iOS photo gallery videos Co-authored-by: Andre Vasconcelos <andre.onogoro@gmail.com> Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
106 lines
2 KiB
Text
106 lines
2 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`SendButton should change theme backgroundColor to 0.3 opacity 1`] = `
|
|
<View
|
|
style={
|
|
Object {
|
|
"justifyContent": "flex-end",
|
|
"paddingHorizontal": 5,
|
|
"paddingVertical": 2,
|
|
}
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Array [
|
|
Object {
|
|
"alignItems": "center",
|
|
"backgroundColor": "#166de0",
|
|
"borderRadius": 4,
|
|
"height": 28,
|
|
"justifyContent": "center",
|
|
"paddingLeft": 3,
|
|
"width": 72,
|
|
},
|
|
Object {
|
|
"backgroundColor": "rgba(22,109,224,0.3)",
|
|
},
|
|
]
|
|
}
|
|
>
|
|
<PaperPlane
|
|
color="#ffffff"
|
|
height={13}
|
|
width={15}
|
|
/>
|
|
</View>
|
|
</View>
|
|
`;
|
|
|
|
exports[`SendButton should match snapshot 1`] = `
|
|
<TouchableWithFeedbackIOS
|
|
onPress={[MockFunction]}
|
|
style={
|
|
Object {
|
|
"justifyContent": "flex-end",
|
|
"paddingHorizontal": 5,
|
|
"paddingVertical": 2,
|
|
}
|
|
}
|
|
type="opacity"
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"backgroundColor": "#166de0",
|
|
"borderRadius": 4,
|
|
"height": 28,
|
|
"justifyContent": "center",
|
|
"paddingLeft": 3,
|
|
"width": 72,
|
|
}
|
|
}
|
|
>
|
|
<PaperPlane
|
|
color="#ffffff"
|
|
height={13}
|
|
width={15}
|
|
/>
|
|
</View>
|
|
</TouchableWithFeedbackIOS>
|
|
`;
|
|
|
|
exports[`SendButton should render theme backgroundColor 1`] = `
|
|
<TouchableWithFeedbackIOS
|
|
onPress={[MockFunction]}
|
|
style={
|
|
Object {
|
|
"justifyContent": "flex-end",
|
|
"paddingHorizontal": 5,
|
|
"paddingVertical": 2,
|
|
}
|
|
}
|
|
type="opacity"
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"backgroundColor": "#166de0",
|
|
"borderRadius": 4,
|
|
"height": 28,
|
|
"justifyContent": "center",
|
|
"paddingLeft": 3,
|
|
"width": 72,
|
|
}
|
|
}
|
|
>
|
|
<PaperPlane
|
|
color="#ffffff"
|
|
height={13}
|
|
width={15}
|
|
/>
|
|
</View>
|
|
</TouchableWithFeedbackIOS>
|
|
`;
|