2018-09-13 07:10:51 -05:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`Render should enable save button 1`] = `
|
2019-01-28 07:40:24 -06:00
|
|
|
<Page
|
|
|
|
navModel={Object {}}
|
|
|
|
>
|
|
|
|
<PageContents
|
|
|
|
isLoading={false}
|
2018-09-13 07:10:51 -05:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
<h2
|
|
|
|
className="page-sub-heading"
|
|
|
|
>
|
|
|
|
Folder Settings
|
|
|
|
</h2>
|
2018-09-13 07:10:51 -05:00
|
|
|
<div
|
2019-02-12 05:49:40 -06:00
|
|
|
className="section gf-form-group"
|
2018-09-13 07:10:51 -05:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
<form
|
|
|
|
name="folderSettingsForm"
|
|
|
|
onSubmit={[Function]}
|
2019-01-28 07:40:24 -06:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
<div
|
|
|
|
className="gf-form"
|
2018-09-13 07:10:51 -05:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
<label
|
|
|
|
className="gf-form-label width-7"
|
2018-09-13 07:10:51 -05:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
Name
|
|
|
|
</label>
|
|
|
|
<input
|
|
|
|
className="gf-form-input width-30"
|
|
|
|
onChange={[Function]}
|
|
|
|
type="text"
|
|
|
|
value="loading"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
className="gf-form-button-row"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
className="btn btn-primary"
|
|
|
|
disabled={false}
|
|
|
|
type="submit"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
className="fa fa-save"
|
2018-09-13 07:10:51 -05:00
|
|
|
/>
|
2019-02-12 05:49:40 -06:00
|
|
|
Save
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
className="btn btn-danger"
|
|
|
|
disabled={false}
|
|
|
|
onClick={[Function]}
|
2018-09-13 07:10:51 -05:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
<i
|
|
|
|
className="fa fa-trash"
|
|
|
|
/>
|
|
|
|
Delete
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
2018-09-13 07:10:51 -05:00
|
|
|
</div>
|
2019-01-28 07:40:24 -06:00
|
|
|
</PageContents>
|
|
|
|
</Page>
|
2018-09-13 07:10:51 -05:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Render should render component 1`] = `
|
2019-01-28 07:40:24 -06:00
|
|
|
<Page
|
|
|
|
navModel={Object {}}
|
|
|
|
>
|
|
|
|
<PageContents
|
|
|
|
isLoading={false}
|
2018-09-13 07:10:51 -05:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
<h2
|
|
|
|
className="page-sub-heading"
|
|
|
|
>
|
|
|
|
Folder Settings
|
|
|
|
</h2>
|
2018-09-13 07:10:51 -05:00
|
|
|
<div
|
2019-02-12 05:49:40 -06:00
|
|
|
className="section gf-form-group"
|
2018-09-13 07:10:51 -05:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
<form
|
|
|
|
name="folderSettingsForm"
|
|
|
|
onSubmit={[Function]}
|
2019-01-28 07:40:24 -06:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
<div
|
|
|
|
className="gf-form"
|
2018-09-13 07:10:51 -05:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
<label
|
|
|
|
className="gf-form-label width-7"
|
2018-09-13 07:10:51 -05:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
Name
|
|
|
|
</label>
|
|
|
|
<input
|
|
|
|
className="gf-form-input width-30"
|
|
|
|
onChange={[Function]}
|
|
|
|
type="text"
|
|
|
|
value="loading"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
className="gf-form-button-row"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
className="btn btn-primary"
|
|
|
|
disabled={true}
|
|
|
|
type="submit"
|
|
|
|
>
|
|
|
|
<i
|
|
|
|
className="fa fa-save"
|
2018-09-13 07:10:51 -05:00
|
|
|
/>
|
2019-02-12 05:49:40 -06:00
|
|
|
Save
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
className="btn btn-danger"
|
|
|
|
disabled={false}
|
|
|
|
onClick={[Function]}
|
2018-09-13 07:10:51 -05:00
|
|
|
>
|
2019-02-12 05:49:40 -06:00
|
|
|
<i
|
|
|
|
className="fa fa-trash"
|
|
|
|
/>
|
|
|
|
Delete
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
2018-09-13 07:10:51 -05:00
|
|
|
</div>
|
2019-01-28 07:40:24 -06:00
|
|
|
</PageContents>
|
|
|
|
</Page>
|
2018-09-13 07:10:51 -05:00
|
|
|
`;
|