diff --git a/ts/features/messages/screens/__tests__/__snapshots__/MessageAttachment.test.tsx.snap b/ts/features/messages/screens/__tests__/__snapshots__/MessageAttachment.test.tsx.snap index 18daafbbdfa..0c3bd733091 100644 --- a/ts/features/messages/screens/__tests__/__snapshots__/MessageAttachment.test.tsx.snap +++ b/ts/features/messages/screens/__tests__/__snapshots__/MessageAttachment.test.tsx.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`MessageAttachment Should match the snapshot when there is an error 1`] = ` +exports[`MessageAttachment Should match the snapshot when everything went fine 1`] = ` - - - - - - - - - - - - - PDF Preview - - - - - - - - - - - - - - - - - - - + - - - - + - - - - + - + + + + + + + + + + + + + + + + - + Loading document... + + + + + + + + + + + - + - + + + Save or share + + + + + + + + + + + + + + + + - - + + + + + + + + PDF Preview + + + - + - - - + > + + + + + + + + - - There is a temporary problem, please try again. - - - - If the problem is not resolved, report it with the '?' icon at the top right, thank you! - - - + + @@ -734,12 +885,26 @@ exports[`MessageAttachment Should match the snapshot when there is an error 1`] + `; -exports[`MessageAttachment Should match the snapshot when everything went fine 1`] = ` +exports[`MessageAttachment Should match the snapshot when there is an error 1`] = ` - - - - - - - - - - - - - PDF Preview - - - - - - - - - - - - - - - - - - - + - @@ -1228,74 +1081,57 @@ exports[`MessageAttachment Should match the snapshot when everything went fine 1 "flex": 1, } } - testID="overlayComponent" > - - - + "current": null, + }, + ] + } + > + - - - - - - + - - - - + /> + + + + + + + + + - - + style={ + Array [ + Object { + "textAlign": "center", + }, + Object { + "fontSize": 24, + "lineHeight": 34, + }, + Object { + "color": "#17324D", + "fontFamily": "Titillium Web", + "fontStyle": "normal", + "fontWeight": "600", + }, + ] + } + weight="SemiBold" + > + There is a temporary problem, please try again. + + - Loading document... + If the problem is not resolved, report it with the '?' icon at the top right, thank you! - - - + + + + + + + + + + + PDF Preview + + + - - Save or share - + + + + @@ -1632,6 +1630,20 @@ exports[`MessageAttachment Should match the snapshot when everything went fine 1 + diff --git a/ts/features/pn/components/__test__/__snapshots__/MessageDetails.test.tsx.snap b/ts/features/pn/components/__test__/__snapshots__/MessageDetails.test.tsx.snap index ec8a030d60f..93325d995c5 100644 --- a/ts/features/pn/components/__test__/__snapshots__/MessageDetails.test.tsx.snap +++ b/ts/features/pn/components/__test__/__snapshots__/MessageDetails.test.tsx.snap @@ -20,630 +20,655 @@ exports[`MessageDetails component should match the snapshot with default props 1 } > - - - + + /> + + - + - DUMMY_ROUTE - + + DUMMY_ROUTE + + + - - - + - - - - + + + - + + + + + + + + - - - - + [missing "en.features.pn.details.badge.legalValue" translation] + - - Legal value - - - - - - - - - + + + + + + - - - + - ######## subject ######## - - - + ######## subject ######## + + + + 01 Jan 2020, 00:00 + + - 01 Jan 2020, 00:00 - - - + - - + /> + - + + - ######## abstract ######## - + } + } + style={ + Array [ + Object { + "fontSize": 16, + "lineHeight": 24, + }, + Object { + "color": "#2B2E38", + "fontFamily": "Titillium Web", + "fontStyle": "normal", + "fontWeight": "400", + }, + ] + } + weight="Regular" + > + ######## abstract ######## + + - - + + diff --git a/ts/features/pn/screens/__test__/__snapshots__/MessageDetailsScreen.test.tsx.snap b/ts/features/pn/screens/__test__/__snapshots__/MessageDetailsScreen.test.tsx.snap index 9a3f4a76a2f..44fe86ee824 100644 --- a/ts/features/pn/screens/__test__/__snapshots__/MessageDetailsScreen.test.tsx.snap +++ b/ts/features/pn/screens/__test__/__snapshots__/MessageDetailsScreen.test.tsx.snap @@ -20,633 +20,620 @@ exports[`MessageDetailsScreen should match the snapshot when everything went fin } > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - + + + - + + + + + + + + - - - - + [missing "en.features.pn.details.badge.legalValue" translation] + - - Legal value - + + + + + + + + - - + ######## subject ######## + + + + 01 Jan 2020, 00:00 + + + + + + + + ######## abstract ######## + + + + + + + + + + + @@ -690,146 +680,148 @@ exports[`MessageDetailsScreen should match the snapshot when everything went fin - - - - ######## subject ######## - - - - 01 Jan 2020, 00:00 - - - - - - - + - ######## abstract ######## - + > + + + + + + + + + + + - + @@ -837,6 +829,20 @@ exports[`MessageDetailsScreen should match the snapshot when everything went fin + @@ -862,711 +868,703 @@ exports[`MessageDetailsScreen should match the snapshot when there is an error 1 } > + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + Qualcosa è andato storto + + + Non è stato possibile recuperare i dettagli del tuo messaggio. Riprova per favore + - + + + + + - Qualcosa è andato storto - - - + - Non è stato possibile recuperare i dettagli del tuo messaggio. Riprova per favore - + + + + + + + + + + + + + + + + + + + + + + - - + + @@ -1574,6 +1572,20 @@ exports[`MessageDetailsScreen should match the snapshot when there is an error 1 +