update widget_spec.js test to pass on 380 or 381 vizheight (#6149)

This commit is contained in:
Guido Petri
2023-07-06 21:28:41 -04:00
committed by GitHub
parent 66da3bb7cd
commit b9bdfe83cc

View File

@@ -177,7 +177,7 @@ describe("Widget", () => {
cy.visit(this.dashboardUrl);
cy.getByTestId("TableVisualization")
.its("0.offsetHeight")
.should("eq", 381);
.should("be.oneOf", [380, 381]);
cy.percySnapshot("Shows correct height of table visualization");
});
});