import { beforeEach, describe, expect, it } from 'vitest' import { mount } from '@vue/test-utils' import FieldRenderer from '../../src/components/form/FieldRenderer.vue' import FormErrorBanner from '../../src/components/form/FormErrorBanner.vue' import FormField from '../../src/components/form/FormField.vue' import { clone, extensionFormSchemaFixture, formField } from '../fixtures/typed' import { mockApi, resetState } from '../helpers' import type { FormField as FormFieldSchema } from '../../src/api/types' beforeEach(() => { resetState() }) describe('save notices', () => { it('shows notices as a warning status line the control points at', () => { const wrapper = mount(FormField, { props: { field: formField('code'), modelValue: '', notices: ['PL: