Skip to content

Commit

Permalink
test(28703): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vanch3d committed Dec 16, 2024
1 parent 64cb0cd commit 65db3c1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('TopicFilterManager', () => {

cy.mountWithProviders(<TopicFilterManager />)

cy.get('header').should('have.text', 'Manage topic filters')
cy.get('header > p').should('have.text', 'Manage topic filters')
cy.get('table').should('be.visible')

cy.get('table').as('table').should('have.attr', 'aria-label', 'List of topic filters')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ describe('DevicePropertyDrawer', () => {
cy.get('@onClose').should('have.been.calledOnce')

cy.get('header').should('contain.text', 'Device Overview')
cy.get('h2').eq(0).should('contain.text', 'simulation')
cy.get('h2').eq(1).should('contain.text', 'List of Device Tags')
cy.get('h2').eq(0).should('contain.text', 'List of Device Tags')
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ describe('GroupPropertyDrawer', () => {
cy.wait('@getMetricForX')

cy.getByTestId('group-panel-title').should('contain.text', 'Group Observability')
cy.getByTestId('group-panel-keys').find('p').eq(0).should('contain.text', 'adapter: bridge-id-01')
cy.getByTestId('group-panel-keys').find('p').eq(1).should('contain.text', 'adapter: my-adapter')

cy.get('dt').eq(0).should('contain.text', 'bridge-id-01')
cy.get('dt').eq(1).should('contain.text', 'my-adapter')
Expand Down

0 comments on commit 65db3c1

Please sign in to comment.