cool#8648 clipboard: fix desktop/writer/notebookbar_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: I52851e3473532781fb03f2ac9d7c14614c2d7814
This commit is contained in:
parent
1e4afce8a1
commit
406dad2128
1 changed files with 2 additions and 0 deletions
|
@ -24,12 +24,14 @@ describe(['tagdesktop'], 'Notebookbar tests.', function() {
|
|||
});
|
||||
|
||||
it('Apply bold font from dropdown in Format tab', function() {
|
||||
helper.setDummyClipboardForCopy();
|
||||
cy.cGet('.notebookbar #Format-tab-label').click();
|
||||
cy.cGet('.notebookbar .unoFormatMenu .unoarrow').click();
|
||||
cy.cGet('#format-dropdown').should('exist');
|
||||
cy.cGet('#format-dropdown #format-entry-0').click(); // Bold
|
||||
cy.cGet('#format-dropdown').should('not.exist');
|
||||
writerHelper.selectAllTextOfDoc();
|
||||
helper.copy();
|
||||
cy.cGet('#copy-paste-container p b').should('exist');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue