diff --git a/cypress.config.ts b/cypress.config.ts index 03ed5b3bd..ff67e990c 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -7,7 +7,7 @@ export default defineConfig({ experimentalStudio: true }, env: { - consumerUrl: 'http//localhost:18080', - providerUrl: 'http//localhost:28080', + consumerUrl: 'http://localhost:18080', + providerUrl: 'http://localhost:28080', }, }) diff --git a/cypress/e2e/spec.cy.js b/cypress/e2e/spec.cy.js index 661c1991d..a7860adfd 100644 --- a/cypress/e2e/spec.cy.js +++ b/cypress/e2e/spec.cy.js @@ -15,7 +15,7 @@ describe('end-to-end', () => { const id = uuid() const name = `asset-${id}` - cy.get('[href="/my-assets"]').as('assets-menu-item').click(); + cy.get('[href="/my-assets"]').first().as('assets-menu-item').click(); cy.get('#mat-input-0').as('asset-filter') cy.get('.container').contains('Create asset').as('open-new-asset-dialog').click(); cy.get('#mat-input-1').as('asset-id-field').clear();