mirror of https://github.com/grafana/grafana
I18n: User and Org Preferences allow change of Language (#51175)
* add locale selection settings under preferences; Alpha feature toggle; * extract components' ids for internationalisation references * migrate OrgDetailsPage tests from Enzyme to RTL * test locale selection in shared preferences * fix OrgDetailsPage needing a fetch polyfill; "Real fetch shouldn't be being hit." - Josh * remove snapshot * remove snapshotpull/51296/head^2
parent
0b1a886b9d
commit
496c2e26f4
@ -1,52 +0,0 @@ |
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP |
||||
|
||||
exports[`Render should render component 1`] = ` |
||||
<Page |
||||
navModel={ |
||||
Object { |
||||
"main": Object { |
||||
"text": "Configuration", |
||||
}, |
||||
"node": Object { |
||||
"text": "Org details", |
||||
}, |
||||
} |
||||
} |
||||
> |
||||
<PageContents |
||||
isLoading={true} |
||||
/> |
||||
</Page> |
||||
`; |
||||
|
||||
exports[`Render should render organization and preferences 1`] = ` |
||||
<Page |
||||
navModel={ |
||||
Object { |
||||
"main": Object { |
||||
"text": "Configuration", |
||||
}, |
||||
"node": Object { |
||||
"text": "Org details", |
||||
}, |
||||
} |
||||
} |
||||
> |
||||
<PageContents |
||||
isLoading={false} |
||||
> |
||||
<VerticalGroup |
||||
spacing="lg" |
||||
> |
||||
<OrgProfile |
||||
onSubmit={[Function]} |
||||
orgName="Cool org" |
||||
/> |
||||
<SharedPreferences |
||||
disabled={false} |
||||
resourceUri="org" |
||||
/> |
||||
</VerticalGroup> |
||||
</PageContents> |
||||
</Page> |
||||
`; |
||||
Loading…
Reference in new issue