cool#8648 clipboard: fix mobile/writer/track_changes_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: If9371a3d235a0ee6c006be72dabe40242fa46b2bpull/8847/head
parent
0f749d45a8
commit
82dc3e1a46
|
@ -59,6 +59,7 @@ describe(['tagmobile', 'tagnextcloud', 'tagproxy'], 'Track Changes', function()
|
|||
});
|
||||
|
||||
it('Reject All',function() {
|
||||
helper.setDummyClipboardForCopy();
|
||||
helper.typeIntoDocument('Hello World');
|
||||
cy.wait(1000);
|
||||
enableRecord();
|
||||
|
@ -69,6 +70,7 @@ describe(['tagmobile', 'tagnextcloud', 'tagproxy'], 'Track Changes', function()
|
|||
confirmChange('Reject All');
|
||||
cy.cGet('.leaflet-layer').click();
|
||||
helper.selectAllText();
|
||||
helper.copy();
|
||||
helper.expectTextForClipboard('Hello World');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue