cypress_test/data/mobile/impress/apply_font_text.odp                           
   |binary
 cypress_test/data/mobile/impress/apply_paragraph_props_text.odp                
   |binary
 cypress_test/integration_tests/mobile/impress/apply_font_shape_spec.js         
   |  230 --------
 cypress_test/integration_tests/mobile/impress/apply_font_text_spec.js          
   |  261 ++++++++++
 
cypress_test/integration_tests/mobile/impress/apply_paragraph_props_shape_spec.js
 |  215 ++++++++
 
cypress_test/integration_tests/mobile/impress/apply_paragraph_props_text_spec.js
  |  175 ------
 6 files changed, 480 insertions(+), 401 deletions(-)

New commits:
commit baafb28002cbdfd77ef53ba0e244fec2b1c3276f
Author:     Tamás Zolnai <tamas.zol...@collabora.com>
AuthorDate: Thu Jul 16 15:34:02 2020 +0200
Commit:     Tamás Zolnai <tamas.zol...@collabora.com>
CommitDate: Thu Jul 16 16:49:13 2020 +0200

    cypress: split some bigger test suites.
    
    Change-Id: I91a129f2f2c65c5190c22a47ff467d26a8047654
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98907
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com>

diff --git a/cypress_test/data/mobile/impress/apply_font.odp 
b/cypress_test/data/mobile/impress/apply_font_shape.odp
similarity index 100%
rename from cypress_test/data/mobile/impress/apply_font.odp
rename to cypress_test/data/mobile/impress/apply_font_shape.odp
diff --git a/cypress_test/data/mobile/impress/apply_font_text.odp 
b/cypress_test/data/mobile/impress/apply_font_text.odp
new file mode 100644
index 000000000..8907786e3
Binary files /dev/null and 
b/cypress_test/data/mobile/impress/apply_font_text.odp differ
diff --git a/cypress_test/data/mobile/impress/apply_paragraph_props.odp 
b/cypress_test/data/mobile/impress/apply_paragraph_props_shape.odp
similarity index 100%
rename from cypress_test/data/mobile/impress/apply_paragraph_props.odp
rename to cypress_test/data/mobile/impress/apply_paragraph_props_shape.odp
diff --git a/cypress_test/data/mobile/impress/apply_paragraph_props_text.odp 
b/cypress_test/data/mobile/impress/apply_paragraph_props_text.odp
new file mode 100644
index 000000000..e016ad309
Binary files /dev/null and 
b/cypress_test/data/mobile/impress/apply_paragraph_props_text.odp differ
diff --git a/cypress_test/integration_tests/mobile/impress/apply_font_spec.js 
b/cypress_test/integration_tests/mobile/impress/apply_font_shape_spec.js
similarity index 52%
rename from cypress_test/integration_tests/mobile/impress/apply_font_spec.js
rename to cypress_test/integration_tests/mobile/impress/apply_font_shape_spec.js
index 388b32a54..1b5eec638 100644
--- a/cypress_test/integration_tests/mobile/impress/apply_font_spec.js
+++ b/cypress_test/integration_tests/mobile/impress/apply_font_shape_spec.js
@@ -4,8 +4,8 @@ var helper = require('../../common/helper');
 var mobileHelper = require('../../common/mobile_helper');
 var impressMobileHelper = require('./impress_mobile_helper');
 
-describe('Apply font on text and on text shape.', function() {
-       var testFileName = 'apply_font.odp';
+describe('Apply font on selected shape.', function() {
+       var testFileName = 'apply_font_shape.odp';
 
        beforeEach(function() {
                mobileHelper.beforeAllMobile(testFileName, 'impress');
@@ -257,230 +257,4 @@ describe('Apply font on text and on text shape.', 
function() {
                cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
                        .should('have.attr', 'font-size', '635px');
        });
-
-       it('Apply bold on selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               helper.clickOnIdle('#Bold');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-weight', '700');
-       });
-
-       it('Apply italic on selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               helper.clickOnIdle('#Italic');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-style', 'italic');
-       });
-
-       it('Apply underline on selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               helper.clickOnIdle('#Underline');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'text-decoration', 'underline');
-       });
-
-       it('Apply strikeout on selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               helper.clickOnIdle('#Strikeout');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'text-decoration', 'line-through');
-       });
-
-       it('Apply shadowed on selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               helper.clickOnIdle('#Shadowed');
-
-               triggerNewSVG();
-
-               cy.wait(400);
-               // TODO: shadowed property is not in the SVG
-       });
-
-       it('Change font name of selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               helper.clickOnIdle('#fontnamecombobox');
-
-               helper.clickOnIdle('.ui-combobox-text', 'Linux Libertine G');
-
-               helper.clickOnIdle('#mobile-wizard-back');
-
-               cy.get('#fontnamecombobox .ui-header-right .entry-value')
-                       .should('have.text', 'Linux Libertine G');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-family', 'Linux Libertine 
G');
-       });
-
-       it('Change font size of selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-size', '635px');
-
-               helper.clickOnIdle('#fontsizecombobox');
-
-               helper.clickOnIdle('.mobile-wizard.ui-combobox-text', '24');
-
-               helper.clickOnIdle('#mobile-wizard-back');
-
-               cy.get('#fontsizecombobox .ui-header-right .entry-value')
-                       .should('have.text', '24');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-size', '847px');
-       });
-
-       it('Grow font size of selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-size', '635px');
-
-               helper.clickOnIdle('#Grow');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-size', '705px');
-       });
-
-       it('Shrink font size of selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-size', '635px');
-
-               helper.clickOnIdle('#Shrink');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-size', '564px');
-       });
-
-       it('Apply text color on selected text.', function() {
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextPosition 
tspan')
-                       .should('have.attr', 'fill', 'rgb(0,0,0)');
-
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('not.have.attr', 'font-color');
-
-               helper.clickOnIdle('#Color');
-
-               mobileHelper.selectFromColorPalette(0, 5, 2);
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextPosition 
tspan')
-                       .should('have.attr', 'fill', 'rgb(106,168,79)');
-       });
-
-       it('Apply highlight on selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               helper.clickOnIdle('#CharBackColor');
-
-               mobileHelper.selectFromColorPalette(1, 2, 2);
-
-               cy.get('#CharBackColor .color-sample-selected')
-                       .should('have.attr', 'style', 'background-color: 
rgb(204, 0, 0);');
-
-               triggerNewSVG();
-
-               // TODO: highlight color is not in the SVG
-               // At least check the mobile wizard's state
-               cy.wait(400);
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               cy.get('#CharBackColor .color-sample-selected')
-                       .should('have.attr', 'style', 'background-color: 
rgb(204, 0, 0);');
-       });
-
-       it('Apply superscript on selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextPosition')
-                       .should('have.attr', 'y', '3495');
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-size', '635px');
-
-               helper.clickOnIdle('#SuperScript');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextPosition')
-                       .should('have.attr', 'y', '3285');
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-size', '368px');
-       });
-
-       it('Apply subscript on selected text.', function() {
-               impressMobileHelper.selectTextOfShape();
-
-               openTextPropertiesPanel();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextPosition')
-                       .should('have.attr', 'y', '3495');
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-size', '635px');
-
-               helper.clickOnIdle('#SubScript');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextPosition')
-                       .should('have.attr', 'y', '3705');
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
-                       .should('have.attr', 'font-size', '368px');
-       });
 });
diff --git 
a/cypress_test/integration_tests/mobile/impress/apply_font_text_spec.js 
b/cypress_test/integration_tests/mobile/impress/apply_font_text_spec.js
new file mode 100644
index 000000000..55e4fd469
--- /dev/null
+++ b/cypress_test/integration_tests/mobile/impress/apply_font_text_spec.js
@@ -0,0 +1,261 @@
+/* global describe it cy beforeEach require afterEach*/
+
+var helper = require('../../common/helper');
+var mobileHelper = require('../../common/mobile_helper');
+var impressMobileHelper = require('./impress_mobile_helper');
+
+describe('Apply font on selected text.', function() {
+       var testFileName = 'apply_font_text.odp';
+
+       beforeEach(function() {
+               mobileHelper.beforeAllMobile(testFileName, 'impress');
+
+               mobileHelper.enableEditingMobile();
+
+               impressMobileHelper.selectTextShapeInTheCenter();
+       });
+
+       afterEach(function() {
+               helper.afterAll(testFileName);
+       });
+
+       function triggerNewSVG() {
+               mobileHelper.closeMobileWizard();
+               impressMobileHelper.triggerNewSVGForShapeInTheCenter();
+       }
+
+       function openTextPropertiesPanel() {
+               mobileHelper.openMobileWizard();
+
+               helper.clickOnIdle('#TextPropertyPanel');
+
+               cy.get('.ui-content.level-0.mobile-wizard')
+                       .should('be.visible');
+       }
+
+       it('Apply bold on selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               helper.clickOnIdle('#Bold');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-weight', '700');
+       });
+
+       it('Apply italic on selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               helper.clickOnIdle('#Italic');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-style', 'italic');
+       });
+
+       it('Apply underline on selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               helper.clickOnIdle('#Underline');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'text-decoration', 'underline');
+       });
+
+       it('Apply strikeout on selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               helper.clickOnIdle('#Strikeout');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'text-decoration', 'line-through');
+       });
+
+       it('Apply shadowed on selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               helper.clickOnIdle('#Shadowed');
+
+               triggerNewSVG();
+
+               cy.wait(400);
+               // TODO: shadowed property is not in the SVG
+       });
+
+       it('Change font name of selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               helper.clickOnIdle('#fontnamecombobox');
+
+               helper.clickOnIdle('.ui-combobox-text', 'Linux Libertine G');
+
+               helper.clickOnIdle('#mobile-wizard-back');
+
+               cy.get('#fontnamecombobox .ui-header-right .entry-value')
+                       .should('have.text', 'Linux Libertine G');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-family', 'Linux Libertine 
G');
+       });
+
+       it('Change font size of selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-size', '635px');
+
+               helper.clickOnIdle('#fontsizecombobox');
+
+               helper.clickOnIdle('.mobile-wizard.ui-combobox-text', '24');
+
+               helper.clickOnIdle('#mobile-wizard-back');
+
+               cy.get('#fontsizecombobox .ui-header-right .entry-value')
+                       .should('have.text', '24');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-size', '847px');
+       });
+
+       it('Grow font size of selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-size', '635px');
+
+               helper.clickOnIdle('#Grow');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-size', '705px');
+       });
+
+       it('Shrink font size of selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-size', '635px');
+
+               helper.clickOnIdle('#Shrink');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-size', '564px');
+       });
+
+       it('Apply text color on selected text.', function() {
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextPosition 
tspan')
+                       .should('have.attr', 'fill', 'rgb(0,0,0)');
+
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('not.have.attr', 'font-color');
+
+               helper.clickOnIdle('#Color');
+
+               mobileHelper.selectFromColorPalette(0, 5, 2);
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextPosition 
tspan')
+                       .should('have.attr', 'fill', 'rgb(106,168,79)');
+       });
+
+       it('Apply highlight on selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               helper.clickOnIdle('#CharBackColor');
+
+               mobileHelper.selectFromColorPalette(1, 2, 2);
+
+               cy.get('#CharBackColor .color-sample-selected')
+                       .should('have.attr', 'style', 'background-color: 
rgb(204, 0, 0);');
+
+               triggerNewSVG();
+
+               // TODO: highlight color is not in the SVG
+               // At least check the mobile wizard's state
+               cy.wait(400);
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               cy.get('#CharBackColor .color-sample-selected')
+                       .should('have.attr', 'style', 'background-color: 
rgb(204, 0, 0);');
+       });
+
+       it('Apply superscript on selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextPosition')
+                       .should('have.attr', 'y', '3495');
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-size', '635px');
+
+               helper.clickOnIdle('#SuperScript');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextPosition')
+                       .should('have.attr', 'y', '3285');
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-size', '368px');
+       });
+
+       it('Apply subscript on selected text.', function() {
+               impressMobileHelper.selectTextOfShape();
+
+               openTextPropertiesPanel();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextPosition')
+                       .should('have.attr', 'y', '3495');
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-size', '635px');
+
+               helper.clickOnIdle('#SubScript');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextPosition')
+                       .should('have.attr', 'y', '3705');
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph')
+                       .should('have.attr', 'font-size', '368px');
+       });
+});
diff --git 
a/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_shape_spec.js
 
b/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_shape_spec.js
new file mode 100644
index 000000000..e3e5fb479
--- /dev/null
+++ 
b/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_shape_spec.js
@@ -0,0 +1,215 @@
+/* global describe it cy beforeEach require afterEach*/
+
+var helper = require('../../common/helper');
+var mobileHelper = require('../../common/mobile_helper');
+var impressMobileHelper = require('./impress_mobile_helper');
+
+describe('Apply paragraph properties on selected shape.', function() {
+       var testFileName = 'apply_paragraph_props_shape.odp';
+
+       beforeEach(function() {
+               mobileHelper.beforeAllMobile(testFileName, 'impress');
+
+               mobileHelper.enableEditingMobile();
+
+               impressMobileHelper.selectTextShapeInTheCenter();
+       });
+
+       afterEach(function() {
+               helper.afterAll(testFileName);
+       });
+
+       function triggerNewSVG() {
+               mobileHelper.closeMobileWizard();
+               impressMobileHelper.triggerNewSVGForShapeInTheCenter();
+       }
+
+       function openParagraphPropertiesPanel() {
+               mobileHelper.openMobileWizard();
+
+               helper.clickOnIdle('#ParaPropertyPanel');
+
+               cy.get('#ParaLeftToRight')
+                       .should('be.visible');
+       }
+
+       function openListsPropertiesPanel() {
+               mobileHelper.openMobileWizard();
+
+               helper.clickOnIdle('#ListsPropertyPanel');
+
+               cy.get('#DefaultBullet')
+                       .should('be.visible');
+       }
+
+       it('Apply left/right alignment on text shape.', function() {
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'x', '1400');
+
+               // Set right alignment first
+               openParagraphPropertiesPanel();
+
+               helper.clickOnIdle('#RightPara');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'x', '23586');
+
+               // Set left alignment
+               openParagraphPropertiesPanel();
+
+               helper.clickOnIdle('#LeftPara');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'x', '1400');
+       });
+
+       it('Apply center alignment on text shape.', function() {
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'x', '1400');
+
+               openParagraphPropertiesPanel();
+
+               helper.clickOnIdle('#CenterPara');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'x', '12493');
+       });
+
+       it('Apply justified alignment on text shape.', function() {
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'x', '1400');
+
+               // Set right alignment first
+               openParagraphPropertiesPanel();
+
+               helper.clickOnIdle('#RightPara');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'x', '23586');
+
+               // Then set justified alignment
+               openParagraphPropertiesPanel();
+
+               helper.clickOnIdle('#JustifyPara');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'x', '1400');
+       });
+
+       it('Set top/bottom alignment on text shape.', function() {
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'y', '4834');
+
+               // Set bottom alignment first
+               openParagraphPropertiesPanel();
+
+               helper.clickOnIdle('#CellVertBottom');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'y', '10811');
+
+               // Then set top alignment
+               openParagraphPropertiesPanel();
+
+               helper.clickOnIdle('#CellVertTop');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'y', '4834');
+       });
+
+       it('Apply center vertical alignment on text shape.', function() {
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'y', '4834');
+
+               openParagraphPropertiesPanel();
+
+               helper.clickOnIdle('#CellVertCenter');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
+                       .should('have.attr', 'y', '7823');
+       });
+
+       it('Apply default bulleting on text shape.', function() {
+               // We have no bulleting by default
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .BulletChars')
+                       .should('not.exist');
+
+               openListsPropertiesPanel();
+
+               helper.clickOnIdle('#DefaultBullet');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .BulletChars')
+                       .should('exist');
+       });
+
+       it('Apply default numbering on text shape.', function() {
+               // We have no bulleting by default
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextShape 
tspan')
+                       .should('not.have.attr', 'ooo:numbering-type');
+
+               openListsPropertiesPanel();
+
+               helper.clickOnIdle('#DefaultNumbering');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextShape 
tspan')
+                       .should('have.attr', 'ooo:numbering-type', 
'number-style');
+       });
+
+       it('Apply spacing above on text shape.', function() {
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph:nth-of-type(2) tspan')
+                       .should('have.attr', 'y', '6600');
+
+               openParagraphPropertiesPanel();
+
+               cy.get('#aboveparaspacing input')
+                       .clear()
+                       .type('2{enter}');
+
+               cy.get('#aboveparaspacing input')
+                       .should('have.attr', 'value', '2');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph:nth-of-type(2) tspan')
+                       .should('have.attr', 'y', '11180');
+       });
+
+       it('Apply spacing below on text shape.', function() {
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph:nth-of-type(2) tspan')
+                       .should('have.attr', 'y', '6600');
+
+               openParagraphPropertiesPanel();
+
+               cy.get('#belowparaspacing input')
+                       .clear()
+                       .type('2{enter}');
+
+               cy.get('#belowparaspacing input')
+                       .should('have.attr', 'value', '2');
+
+               triggerNewSVG();
+
+               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph:nth-of-type(2) tspan')
+                       .should('have.attr', 'y', '11180');
+       });
+});
diff --git 
a/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_spec.js 
b/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_text_spec.js
similarity index 65%
rename from 
cypress_test/integration_tests/mobile/impress/apply_paragraph_props_spec.js
rename to 
cypress_test/integration_tests/mobile/impress/apply_paragraph_props_text_spec.js
index b6539f2d2..30cad4134 100644
--- 
a/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_spec.js
+++ 
b/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_text_spec.js
@@ -4,8 +4,8 @@ var helper = require('../../common/helper');
 var mobileHelper = require('../../common/mobile_helper');
 var impressMobileHelper = require('./impress_mobile_helper');
 
-describe('Apply paragraph properties.', function() {
-       var testFileName = 'apply_paragraph_props.odp';
+describe('Apply paragraph properties on selected text.', function() {
+       var testFileName = 'apply_paragraph_props_text.odp';
 
        beforeEach(function() {
                mobileHelper.beforeAllMobile(testFileName, 'impress');
@@ -42,177 +42,6 @@ describe('Apply paragraph properties.', function() {
                        .should('be.visible');
        }
 
-       it('Apply left/right alignment on text shape.', function() {
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'x', '1400');
-
-               // Set right alignment first
-               openParagraphPropertiesPanel();
-
-               helper.clickOnIdle('#RightPara');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'x', '23586');
-
-               // Set left alignment
-               openParagraphPropertiesPanel();
-
-               helper.clickOnIdle('#LeftPara');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'x', '1400');
-       });
-
-       it('Apply center alignment on text shape.', function() {
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'x', '1400');
-
-               openParagraphPropertiesPanel();
-
-               helper.clickOnIdle('#CenterPara');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'x', '12493');
-       });
-
-       it('Apply justified alignment on text shape.', function() {
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'x', '1400');
-
-               // Set right alignment first
-               openParagraphPropertiesPanel();
-
-               helper.clickOnIdle('#RightPara');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'x', '23586');
-
-               // Then set justified alignment
-               openParagraphPropertiesPanel();
-
-               helper.clickOnIdle('#JustifyPara');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'x', '1400');
-       });
-
-       it('Set top/bottom alignment on text shape.', function() {
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'y', '4834');
-
-               // Set bottom alignment first
-               openParagraphPropertiesPanel();
-
-               helper.clickOnIdle('#CellVertBottom');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'y', '10811');
-
-               // Then set top alignment
-               openParagraphPropertiesPanel();
-
-               helper.clickOnIdle('#CellVertTop');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'y', '4834');
-       });
-
-       it('Apply center vertical alignment on text shape.', function() {
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'y', '4834');
-
-               openParagraphPropertiesPanel();
-
-               helper.clickOnIdle('#CellVertCenter');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
-                       .should('have.attr', 'y', '7823');
-       });
-
-       it('Apply default bulleting on text shape.', function() {
-               // We have no bulleting by default
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .BulletChars')
-                       .should('not.exist');
-
-               openListsPropertiesPanel();
-
-               helper.clickOnIdle('#DefaultBullet');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .BulletChars')
-                       .should('exist');
-       });
-
-       it('Apply default numbering on text shape.', function() {
-               // We have no bulleting by default
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextShape 
tspan')
-                       .should('not.have.attr', 'ooo:numbering-type');
-
-               openListsPropertiesPanel();
-
-               helper.clickOnIdle('#DefaultNumbering');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextShape 
tspan')
-                       .should('have.attr', 'ooo:numbering-type', 
'number-style');
-       });
-
-       it('Apply spacing above on text shape.', function() {
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph:nth-of-type(2) tspan')
-                       .should('have.attr', 'y', '6600');
-
-               openParagraphPropertiesPanel();
-
-               cy.get('#aboveparaspacing input')
-                       .clear()
-                       .type('2{enter}');
-
-               cy.get('#aboveparaspacing input')
-                       .should('have.attr', 'value', '2');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph:nth-of-type(2) tspan')
-                       .should('have.attr', 'y', '11180');
-       });
-
-       it('Apply spacing below on text shape.', function() {
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph:nth-of-type(2) tspan')
-                       .should('have.attr', 'y', '6600');
-
-               openParagraphPropertiesPanel();
-
-               cy.get('#belowparaspacing input')
-                       .clear()
-                       .type('2{enter}');
-
-               cy.get('#belowparaspacing input')
-                       .should('have.attr', 'value', '2');
-
-               triggerNewSVG();
-
-               cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph:nth-of-type(2) tspan')
-                       .should('have.attr', 'y', '11180');
-       });
-
        it('Apply left/right alignment on selected text.', function() {
                cy.get('.leaflet-pane.leaflet-overlay-pane g.Page 
.TextParagraph .TextPosition')
                        .should('have.attr', 'x', '1400');
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to