Skip to content

Commit

Permalink
tests: Fixed issue where collapsed sections couldn't be found
Browse files Browse the repository at this point in the history
  • Loading branch information
Xartos committed Oct 4, 2024
1 parent 3e362b2 commit 7d5fdda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/common/cypress/grafana.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Cypress.Commands.add('testGrafanaDashboard', (ingress, dashboardName, expandRows

// Expand all dashboard rows
if (expandRows === true) {
cy.get(".dashboard-row--collapsed")
cy.get('[data-testid="dashboard-row-container"] > [aria-expanded="false"]')
.each((element) => {
cy.wrap(element)
.click()
Expand Down

0 comments on commit 7d5fdda

Please sign in to comment.