From 3d80b81159b12b9e71b581c5559171e46f41444b Mon Sep 17 00:00:00 2001 From: cmoinier Date: Thu, 12 Dec 2024 18:59:55 +0100 Subject: [PATCH] feat: add e2e test --- apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts b/apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts index 5b76e1b93..ae48f72c9 100644 --- a/apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts +++ b/apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts @@ -293,6 +293,14 @@ describe('dashboard (authenticated)', () => { cy.get('md-editor-dashboard-menu').find('a').first().click() cy.get('gn-ui-autocomplete').should('have.value', '') }) + it('should allow to search in the entire catalog', () => { + cy.get('gn-ui-autocomplete').type('mat{enter}') + cy.get('gn-ui-interactive-table') + .find('[data-cy="table-row"]') + .should('have.length', '1') + cy.url().should('include', '/search?q=mat') + cy.url().should('not.include', 'owner') + }) }) }) describe('search filters', () => {