cool#8648 clipboard: fix mobile/impress/spellchecking_spec.js
To work even if we don't automatically fetch HTML when a text selection is created. Signed-off-by: Miklos Vajna <vmiklos@collabora.com> Change-Id: I7490be48e86f73d36e98cbea76b10f98d87aeede
This commit is contained in:
parent
4831dabec0
commit
04a6af39cf
1 changed files with 2 additions and 0 deletions
|
@ -47,11 +47,13 @@ describe(['tagmobile', 'tagnextcloud', 'tagproxy'], 'Spell checking menu.', func
|
|||
}
|
||||
|
||||
it('Apply suggestion.', function() {
|
||||
helper.setDummyClipboardForCopy();
|
||||
openContextMenu();
|
||||
|
||||
cy.cGet('body').contains('.context-menu-link', 'hello').click();
|
||||
|
||||
impressHelper.selectTextOfShape();
|
||||
helper.copy();
|
||||
|
||||
helper.expectTextForClipboard('hello');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue