cypress_test/integration_tests/mobile/writer/apply_paragraph_properties_spec.js | 25 ++-------- 1 file changed, 5 insertions(+), 20 deletions(-)
New commits: commit 55b4fb9ec756209b3523287340c5902144777b57 Author: Tamás Zolnai <[email protected]> AuthorDate: Mon Feb 24 16:33:10 2020 +0100 Commit: Tamás Zolnai <[email protected]> CommitDate: Mon Feb 24 17:16:26 2020 +0100 cypress: mobile: simplify this test. Change-Id: Iaf076f35eeabd7609da024a4f3236a52e69bb543 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89362 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Tamás Zolnai <[email protected]> diff --git a/cypress_test/integration_tests/mobile/writer/apply_paragraph_properties_spec.js b/cypress_test/integration_tests/mobile/writer/apply_paragraph_properties_spec.js index df8cc63a3..7994da125 100644 --- a/cypress_test/integration_tests/mobile/writer/apply_paragraph_properties_spec.js +++ b/cypress_test/integration_tests/mobile/writer/apply_paragraph_properties_spec.js @@ -35,30 +35,15 @@ describe('Apply paragraph properties.', function() { cy.get('#CenterPara') .click(); - // Close mobile wizard - cy.get('#tb_actionbar_item_mobile_wizard') - .click(); - - helper.copyTextToClipboard(); - - cy.get('#copy-paste-container p') - .should('have.attr', 'align', 'center'); - - // Select text - helper.selectAllMobile(); + cy.get('#CenterParaimg') + .should('have.class', 'selected'); - // Open mobile wizard - cy.get('#tb_actionbar_item_mobile_wizard') - .click(); - - // Open paragraph properties - cy.get('#Paragraph') - .click(); - - // Change alignment cy.get('#LeftPara') .click(); + cy.get('#LeftParaimg') + .should('have.class', 'selected'); + // Close mobile wizard cy.get('#tb_actionbar_item_mobile_wizard') .click(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
