123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`Render should enable save button 1`] = `
- <Page
- navModel={Object {}}
- >
- <PageContents
- isLoading={false}
- >
- <h3
- className="page-sub-heading"
- >
- Folder settings
- </h3>
- <div
- className="section gf-form-group"
- >
- <form
- name="folderSettingsForm"
- onSubmit={[Function]}
- >
- <div
- className="gf-form"
- >
- <label
- className="gf-form-label width-7"
- >
- Name
- </label>
- <Input
- className="gf-form-input width-30"
- onChange={[Function]}
- type="text"
- value="loading"
- />
- </div>
- <div
- className="gf-form-button-row"
- >
- <Button
- disabled={false}
- type="submit"
- >
- Save
- </Button>
- <Button
- disabled={false}
- onClick={[Function]}
- variant="destructive"
- >
- Delete
- </Button>
- </div>
- </form>
- </div>
- </PageContents>
- </Page>
- `;
- exports[`Render should render component 1`] = `
- <Page
- navModel={Object {}}
- >
- <PageContents
- isLoading={false}
- >
- <h3
- className="page-sub-heading"
- >
- Folder settings
- </h3>
- <div
- className="section gf-form-group"
- >
- <form
- name="folderSettingsForm"
- onSubmit={[Function]}
- >
- <div
- className="gf-form"
- >
- <label
- className="gf-form-label width-7"
- >
- Name
- </label>
- <Input
- className="gf-form-input width-30"
- onChange={[Function]}
- type="text"
- value="loading"
- />
- </div>
- <div
- className="gf-form-button-row"
- >
- <Button
- disabled={true}
- type="submit"
- >
- Save
- </Button>
- <Button
- disabled={false}
- onClick={[Function]}
- variant="destructive"
- >
- Delete
- </Button>
- </div>
- </form>
- </div>
- </PageContents>
- </Page>
- `;
|