Update tests for new viewer

This commit is contained in:
shamoon
2023-11-25 01:28:23 -08:00
parent 014c24b8cf
commit 312031e6f1
5 changed files with 98 additions and 17 deletions

View File

@@ -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('pdf-viewer')
await page.waitForSelector('ngx-extended-pdf-viewer')
})
test('should show a list of notes', async ({ page }) => {