cool#8648 clipboard: fix desktop/impress/delete_objects_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: Ic499b60dde450b32464dc2b8cd959066ac5c2e7e
This commit is contained in:
parent
e3d5c168c1
commit
c10cc6d8b8
1 changed files with 2 additions and 0 deletions
|
@ -17,10 +17,12 @@ describe(['tagdesktop', 'tagnextcloud', 'tagproxy'], 'Delete Objects', function(
|
|||
});
|
||||
|
||||
it('Delete Text', function() {
|
||||
helper.setDummyClipboardForCopy();
|
||||
cy.cGet('.leaflet-layer').dblclick('center');
|
||||
cy.cGet('.leaflet-pane.leaflet-overlay-pane svg g').should('exist');
|
||||
helper.typeIntoDocument('text');
|
||||
helper.selectAllText();
|
||||
helper.copy();
|
||||
helper.expectTextForClipboard('text');
|
||||
helper.typeIntoDocument('{del}');
|
||||
helper.typeIntoDocument('{ctrl}a');
|
||||
|
|
Loading…
Reference in a new issue