diff --git a/cypress/integration/markdown_widget_list_spec.js b/cypress/integration/markdown_widget_list_spec.js index c88cbeae..a1378ac2 100644 --- a/cypress/integration/markdown_widget_list_spec.js +++ b/cypress/integration/markdown_widget_list_spec.js @@ -35,7 +35,7 @@ describe('Markdown widget', () => { `); }); - it('creates nested list when selection is collapsed in non-first block of list item', () => { + it('converts a list item to a paragraph block which is a sibling of the parent list', () => { cy.clickUnorderedListButton() .type('foo') .enter() @@ -44,44 +44,20 @@ describe('Markdown widget', () => { +

`) - .type('bar') - .enter() - .clickUnorderedListButton() - .confirmMarkdownEditorContent(` - - `); }); - it('converts empty nested list item to empty block in parent list item', () => { + it('converts empty nested list item to empty paragraph block in parent list item', () => { cy.clickUnorderedListButton() .type('foo') .enter() - .clickUnorderedListButton() + .tabkey() .type('bar') .enter() - .clickUnorderedListButton() + .tabkey() .confirmMarkdownEditorContent(`