diff --git a/frontend/src/routes/guest/register/index.test.tsx b/frontend/src/routes/guest/register/index.test.tsx index b8a9c0df406d959b8375c6acdceb89c2eb3b3a9a..0ac01aee3ccd557ed5bfce7a30b38b62ffb1ccde 100644 --- a/frontend/src/routes/guest/register/index.test.tsx +++ b/frontend/src/routes/guest/register/index.test.tsx @@ -25,7 +25,6 @@ const testData = { start: '2021-08-10', end: '2021-08-16', contact_person_unit: 'Test contact person', - comments: 'Test comment', }, meta: { session_type: 'invite', @@ -66,5 +65,7 @@ test('Field showing values correctly', async () => { await screen.findByDisplayValue( `${testData.role.start} - ${testData.role.end}` ) - await screen.findByDisplayValue(testData.role.comments) + + // For the default setup the contact person at unit field should be showing + await screen.findByDisplayValue(testData.role.contact_person_unit) })