[tests] Edit cell
This commit is contained in:
parent
96a9235a12
commit
2130a46c21
@ -51,23 +51,12 @@ describe('DataTable', function () {
|
||||
cy.get('@target').should('not.have.class', 'dt-cell--editing');
|
||||
});
|
||||
|
||||
// it('edit cell', function () {
|
||||
|
||||
// cy.getCell(4, 1).dblclick();
|
||||
|
||||
// cy.wait(100);
|
||||
|
||||
// cy.focused()
|
||||
// .type('{selectall}')
|
||||
// .wait(100)
|
||||
// .type('{del}')
|
||||
// .wait(100)
|
||||
// .type('Test')
|
||||
// .wait(100)
|
||||
// .type('{enter}');
|
||||
|
||||
// cy.getCell(4, 1).contains('Test');
|
||||
// });
|
||||
it('edit cell', function () {
|
||||
cy.getCell(4, 1).dblclick();
|
||||
cy.getCell(4, 1).find('input').click();
|
||||
cy.focused().type('{selectall}{del}Test{enter}');
|
||||
cy.getCell(4, 1).contains('Test');
|
||||
});
|
||||
|
||||
it('if editing is false: editing should not activate', function () {
|
||||
cy.getCell(3, 0).dblclick({ force: true })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user