summaryrefslogtreecommitdiffstats
path: root/cypress_test
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2021-02-22 16:06:46 +0100
committerTamás Zolnai <zolnaitamas2000@gmail.com>2021-03-01 11:47:41 +0100
commita268ce1c142955d8fb6b34024adb8c32b48e3d86 (patch)
treebb97e444de2ea5de622518af7e4e1577e3e9eb41 /cypress_test
parentBump package version to 6.4.6-6 (diff)
downloadonline-a268ce1c142955d8fb6b34024adb8c32b48e3d86.tar.gz
online-a268ce1c142955d8fb6b34024adb8c32b48e3d86.zip
cypress: update shape related tests: TextShape -> SVGTextShape.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com> Change-Id: I67d09062313de939efb6bf2a83ad6fbf4fb7313c (cherry picked from commit 50101968e20f32bb37698228a53f4c93cd0b6c3f)
Diffstat (limited to 'cypress_test')
-rw-r--r--cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js8
-rw-r--r--cypress_test/integration_tests/mobile/impress/apply_paragraph_props_shape_spec.js4
-rw-r--r--cypress_test/integration_tests/mobile/impress/apply_paragraph_props_text_spec.js4
3 files changed, 8 insertions, 8 deletions
diff --git a/cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js b/cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js
index 675269d5a0..5bcfc75402 100644
--- a/cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js
+++ b/cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js
@@ -71,7 +71,7 @@ describe('Top toolbar tests.', function() {
impressHelper.triggerNewSVGForShapeInTheCenter();
- cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextShape .TextParagraph .TextPosition tspan')
+ cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .SVGTextShape .TextParagraph .TextPosition tspan')
.should('have.attr', 'fill', 'rgb(255,1,27)');
});
@@ -97,8 +97,8 @@ describe('Top toolbar tests.', function() {
desktopHelper.selectFromListbox('Liberation Mono');
impressHelper.triggerNewSVGForShapeInTheCenter();
-
- cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextShape .TextParagraph')
+
+ cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .SVGTextShape .TextParagraph')
.should('have.attr', 'font-family', 'Liberation Mono');
});
@@ -111,7 +111,7 @@ describe('Top toolbar tests.', function() {
impressHelper.triggerNewSVGForShapeInTheCenter();
- cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextShape .TextParagraph')
+ cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .SVGTextShape .TextParagraph')
.should('have.attr', 'font-size', '776px');
});
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
index 69204081da..d5abf6f567 100644
--- 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
@@ -162,7 +162,7 @@ describe('Apply paragraph properties on selected shape.', function() {
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')
+ cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .SVGTextShape tspan')
.should('not.have.attr', 'ooo:numbering-type');
openListsPropertiesPanel();
@@ -171,7 +171,7 @@ describe('Apply paragraph properties on selected shape.', function() {
triggerNewSVG();
- cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextShape tspan')
+ cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .SVGTextShape tspan')
.should('have.attr', 'ooo:numbering-type', 'number-style');
});
diff --git a/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_text_spec.js b/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_text_spec.js
index ec658ec888..4b7bdd6b46 100644
--- a/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_text_spec.js
+++ b/cypress_test/integration_tests/mobile/impress/apply_paragraph_props_text_spec.js
@@ -180,7 +180,7 @@ describe('Apply paragraph properties on selected text.', function() {
it('Apply default numbering on selected text.', function() {
// We have no bulleting by default
- cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextShape tspan')
+ cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .SVGTextShape tspan')
.should('not.have.attr', 'ooo:numbering-type');
impressHelper.selectTextOfShape();
@@ -191,7 +191,7 @@ describe('Apply paragraph properties on selected text.', function() {
triggerNewSVG();
- cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextShape tspan')
+ cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .SVGTextShape tspan')
.should('have.attr', 'ooo:numbering-type', 'number-style');
});