Fix locale switcher and cover it with e2e

This commit is contained in:
SleepWalker
2019-12-28 13:13:11 +02:00
parent ba49382fb6
commit b2c072e5e1
6 changed files with 83 additions and 4 deletions

View File

@@ -26,7 +26,7 @@ class Profile extends React.Component<Props> {
const { user, interfaceLocale } = this.props;
return (
<div>
<div data-testid="profile-index">
<Message {...messages.accountPreferencesTitle}>
{(pageTitle: string) => (
<h2 className={styles.indexTitle}>