mirror of
https://github.com/codex-team/editor.js
synced 2024-06-29 02:40:23 +02:00
test cases modified
This commit is contained in:
parent
62d07892e5
commit
5683a687ac
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue