cool#8648 clipboard: fix mobile/writer/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: Ic4a57aede4f0bca397868a80303df8d124e31ba4pull/8604/head
parent
a2db31f437
commit
9cca40deda
|
@ -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();
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue