Skip to content

Commit

Permalink
cool#8648 clipboard: fix mobile/writer/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: Ic4a57aede4f0bca397868a80303df8d124e31ba4
  • Loading branch information
vmiklos authored and caolanm committed Apr 22, 2024
1 parent a2db31f commit 9cca40d
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -56,6 +56,7 @@ describe(['tagmobile', 'tagnextcloud', 'tagproxy'], 'Delete Objects', function()
});

it('Delete Table', function() {
helper.setDummyClipboardForCopy();
mobileHelper.openInsertionWizard();
// Open Table submenu
cy.cGet('body').contains('.ui-header.level-0.mobile-wizard.ui-widget', 'Table').click();
Expand All @@ -65,6 +66,7 @@ describe(['tagmobile', 'tagnextcloud', 'tagproxy'], 'Delete Objects', function()
// Table is inserted with the markers shown
cy.cGet('.leaflet-marker-icon.table-column-resize-marker').should('exist');
helper.typeIntoDocument('{ctrl}a');
helper.copy();
// Two rows
cy.cGet('#copy-paste-container tr').should('have.length', 2);
// Four cells
Expand Down

0 comments on commit 9cca40d

Please sign in to comment.