diff --git a/client/tests/e2e/specs/documents_list.spec.ts b/client/tests/e2e/specs/documents_list.spec.ts index 5875aae4b6e..8ef5f176d4c 100644 --- a/client/tests/e2e/specs/documents_list.spec.ts +++ b/client/tests/e2e/specs/documents_list.spec.ts @@ -170,11 +170,8 @@ for (const gridMode of [false, true]) { } else { await documents.locator('.folder-container').getByRole('listitem').nth(2).dblclick(); } - const modal = documents.locator('.information-modal'); - await expect(modal).toBeVisible(); - await expect(modal.locator('.container-textinfo')).toHaveText('This feature is not yet available in web mode.'); - await modal.locator('#next-button').click(); - await expect(modal).toBeHidden(); + + await expect(documents).toHavePageTitle('File viewer'); }); msTest(`Navigation back and forth in ${gridMode ? 'grid' : 'list'} mode`, async ({ documents }) => {