Skip to content

Commit

Permalink
Fix cypress test
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Sep 18, 2024
1 parent 0d80568 commit 829677c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/cypress/cypress/e2e/action-rules/button-hide.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ describe('render action rules buttons hide', () => {

it('can render buttons hide', () => {
cy.get('.power-grid-table tbody tr').eq(0)
.should('contain.text', 'Edit-1')
.should('not.contain.text', 'Delete-1')
.should('not.contain.text', 'Edit-1')
.should('contain.text', 'Delete-1')

cy.get('.power-grid-table tbody tr').eq(1)
.should('contain.text', 'Delete-2')
.should('not.contain.text', 'Edit-2')
.should('not.contain.text', 'Delete-2')
.should('contain.text', 'Edit-2')

cy.get('.power-grid-table tbody tr').eq(2)
.should('contain.text', 'Edit-3')
Expand Down

0 comments on commit 829677c

Please sign in to comment.