test: fix resize column test
This commit is contained in:
parent
6d381d8f6b
commit
584d964a72
@ -49,15 +49,15 @@ describe('Column', function () {
|
|||||||
cy
|
cy
|
||||||
.get('@resize-handle')
|
.get('@resize-handle')
|
||||||
.trigger('mousedown')
|
.trigger('mousedown')
|
||||||
.trigger('mousemove', { pageX: 710, pageY: 20, which: 1 })
|
.trigger('mousemove', { pageX: 700, pageY: 20, which: 1 })
|
||||||
.trigger('mouseup');
|
.trigger('mouseup');
|
||||||
|
|
||||||
cy.getColumnCell(4)
|
cy.getColumnCell(4)
|
||||||
.should('have.css', 'width')
|
.should('have.css', 'width')
|
||||||
.and('match', /^82\d*(\.\d+)?px$/);
|
.and('match', /^72\d*(\.\d+)?px$/);
|
||||||
cy.getCell(4, 1)
|
cy.getCell(4, 1)
|
||||||
.should('have.css', 'width')
|
.should('have.css', 'width')
|
||||||
.and('match', /^82\d*(\.\d+)?px$/);
|
.and('match', /^72\d*(\.\d+)?px$/);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('resize column using double click', function () {
|
it('resize column using double click', function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user