mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
test: fix tests following aria-label change
This commit is contained in:
parent
341667a512
commit
27b42aaa9a
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ export const Unread: Story = {
|
|||
play: async ({ canvas }) => {
|
||||
await waitFor(() => expect(canvas.getByText('eBook drop 2')).not.toBeNull())
|
||||
|
||||
await expect(canvas.getByRole('button', { name: 'mark all read' })).toBeEnabled()
|
||||
await expect(canvas.getByRole('button', { name: /mark all as read/i })).toBeEnabled()
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ export const NoUnread: Story = {
|
|||
play: async ({ canvas }) => {
|
||||
await waitFor(() => expect(canvas.getByText('eBook drop 2')).not.toBeNull())
|
||||
|
||||
await expect(canvas.queryByRole('button', { name: 'mark all read' })).toBeNull()
|
||||
await expect(canvas.queryByRole('button', { name: /mark all as read/i })).toBeNull()
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue