mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* added post installation steps. * changes according to feedback. * removing return union null type. * added tests. * changing the wording of the button to 'create a..' * updated tests to check for the updated copy. * changing the back to be a regular back button. * updated snapshot
82 lines
1.4 KiB
Plaintext
82 lines
1.4 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Render should render component 1`] = `
|
|
<div
|
|
className="gf-form-button-row"
|
|
>
|
|
<Button
|
|
fill="solid"
|
|
onClick={[Function]}
|
|
type="button"
|
|
variant="secondary"
|
|
>
|
|
Back
|
|
</Button>
|
|
<LinkButton
|
|
disabled={false}
|
|
fill="solid"
|
|
href="/explore"
|
|
variant="secondary"
|
|
>
|
|
Explore
|
|
</LinkButton>
|
|
<Button
|
|
aria-label="Data source settings page Delete button"
|
|
disabled={true}
|
|
onClick={[MockFunction]}
|
|
type="button"
|
|
variant="destructive"
|
|
>
|
|
Delete
|
|
</Button>
|
|
<Button
|
|
onClick={[MockFunction]}
|
|
type="submit"
|
|
variant="primary"
|
|
>
|
|
Test
|
|
</Button>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Render should render with buttons enabled 1`] = `
|
|
<div
|
|
className="gf-form-button-row"
|
|
>
|
|
<Button
|
|
fill="solid"
|
|
onClick={[Function]}
|
|
type="button"
|
|
variant="secondary"
|
|
>
|
|
Back
|
|
</Button>
|
|
<LinkButton
|
|
disabled={false}
|
|
fill="solid"
|
|
href="/explore"
|
|
variant="secondary"
|
|
>
|
|
Explore
|
|
</LinkButton>
|
|
<Button
|
|
aria-label="Data source settings page Delete button"
|
|
disabled={false}
|
|
onClick={[MockFunction]}
|
|
type="button"
|
|
variant="destructive"
|
|
>
|
|
Delete
|
|
</Button>
|
|
<Button
|
|
aria-label="Data source settings page Save and Test button"
|
|
disabled={false}
|
|
onClick={[Function]}
|
|
type="submit"
|
|
variant="primary"
|
|
>
|
|
Save & test
|
|
</Button>
|
|
</div>
|
|
`;
|