fix: loan error surfacing, non-admin export, guarded atomic migration, expanded player controls
This commit is contained in:
@@ -69,4 +69,13 @@ describe('MiniBar', () => {
|
||||
await userEvent.click(screen.getByRole('button', { name: /close player/i }))
|
||||
await waitFor(() => expect(screen.queryByText('Motion')).toBeNull())
|
||||
})
|
||||
|
||||
it('expanded view has prev/next/pause controls', async () => {
|
||||
renderBar()
|
||||
await userEvent.click(screen.getByRole('button', { name: 'load' }))
|
||||
await userEvent.click(await screen.findByRole('button', { name: /expand/i }))
|
||||
expect(screen.getByRole('button', { name: /previous track/i })).toBeTruthy()
|
||||
expect(screen.getByRole('button', { name: /next track/i })).toBeTruthy()
|
||||
expect(screen.getByRole('button', { name: /pause/i })).toBeTruthy()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user