Skip to content

Commit

Permalink
fix(cypress): updated cypress tests to new ConflictPicker dialog
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Morales <[email protected]>
  • Loading branch information
emoral435 committed Mar 15, 2024
1 parent 1a78911 commit 87da200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/components/ConflictPicker.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ describe('ConflictPicker rendering', { testIsolation: true }, () => {
cy.get('[data-cy-conflict-picker-fieldset="all"]').should('exist')
cy.get('[data-cy-conflict-picker-fieldset="image.jpg"]').should('exist')

cy.get('[data-cy-conflict-picker-skip]').should('be.visible')
cy.get('[data-cy-conflict-picker-skip]').scrollIntoView().should('be.visible')
cy.get('[data-cy-conflict-picker-submit]').should('be.visible')

// Force close and cancel
cy.get('[data-cy-conflict-picker] .modal-container__close').click({ force: true })
cy.get('[data-cy-conflict-picker-skip]').click({ force: true })
})
})

Expand Down

0 comments on commit 87da200

Please sign in to comment.