Skip to content

Commit b3f5486

Browse files
committed
fix tests
1 parent 9da026d commit b3f5486

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/grid/test/grid-test-styles.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ style.textContent = css`
1111
max-width: none;
1212
-webkit-font-smoothing: antialiased;
1313
-moz-osx-font-smoothing: grayscale;
14+
--vaadin-grid-row-border-width: 0px;
1415
}
1516
1617
vaadin-grid::part(cell) {

packages/grid/test/row-details.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ describe('row details', () => {
119119
const bounds = cells[1].getBoundingClientRect();
120120
expect(bounds.top).to.be.closeTo(cells[0].getBoundingClientRect().bottom, 1);
121121
expect(bounds.left).to.equal(cells[0].getBoundingClientRect().left);
122-
expect(bounds.right).to.equal(grid.$.items.getBoundingClientRect().right);
122+
expect(bounds.right).to.equal(cells[0].getBoundingClientRect().right);
123123
expect(bounds.bottom).to.be.closeTo(bodyRows[2].getBoundingClientRect().top, 1);
124124
expect(bounds.height).to.be.above(10);
125125
};

0 commit comments

Comments
 (0)