From 3b1ac7a1447bb45508bedf2204be37da205f8ca5 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:23:40 -0800 Subject: [PATCH] Revert "Update tests for new viewer" This reverts commit 312031e6f1846cf671ec51a175fe8288e9b7d0c8. --- .../document-detail/document-detail.spec.ts | 2 +- .../loading-dialog.component.html | 2 +- .../loading-dialog.component.spec.ts | 12 +-- .../document-detail.component.spec.ts | 97 +++---------------- .../document-detail.component.ts | 2 +- 5 files changed, 17 insertions(+), 98 deletions(-) diff --git a/src-ui/e2e/document-detail/document-detail.spec.ts b/src-ui/e2e/document-detail/document-detail.spec.ts index d5f29b847..1bc2b6aa9 100644 --- a/src-ui/e2e/document-detail/document-detail.spec.ts +++ b/src-ui/e2e/document-detail/document-detail.spec.ts @@ -79,7 +79,7 @@ test('should show a mobile preview', async ({ page }) => { await page.setViewportSize({ width: 400, height: 1000 }) await expect(page.getByRole('tab', { name: 'Preview' })).toBeVisible() await page.getByRole('tab', { name: 'Preview' }).click() - await page.waitForSelector('ngx-extended-pdf-viewer') + await page.waitForSelector('pdf-viewer') }) test('should show a list of notes', async ({ page }) => { diff --git a/src-ui/src/app/components/common/loading-dialog/loading-dialog.component.html b/src-ui/src/app/components/common/loading-dialog/loading-dialog.component.html index d086f7edf..1247452e4 100644 --- a/src-ui/src/app/components/common/loading-dialog/loading-dialog.component.html +++ b/src-ui/src/app/components/common/loading-dialog/loading-dialog.component.html @@ -1,5 +1,5 @@