Skip to content

Commit

Permalink
fga-eps-mds#164 - Updating snapshot to test meeting screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronyell committed Apr 26, 2018
1 parent 2154a42 commit 3b5fdfb
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 105 deletions.
143 changes: 38 additions & 105 deletions __tests__/screens/__snapshots__/MeetingInvites.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ exports[`Testing MeetingInvites renders meeting as expected 1`] = `
}
}
>
Data:
Data:
</Text>
</Text>
<Text
Expand All @@ -127,7 +128,8 @@ exports[`Testing MeetingInvites renders meeting as expected 1`] = `
}
}
>
Horário:
Horário:
</Text>
</Text>
<Text
Expand Down Expand Up @@ -212,123 +214,54 @@ exports[`Testing MeetingInvites renders meeting as expected 1`] = `
}
}
>
<View
style={
Object {
"alignItems": "center",
"backgroundColor": "#FAFAFA",
"borderColor": "black",
"borderRadius": 3,
"borderWidth": 1,
"flex": 1,
"flexDirection": "row",
"justifyContent": "space-between",
"marginHorizontal": 15,
"marginVertical": 10,
}
<ScheduleCard
data={
Array [
Object {
"label": "Data:",
"value": "13-06-2019",
},
Object {
"label": "Horário:",
"value": "21:56",
},
]
}
>
<View
style={
Object {
"justifyContent": "flex-start",
"marginTop": 5,
"paddingLeft": 4,
"flex": 3,
}
}
>
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Object {
"fontSize": 15,
"paddingVertical": 2,
}
}
>
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Object {
"fontWeight": "bold",
}
}
>
Data:
</Text>
13-06-2019
</Text>
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Object {
"fontSize": 15,
"paddingVertical": 2,
}
}
>
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Object {
"fontWeight": "bold",
}
}
>
Horário:
</Text>
21:56
</Text>
</View>
<View
style={
Object {
"backgroundColor": "white",
"borderColor": "black",
"borderRadius": 7,
"borderWidth": 0.8,
"justifyContent": "center",
"marginRight": 20,
"marginTop": 5,
"padding": 8,
"width": 120,
}
}
>
<TouchableOpacity
activeOpacity={0.2}
<Button
enabled={true}
key="+MeetingInfo"
onPress={[Function]}
>
<Text
accessible={true}
allowFontScaling={true}
disabled={false}
ellipsizeMode="tail"
style={
Object {
style={
Object {
"design": Object {
"backgroundColor": "white",
"borderColor": "black",
"borderRadius": 7,
"borderWidth": 0.8,
"justifyContent": "center",
"marginBottom": 5,
"marginRight": 15,
"marginTop": 5,
"padding": 8,
},
"text": Object {
"fontSize": 12,
"textAlign": "center",
}
},
}
>
+ INFORMAÇÕES
</Text>
</TouchableOpacity>
}
text="+ INFORMAÇÕES"
/>
</View>
</View>
</ScheduleCard>
</ScrollViewMock>
</View>
`;
1 change: 1 addition & 0 deletions src/screens/MeetingInvites.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ class MeetingInvites extends React.Component {
style={buttonBoxStyle}
enabled
text="+ INFORMAÇÕES"
key="+MeetingInfo"
onPress={() => this.getInfo(meetingSchedule.content)}
/>
</View>
Expand Down

0 comments on commit 3b5fdfb

Please sign in to comment.