Skip to content

Commit

Permalink
test: correctly verify button's position
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac committed Nov 8, 2024
1 parent c81fc9b commit 32ed788
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ describe('simple mode', function() {
simpleModeButtonBounds = simpleModeButton.getBoundingClientRect();

expect(simpleModeButtonBounds.left).to.be.closeTo(cellBounds.right, 10);
expect(simpleModeButtonBounds.top).to.be.closeTo(cellBounds.top, 10);

// button bottom should be close to cell top
expect(simpleModeButtonBounds.bottom).to.be.closeTo(cellBounds.top, 10);
});


Expand Down

0 comments on commit 32ed788

Please sign in to comment.