Skip to content

Commit

Permalink
e2e(ME): adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Feb 25, 2024
1 parent 45357d9 commit 57b74f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/metadata-editor-e2e/src/e2e/dashboard.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe('dashboard', () => {
.get('gn-ui-checkbox')
.eq(2)
.click()
cy.get('.selected-records').contains('1 selected')
cy.get('[data-test=selected-count]').contains('1 selected')
})

it('should show nothing when none are selected', () => {
Expand All @@ -84,7 +84,7 @@ describe('dashboard', () => {
.each(($checkbox) => cy.wrap($checkbox).click())
cy.get('[data-cy=records-information]').should(
'not.have.descendants',
'.selected-records'
'[data-test=selected-count]'
)
})

Expand All @@ -95,7 +95,7 @@ describe('dashboard', () => {
.get('gn-ui-checkbox')
.first()
.click()
cy.get('.selected-records').contains('14 selected')
cy.get('[data-test=selected-count]').contains('14 selected')
})
})
})

0 comments on commit 57b74f2

Please sign in to comment.