add tests for Vorgang operation: change name and pin

This commit is contained in:
2025-11-21 12:00:14 +01:00
parent 3aee87aaed
commit 5c76e77766
2 changed files with 22 additions and 0 deletions

View File

@@ -100,4 +100,16 @@ describe('Seite: Vorgangsansicht', () => {
expect(linkElement).toHaveAttribute('href', expectedURL);
});
});
describe('PIN Anzeige & Button', () => {
it('Teste korrekte Anzeige von PIN Komponente', () => {
const testData = { ...baseData};
render(TatortListPage, { props: { data: testData } });
const vorgObj = baseData.vorgangList[0]
// PIN is being displayed within ´NameItemEditor´
let label = screen.queryByText(vorgObj.vorgangPIN);
expect(label).toBeInTheDocument();
});
});
});