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:
@@ -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()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user