Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kravets-levko committed Sep 12, 2019
1 parent c1af432 commit ab8ca00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions client/app/visualizations/table/renderer.less
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@

/* START table x scroll */
.dashboard-widget-wrapper:not(.widget-auto-height-enabled) & {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;

& div {
Expand Down
2 changes: 1 addition & 1 deletion client/cypress/integration/dashboard/widget_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ describe('Widget', () => {
cy.visit(this.dashboardUrl);
cy.getByTestId('TableVisualization')
.its('0.offsetHeight')
.should('eq', 381);
.should('eq', 380);
cy.percySnapshot('Shows correct height of table visualization');
});
});
Expand Down

0 comments on commit ab8ca00

Please sign in to comment.