Fix: support multiple inbox tags from stats widget (#7281)

This commit is contained in:
shamoon
2024-07-22 10:07:51 -07:00
committed by GitHub
parent 82340ad6e3
commit 6b2e5559ca
9 changed files with 30 additions and 25 deletions

View File

@@ -9,7 +9,7 @@ test('dashboard inbox link', async ({ page }) => {
await page.routeFromHAR(REQUESTS_HAR1, { notFound: 'fallback' })
await page.goto('/dashboard')
await page.getByRole('link', { name: 'Documents in inbox' }).click()
await expect(page).toHaveURL(/tags__id__all=9/)
await expect(page).toHaveURL(/tags__id__in=9/)
await expect(page.locator('pngx-document-list')).toHaveText(/8 documents/)
})