test: add dynamic width in resize column
This commit is contained in:
parent
584d964a72
commit
4758cf2cd4
@ -52,12 +52,12 @@ describe('Column', function () {
|
||||
.trigger('mousemove', { pageX: 700, pageY: 20, which: 1 })
|
||||
.trigger('mouseup');
|
||||
|
||||
cy.getColumnCell(4).invoke('css', 'width').then((width) => {
|
||||
cy.getColumnCell(4)
|
||||
.should('have.css', 'width')
|
||||
.and('match', /^72\d*(\.\d+)?px$/);
|
||||
.should('have.css', 'width', width);
|
||||
cy.getCell(4, 1)
|
||||
.should('have.css', 'width')
|
||||
.and('match', /^72\d*(\.\d+)?px$/);
|
||||
.should('have.css', 'width', width);
|
||||
});
|
||||
});
|
||||
|
||||
it('resize column using double click', function () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user