mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Fix: random styling fixes
This commit is contained in:
parent
7035445d6a
commit
f5a0b9c174
6 changed files with 59 additions and 50 deletions
|
|
@ -135,11 +135,11 @@ test('sorting', async ({ page }) => {
|
|||
test('change views', async ({ page }) => {
|
||||
await page.routeFromHAR(REQUESTS_HAR5, { notFound: 'fallback' })
|
||||
await page.goto('/documents')
|
||||
await page.locator('.btn-group label').first().click()
|
||||
await page.locator('.btn-group > label').first().click()
|
||||
await expect(page.locator('pngx-document-list table')).toBeVisible()
|
||||
await page.locator('.btn-group label').nth(1).click()
|
||||
await page.locator('label:nth-child(4)').first().click()
|
||||
await expect(page.locator('pngx-document-card-small').first()).toBeAttached()
|
||||
await page.locator('.btn-group label').nth(2).click()
|
||||
await page.locator('label:nth-child(6)').click()
|
||||
await expect(page.locator('pngx-document-card-large').first()).toBeAttached()
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue