Skip to content

Commit

Permalink
fix: update URL syntax in cypress.config.ts #248
Browse files Browse the repository at this point in the history
  • Loading branch information
farhin23 committed May 14, 2024
1 parent d11470c commit 46ce239
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
})
2 changes: 1 addition & 1 deletion cypress/e2e/spec.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 46ce239

Please sign in to comment.