Skip to content

Commit

Permalink
update test following merge from main
Browse files Browse the repository at this point in the history
  • Loading branch information
pearl-truss committed Apr 23, 2024
1 parent c229c28 commit 77f9250
Showing 1 changed file with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -742,16 +742,25 @@ describe('SubmissionSummary', () => {
)
await waitFor(() => {
const rows = screen.getAllByRole('row')
expect(rows).toHaveLength(5)
expect(rows).toHaveLength(10)
expect(
within(rows[0]).getByText('Date added')
).toBeInTheDocument()
expect(within(rows[1]).getByText('5/12/22')).toBeInTheDocument()
expect(within(rows[2]).getByText('4/12/22')).toBeInTheDocument()
expect(within(rows[1]).getByText('1/1/24')).toBeInTheDocument()
expect(
within(rows[3]).getByText('Date added')
within(rows[2]).getByText('Date added')
).toBeInTheDocument()
expect(within(rows[4]).getByText('3/12/22')).toBeInTheDocument()
expect(within(rows[3]).getByText('1/15/24')).toBeInTheDocument()
expect(within(rows[4]).getByText('1/13/24')).toBeInTheDocument()
expect(
within(rows[5]).getByText('Date added')
).toBeInTheDocument()
expect(within(rows[6]).getByText('1/1/23')).toBeInTheDocument()
expect(
within(rows[7]).getByText('Date added')
).toBeInTheDocument()
expect(within(rows[8]).getByText('1/15/23')).toBeInTheDocument()
expect(within(rows[9]).getByText('1/15/23')).toBeInTheDocument()
})
})

Expand Down

0 comments on commit 77f9250

Please sign in to comment.