This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
error_message.test.jsx.snap
180 lines (171 loc) · 5.04 KB
/
error_message.test.jsx.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`components/error_page/ErrorMessage should match snapshot, channel_not_found type 1`] = `
<p>
<FormattedMessage
defaultMessage="The team you're requesting is private or does not exist. Please contact your Administrator for an invitation."
id="error.channel_not_found.message"
values={Object {}}
/>
</p>
`;
exports[`components/error_page/ErrorMessage should match snapshot, local_storage type 1`] = `
<div>
<FormattedMessage
defaultMessage="Mattermost was unable to load because a setting in your browser prevents the use of its local storage features. To allow Mattermost to load, try the following actions:"
id="error.local_storage.message"
values={Object {}}
/>
<ul>
<li>
<FormattedMessage
defaultMessage="Enable cookies"
id="error.local_storage.help1"
values={Object {}}
/>
</li>
<li>
<FormattedMessage
defaultMessage="Turn off private browsing"
id="error.local_storage.help2"
values={Object {}}
/>
</li>
<li>
<FormattedMessage
defaultMessage="Use a supported browser (IE 11, Chrome 43+, Firefox 38+, Safari 9, Edge)"
id="error.local_storage.help3"
values={Object {}}
/>
</li>
</ul>
</div>
`;
exports[`components/error_page/ErrorMessage should match snapshot, no type but with message 1`] = `
<p>
error message
</p>
`;
exports[`components/error_page/ErrorMessage should match snapshot, no type nor message 1`] = `
<p>
<FormattedMessage
defaultMessage="An error has occurred."
id="error.generic.message"
values={Object {}}
/>
</p>
`;
exports[`components/error_page/ErrorMessage should match snapshot, oauth_access_denied type 1`] = `
<p>
<FormattedMessage
defaultMessage="You must authorize Mattermost to log in with {service}."
id="error.oauth_access_denied"
values={
Object {
"service": "Gitlab",
}
}
/>
</p>
`;
exports[`components/error_page/ErrorMessage should match snapshot, oauth_missing_code type 1`] = `
<div>
<p>
<FormattedMessage
defaultMessage="The service provider {service} did not provide an authorization code in the redirect URL."
id="error.oauth_missing_code"
values={
Object {
"service": "Gitlab",
}
}
/>
</p>
<p>
<FormattedMessage
defaultMessage="For {link} make sure your administrator enabled the Google+ API."
id="error.oauth_missing_code.google"
values={
Object {
"link": <ErrorLink
defaultMessage="Google Apps"
messageId="error.oauth_missing_code.google.link"
url="https://docs.mattermost.com/deployment/sso-google.html"
/>,
}
}
/>
</p>
<p>
<FormattedMessage
defaultMessage="For {link} make sure the administrator of your Microsoft organization has enabled the Mattermost app."
id="error.oauth_missing_code.office365"
values={
Object {
"link": <ErrorLink
defaultMessage="Office 365"
messageId="error.oauth_missing_code.office365.link"
url="https://docs.mattermost.com/deployment/sso-office.html"
/>,
}
}
/>
</p>
<p>
<FormattedMessage
defaultMessage="For {link} please make sure you followed the setup instructions."
id="error.oauth_missing_code.gitlab"
values={
Object {
"link": <ErrorLink
defaultMessage="GitLab"
messageId="error.oauth_missing_code.gitlab.link"
url="https://docs.mattermost.com/deployment/sso-gitlab.html"
/>,
}
}
/>
</p>
<p>
<FormattedMessage
defaultMessage="If you reviewed the above and are still having trouble with configuration, you may post in our {link} where we'll be happy to help with issues during setup."
id="error.oauth_missing_code.forum"
values={
Object {
"link": <ErrorLink
defaultMessage="Troubleshooting forum"
messageId="error.oauth_missing_code.forum.link"
url="https://forum.mattermost.org/c/trouble-shoot"
/>,
}
}
/>
</p>
</div>
`;
exports[`components/error_page/ErrorMessage should match snapshot, page_not_found type 1`] = `
<p>
<FormattedMessage
defaultMessage="The page you were trying to reach does not exist"
id="error.not_found.message"
values={Object {}}
/>
</p>
`;
exports[`components/error_page/ErrorMessage should match snapshot, permalink_not_found type 1`] = `
<p>
<FormattedMessage
defaultMessage="Permalink belongs to a deleted message or to a channel to which you do not have access."
id="permalink.error.access"
values={Object {}}
/>
</p>
`;
exports[`components/error_page/ErrorMessage should match snapshot, team_not_found type 1`] = `
<p>
<FormattedMessage
defaultMessage="The team you're requesting is private or does not exist. Please contact your Administrator for an invitation."
id="error.team_not_found.message"
values={Object {}}
/>
</p>
`;