diff --git a/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/textEditorParts/mask.tests.js b/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/textEditorParts/mask.tests.js index 5c80a78de919..a0b947758206 100644 --- a/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/textEditorParts/mask.tests.js +++ b/packages/devextreme/testing/tests/DevExpress.ui.widgets.editors/textEditorParts/mask.tests.js @@ -1011,22 +1011,6 @@ QUnit.module('delete key', moduleConfig, () => { assert.equal($input.val(), '_- x', 'letter deleted'); }); - - QUnit.skip('should skip consecutive stub chars', function(assert) { - const $textEditor = $('#texteditor').dxTextEditor({ - mask: '0---0' - }); - - const $input = $textEditor.find(`.${TEXTEDITOR_INPUT_CLASS}`); - const keyboard = keyboardMock($input, true); - caretWorkaround($input); - - keyboard - .caret(1) - .press('del'); - - assert.deepEqual(keyboard.caret(), { start: 4, end: 4 }, 'caret is set after a stub'); - }); }); QUnit.module('selection', moduleConfig, () => { @@ -2060,23 +2044,6 @@ QUnit.module('paste', moduleConfig, () => { assert.equal($input.val(), '00', '\'v\' char from ctrl+V combination was ignored'); }); - - QUnit.skip('digit stub should not be duplicated after paste if caret is placed before the stub', function(assert) { - const $textEditor = $('#texteditor').dxTextEditor({ - mask: '10000' - }); - const textEditor = $textEditor.dxTextEditor('instance'); - - const $input = $textEditor.find(`.${TEXTEDITOR_INPUT_CLASS}`); - const keyboard = keyboardMock($input, true); - caretWorkaround($input); - - keyboard - .caret(0) - .paste('6'); - - assert.strictEqual(textEditor.option('text'), '16___', 'only pasted digit is added'); - }); }); QUnit.module('drag text', moduleConfig, () => {