Skip to content

Commit

Permalink
cool#8648 clipboard: fix mobile/impress/delete_objects_spec.js
Browse files Browse the repository at this point in the history
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: I8ba49faa7eb5926993111d03a961f750174d3bea
  • Loading branch information
vmiklos authored and caolanm committed Apr 19, 2024
1 parent 283b5a1 commit 027a871
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -25,13 +25,15 @@ describe(['tagmobile', 'tagnextcloud', 'tagproxy'], 'Delete Objects', function()


it('Delete Text', function() {
helper.setDummyClipboardForCopy();
cy.cGet('.leaflet-layer').dblclick('center');

cy.wait(100);

helper.typeIntoDocument('text');

helper.selectAllText();
helper.copy();

helper.expectTextForClipboard('text');

Expand Down

0 comments on commit 027a871

Please sign in to comment.