Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Created cypress test for right align attribute on Desktop writer
Change-Id: Ie0128ce0a6f20fe401cea231d0114abe64724ba7
Signed-off-by: Ezinne Nnamani <nnamani.ezinne@collabora.com>
  • Loading branch information
Ezinnem authored and tzolnai committed Nov 3, 2020
1 parent 2b6b9d8 commit 2975a26
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -159,7 +159,15 @@ describe('Top toolbar tests.', function() {
cy.get('#copy-paste-container p')
.should('have.attr', 'align', 'center');
});
it('Apply right alignment.', function() {
cy.get('#tb_editbar_item_rightpara')
.click();

helper.reselectAllText();

cy.get('#copy-paste-container p')
.should('have.attr', 'align', 'right');
});
it('Insert comment.', function() {
cy.get('#toolbar-up .w2ui-scroll-right')
.click();
Expand Down

0 comments on commit 2975a26

Please sign in to comment.