mirror of https://github.com/grafana/grafana
Refactor 'Basic Settings' test to RTL from Enzyme (#51059)
* Refactor 'Basic Settings' test to RTL from Enzyme * Update public/app/features/datasources/settings/BasicSettings.test.tsx Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com> * Refactor 'Basic Settings' test to RTL from Enzyme Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>pull/51068/head^2
parent
ef26c39cbd
commit
244650835e
@ -1,43 +0,0 @@ |
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP |
||||
|
||||
exports[`Render should render component 1`] = ` |
||||
<div |
||||
aria-label="Datasource settings page basic settings" |
||||
className="gf-form-group" |
||||
> |
||||
<div |
||||
className="gf-form-inline" |
||||
> |
||||
<div |
||||
className="gf-form max-width-30" |
||||
> |
||||
<InlineField |
||||
grow={true} |
||||
label="Name" |
||||
tooltip="The name is used when you select the data source in panels. The default data source is |
||||
'preselected in new panels." |
||||
> |
||||
<Input |
||||
aria-label="Data source settings page name input field" |
||||
id="basic-settings-name" |
||||
onChange={[Function]} |
||||
placeholder="Name" |
||||
required={true} |
||||
type="text" |
||||
value="Graphite" |
||||
/> |
||||
</InlineField> |
||||
</div> |
||||
<InlineField |
||||
label="Default" |
||||
labelWidth={8} |
||||
> |
||||
<Switch |
||||
id="basic-settings-default" |
||||
onChange={[Function]} |
||||
value={false} |
||||
/> |
||||
</InlineField> |
||||
</div> |
||||
</div> |
||||
`; |
Loading…
Reference in new issue