Skip to content

Commit

Permalink
feat: add e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmoinier committed Dec 12, 2024
1 parent aedd749 commit 3d80b81
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 3d80b81

Please sign in to comment.