Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
kechpaja-at-gofore committed Dec 20, 2024
1 parent db3c90c commit 1bd8055
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ test('Add two attendances for yesterday then update one and remove other', async

let attendances = reservationsTable.attendanceCells(childId, date)
await attendances.assertCount(2)
await attendances.nth(0).assertTextEquals('09:00\n16:00*')
await attendances.nth(1).assertTextEquals('20:30\n-*')
await attendances.nth(0).assertTextEquals('09:00\n16:00')
await attendances.nth(1).assertTextEquals('20:30\n-')

await reservationsTable.openChildDateModal(childId, date)
await modal.attendanceStart(0).assertValueEquals('09:00')
Expand All @@ -171,7 +171,7 @@ test('Add two attendances for yesterday then update one and remove other', async

attendances = reservationsTable.attendanceCells(childId, date)
await attendances.assertCount(1)
await attendances.nth(0).assertTextEquals('10:15\n16:00*')
await attendances.nth(0).assertTextEquals('10:15\n16:00')
})

test('Add absences for child in preschool daycare for tomorrow then update one and remove other', async () => {
Expand Down

0 comments on commit 1bd8055

Please sign in to comment.