{
}
export interface PaginationProps {
- type?: 'inline' | 'page'
pageSize: number
hasNext: boolean
hasPrev: boolean
@@ -37,7 +36,6 @@ export interface PaginationProps {
className?: string
}
export const Pagination = ({
- type = 'inline',
pageSize,
hasNext,
hasPrev,
@@ -50,7 +48,6 @@ export const Pagination = ({
<>
{
const row = page.getByRole('row', { name: 'disk-1-snapshot-6' })
+ // scroll a little so the dropdown menu isn't behind the pagination bar
+ await page.getByRole('table').click() // focus the content pane
+ await page.mouse.wheel(0, 200)
+
async function clickDelete() {
await row.getByRole('button', { name: 'Row actions' }).click()
await page.getByRole('menuitem', { name: 'Delete' }).click()