diff --git a/bun.lock b/bun.lock index 4d1dd67f54..13d1357633 100644 --- a/bun.lock +++ b/bun.lock @@ -1,6 +1,5 @@ { "lockfileVersion": 1, - "configVersion": 0, "workspaces": { "": { "name": "capgo-app", diff --git a/playwright/e2e/apikeys.spec.ts b/playwright/e2e/apikeys.spec.ts index 5084830304..eef497ba63 100644 --- a/playwright/e2e/apikeys.spec.ts +++ b/playwright/e2e/apikeys.spec.ts @@ -401,7 +401,7 @@ test.describe('API Key Management', () => { const keyRow = keyCell.locator('xpath=ancestor::tr[1]') await keyRow.locator('[data-test^="delete-key-"]').click() - await page.getByRole('button', { name: 'Delete' }).click() + await page.getByRole('dialog').getByRole('button', { name: 'Delete' }).click() await expect(page.getByText('API key has been successfully deleted', { exact: true })).toBeVisible() await expect(page.getByText(keyName, { exact: true })).toHaveCount(0) diff --git a/src/components/DataTable.vue b/src/components/DataTable.vue index 16e6f5955d..96bbc0d107 100644 --- a/src/components/DataTable.vue +++ b/src/components/DataTable.vue @@ -431,10 +431,6 @@ function isActionDisabled(action: NonNullable[number], e return Boolean(action.disabled && action.disabled(elem)) } -function tooltipIdFor(rowIndex: number, actionIndex: number): string { - return `datatable-action-tooltip-${rowIndex}-${actionIndex}` -} - const displayElemRange = computed(() => { if (props.elementList.length === 0) return '0' @@ -807,7 +803,7 @@ const paginationClass = computed(() => props.mobileFixedPagination