Skip to content

Commit

Permalink
Fix flaky test 'As editor I can add links' by using getSlateEditorAnd…
Browse files Browse the repository at this point in the history
…Type (#5966)
  • Loading branch information
ksuess authored Apr 18, 2024
1 parent c664f33 commit 4b056a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ describe('Block Tests: Links', () => {
beforeEach(slateBeforeEach);

it('As editor I can add links', function () {
cy.get('#toolbar').click();
cy.getSlate().type('Colorless green ideas sleep furiously.');
cy.getSlateEditorAndType('Colorless green ideas sleep furiously.');

cy.log('Create a Link');

Expand Down
1 change: 1 addition & 0 deletions packages/volto/news/5965.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix flaky test 'As editor I can add links' by using getSlateEditorAndType. @ksuess

0 comments on commit 4b056a8

Please sign in to comment.