chore(cypress): first hover, then click

pull/5939/head
k3yi0 2022-06-15 14:13:11 +02:00
parent c87e5a79d4
commit c83392cd0d
1 changed files with 4 additions and 1 deletions

View File

@ -62,7 +62,10 @@ describe('Use Admin tab', () => {
.realHover()
.then(() => {
cy.getByTestID(`${chronograf.user.name}--table-row`).within(() => {
cy.getByTestID('dropdown-toggle').click()
cy.getByTestID('dropdown-toggle').realHover().then(() => {
cy.getByTestID('dropdown-toggle').click()
})
cy.getByTestID(`${chronograf.user.role[1]}-dropdown-item`)
.realHover()
.then(() => {