app/javascript/spec/button-group/__snapshots__/button-group-form.spec.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Button Group form component should render the adding form 1`] = `
<Loading
active={true}
className="export-spinner"
description="Active loading indicator"
small={true}
withOverlay={false}
/>
`;
exports[`Button Group form component should render the adding form for generic object button groups 1`] = `
<Loading
active={true}
className="export-spinner"
description="Active loading indicator"
small={true}
withOverlay={false}
/>
`;
exports[`Button Group form component should render the editing form 1`] = `
<Provider
store={
Object {
"asyncReducers": Object {
"FormButtons": [Function],
"miqCustomTabReducer": [Function],
"notificationReducer": [Function],
},
"dispatch": [Function],
"getState": [Function],
"injectReducers": [Function],
"replaceReducer": [Function],
"subscribe": [Function],
Symbol(observable): [Function],
}
}
>
<GroupForm
appliesToClass=""
availableFields={Array []}
fields={Array []}
isGenericObject={false}
recId={42}
url=""
>
<Loading
active={true}
className="export-spinner"
description="Active loading indicator"
small={true}
withOverlay={false}
>
<div
aria-atomic="true"
aria-live="assertive"
className="export-spinner bx--loading bx--loading--small"
>
<label
className="bx--visually-hidden"
id="loading-id-1"
>
Active loading indicator
</label>
<svg
className="bx--loading__svg"
viewBox="0 0 100 100"
>
<title>
Active loading indicator
</title>
<circle
className="bx--loading__background"
cx="50%"
cy="50%"
r="44"
/>
<circle
className="bx--loading__stroke"
cx="50%"
cy="50%"
r="44"
/>
</svg>
</div>
</Loading>
</GroupForm>
</Provider>
`;
exports[`Button Group form component should render the editing form for generic object button group 1`] = `
<Provider
store={
Object {
"asyncReducers": Object {
"FormButtons": [Function],
"miqCustomTabReducer": [Function],
"notificationReducer": [Function],
},
"dispatch": [Function],
"getState": [Function],
"injectReducers": [Function],
"replaceReducer": [Function],
"subscribe": [Function],
Symbol(observable): [Function],
}
}
>
<GroupForm
appliesToClass="GenericObjectDefinition"
appliesToId={6}
availableFields={Array []}
fields={Array []}
isGenericObject={true}
recId={219}
url="/generic_object_definition/"
>
<Loading
active={true}
className="export-spinner"
description="Active loading indicator"
small={true}
withOverlay={false}
>
<div
aria-atomic="true"
aria-live="assertive"
className="export-spinner bx--loading bx--loading--small"
>
<label
className="bx--visually-hidden"
id="loading-id-2"
>
Active loading indicator
</label>
<svg
className="bx--loading__svg"
viewBox="0 0 100 100"
>
<title>
Active loading indicator
</title>
<circle
className="bx--loading__background"
cx="50%"
cy="50%"
r="44"
/>
<circle
className="bx--loading__stroke"
cx="50%"
cy="50%"
r="44"
/>
</svg>
</div>
</Loading>
</GroupForm>
</Provider>
`;