Skip to content

Commit

Permalink
test(cypress): fix selectors, accommodate to second form on page
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Dec 31, 2024
1 parent d5a746c commit 7d89bf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/tests/e2e/specs/shared-dimensions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ describe('Shared dimensions', () => {

cy.contains('.button', 'Create shared dimension').click()

cy.contains('form-property', 'Identifier')
cy.get('.quickview').contains('form-property', 'Identifier')
.find('input')
.type(toIdentifier(dimensionName))

cy.contains('form-property', 'Name')
cy.get('.quickview').contains('form-property', 'Name')
.find('input')
.type(dimensionName)

cy.contains('form-property', 'Name')
cy.get('.quickview').contains('form-property', 'Name')
.find('select')
.select('en')

Expand Down

0 comments on commit 7d89bf9

Please sign in to comment.