cool#8648 clipboard: fix mobile/calc/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: I8cc3d77a42d66c80882e44f5cd09ac88f53dfa9c
This commit is contained in:
parent
9ea5add217
commit
283b5a1637
1 changed files with 4 additions and 2 deletions
|
@ -34,10 +34,11 @@ describe(['tagmobile', 'tagnextcloud', 'tagproxy'], 'Calc spell checking menu.',
|
|||
}
|
||||
|
||||
it('Apply suggestion.', function() {
|
||||
helper.setDummyClipboardForCopy();
|
||||
openContextMenu();
|
||||
cy.cGet('body').contains('.context-menu-link', 'hello').click();
|
||||
|
||||
calcHelper.assertSheetContents(['hello']);
|
||||
calcHelper.assertSheetContents(['hello'], true);
|
||||
|
||||
// We don't get the spell check context menu any more
|
||||
openContextMenu();
|
||||
|
@ -45,10 +46,11 @@ describe(['tagmobile', 'tagnextcloud', 'tagproxy'], 'Calc spell checking menu.',
|
|||
});
|
||||
|
||||
it('Ignore all.', function() {
|
||||
helper.setDummyClipboardForCopy();
|
||||
openContextMenu();
|
||||
cy.cGet('body').contains('.context-menu-link', 'Ignore All').click();
|
||||
|
||||
calcHelper.assertSheetContents(['helljo']);
|
||||
calcHelper.assertSheetContents(['helljo'], true);
|
||||
|
||||
// We don't get the spell check context menu any more
|
||||
openContextMenu();
|
||||
|
|
Loading…
Reference in a new issue