Skip to content

Commit

Permalink
test: fix resize column test
Browse files Browse the repository at this point in the history
  • Loading branch information
iamejaaz committed Feb 19, 2025
1 parent 6d381d8 commit 584d964
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/integration/column.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ describe('Column', function () {
cy
.get('@resize-handle')
.trigger('mousedown')
.trigger('mousemove', { pageX: 710, pageY: 20, which: 1 })
.trigger('mousemove', { pageX: 700, pageY: 20, which: 1 })
.trigger('mouseup');

cy.getColumnCell(4)
.should('have.css', 'width')
.and('match', /^82\d*(\.\d+)?px$/);
.and('match', /^72\d*(\.\d+)?px$/);
cy.getCell(4, 1)
.should('have.css', 'width')
.and('match', /^82\d*(\.\d+)?px$/);
.and('match', /^72\d*(\.\d+)?px$/);
});

it('resize column using double click', function () {
Expand Down

0 comments on commit 584d964

Please sign in to comment.