mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
update widget_spec.js test to pass on 380 or 381 vizheight (#6149)
This commit is contained in:
@@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user