add tests for Vorgang operation: change name and pin
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user