mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Migrate frontend prefix to -pngx
This commit is contained in:
		| @@ -10,7 +10,7 @@ test('dashboard inbox link', async ({ page }) => { | ||||
|   await page.goto('/dashboard') | ||||
|   await page.getByRole('link', { name: 'Documents in inbox' }).click() | ||||
|   await expect(page).toHaveURL(/tags__id__all=9/) | ||||
|   await expect(page.locator('app-document-list')).toHaveText(/8 documents/) | ||||
|   await expect(page.locator('pngx-document-list')).toHaveText(/8 documents/) | ||||
| }) | ||||
|  | ||||
| test('dashboard total documents link', async ({ page }) => { | ||||
| @@ -18,7 +18,7 @@ test('dashboard total documents link', async ({ page }) => { | ||||
|   await page.goto('/dashboard') | ||||
|   await page.getByRole('link').filter({ hasText: 'Total documents' }).click() | ||||
|   await expect(page).toHaveURL(/documents/) | ||||
|   await expect(page.locator('app-document-list')).toHaveText(/61 documents/) | ||||
|   await expect(page.locator('pngx-document-list')).toHaveText(/61 documents/) | ||||
|   await page.getByRole('button', { name: 'Reset filters' }) | ||||
| }) | ||||
|  | ||||
| @@ -26,19 +26,19 @@ test('dashboard saved view show all', async ({ page }) => { | ||||
|   await page.routeFromHAR(REQUESTS_HAR3, { notFound: 'fallback' }) | ||||
|   await page.goto('/dashboard') | ||||
|   await page | ||||
|     .locator('app-widget-frame') | ||||
|     .locator('pngx-widget-frame') | ||||
|     .filter({ hasText: 'Inbox' }) | ||||
|     .getByRole('link', { name: 'Show all' }) | ||||
|     .click() | ||||
|   await expect(page).toHaveURL(/view\/7/) | ||||
|   await expect(page.locator('app-document-list')).toHaveText(/8 documents/) | ||||
|   await expect(page.locator('pngx-document-list')).toHaveText(/8 documents/) | ||||
| }) | ||||
|  | ||||
| test('dashboard saved view document links', async ({ page }) => { | ||||
|   await page.routeFromHAR(REQUESTS_HAR4, { notFound: 'fallback' }) | ||||
|   await page.goto('/dashboard') | ||||
|   await page | ||||
|     .locator('app-widget-frame') | ||||
|     .locator('pngx-widget-frame') | ||||
|     .filter({ hasText: 'Inbox' }) | ||||
|     .locator('table') | ||||
|     .getByRole('link', { name: /test/ }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon