fix: update trash smoke test for new Archive action in trash view

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
lucaronin
2026-03-18 03:51:49 +01:00
parent 2b786892ee
commit 9c0e39180c

View File

@@ -80,9 +80,9 @@ test.describe('Trash management', () => {
const bulkBar = page.locator('[data-testid="bulk-action-bar"]')
await expect(bulkBar).toBeVisible({ timeout: 3000 })
await expect(page.locator('[data-testid="bulk-restore-btn"]')).toBeVisible()
await expect(page.locator('[data-testid="bulk-archive-btn"]')).toBeVisible()
await expect(page.locator('[data-testid="bulk-delete-btn"]')).toBeVisible()
// Archive and Trash buttons should NOT be visible in trash view
await expect(page.locator('[data-testid="bulk-archive-btn"]')).not.toBeVisible()
// Trash button should NOT be visible in trash view (notes are already trashed)
await expect(page.locator('[data-testid="bulk-trash-btn"]')).not.toBeVisible()
})