app/javascript/spec/subnet-form/__snapshots__/subnet-form.spec.js.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Subnet form component renders the adding form variant 1`] = `
<Connect(MiqFormRenderer)
buttonsLabels={
Object {
"submitLabel": "Add",
}
}
canReset={false}
canSubmit={false}
onCancel={[Function]}
onSubmit={[Function]}
schema={
Object {
"fields": Array [
Object {
"component": "select",
"id": "ems_id",
"isDisabled": false,
"isRequired": true,
"label": "Network Manager",
"loadOptions": [Function],
"name": "ems_id",
"onChange": [Function],
"validate": Array [
Object {
"type": "required",
},
],
},
],
}
}
validate={[Function]}
/>
`;
exports[`Subnet form component renders the editing form variant 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],
}
}
>
<SubnetForm
recordId="1"
>
<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>
</SubnetForm>
</Provider>
`;