test cases modified

This commit is contained in:
robonetphy 2023-03-28 22:14:02 +05:30
parent 62d07892e5
commit 5683a687ac

View file

@ -211,11 +211,7 @@ describe('Drag and drop the block of Editor', function () {
cy.get('[data-cy=editorjs]')
.get('div.ce-block')
.eq(0)
.type('{movetoend}')
.trigger('keydown', {
shiftKey: true,
keyCode: _.keyCodes.UP,
})
.type('{selectall}')
.trigger('keydown', {
shiftKey: true,
keyCode: _.keyCodes.DOWN,
@ -263,11 +259,7 @@ describe('Drag and drop the block of Editor', function () {
cy.get('[data-cy=editorjs]')
.get('div.ce-block')
.eq(1)
.type('{movetoend}')
.trigger('keydown', {
shiftKey: true,
keyCode: _.keyCodes.UP,
})
.type('{selectall}')
.trigger('keydown', {
shiftKey: true,
keyCode: _.keyCodes.DOWN,