feat(ui/cypress): test also show users toggle

pull/5944/head
Pavel Zavora 2022-06-21 09:41:32 +02:00
parent 9af9f409fa
commit cac6b06263
1 changed files with 5 additions and 1 deletions

View File

@ -289,10 +289,14 @@ describe('InfluxDB', () => {
cy.get('th').contains('Users').should('exist')
})
cy.getByTestID('hide-users--toggle').click()
cy.getByTestID('show-users--toggle').click()
cy.getByTestID('admin-table--head').within(() => {
cy.get('th').contains('Users').should('not.exist')
})
cy.getByTestID('show-users--toggle').click()
cy.getByTestID('admin-table--head').within(() => {
cy.get('th').contains('Users').should('exist')
})
})
})
})