forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.4 KiB
81 lines
1.4 KiB
// 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>
|
|
`;
|
|
|