Skip to content
Snippets Groups Projects
Commit 527371ef authored by Tore.Brede's avatar Tore.Brede
Browse files

GREG-127: Fixing broken test

parent 49fe9201
No related branches found
No related tags found
1 merge request!203GREG-127: Removing comment field, adding toggle for contact person field
Pipeline #104114 passed
......@@ -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)
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment