[Libreoffice-commits] online.git: cypress_test/integration_tests cypress_test/plugins
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jun 10 15:21:57 UTC 2020
cypress_test/integration_tests/mobile/impress/apply_font_spec.js | 28 +++++-----
cypress_test/plugins/blacklists.js | 15 ++++-
2 files changed, 26 insertions(+), 17 deletions(-)
New commits:
commit 0e38bc60174a33903e110ea79b036bd4c02b16c6
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Wed Jun 10 15:41:18 2020 +0200
Commit: Tamás Zolnai <tamas.zolnai at collabora.com>
CommitDate: Wed Jun 10 17:21:38 2020 +0200
cypress: update impress/apply_font_spec.js test.
Change-Id: Ie305e3f29115ab88c019445e61a9961b7a952904
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/96029
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>
diff --git a/cypress_test/integration_tests/mobile/impress/apply_font_spec.js b/cypress_test/integration_tests/mobile/impress/apply_font_spec.js
index bc407e0e6..8412faef7 100644
--- a/cypress_test/integration_tests/mobile/impress/apply_font_spec.js
+++ b/cypress_test/integration_tests/mobile/impress/apply_font_spec.js
@@ -280,7 +280,7 @@ describe('Apply font on text and on text shape.', function() {
it('Apply bold on selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('#Bold')
.click();
@@ -294,7 +294,7 @@ describe('Apply font on text and on text shape.', function() {
it('Apply italic on selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('#Italic')
.click();
@@ -308,7 +308,7 @@ describe('Apply font on text and on text shape.', function() {
it('Apply underline on selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('#Underline')
.click();
@@ -322,7 +322,7 @@ describe('Apply font on text and on text shape.', function() {
it('Apply strikeout on selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('#Strikeout')
.click();
@@ -336,7 +336,7 @@ describe('Apply font on text and on text shape.', function() {
it('Apply shadowed on selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('#Shadowed')
.click();
@@ -350,7 +350,7 @@ describe('Apply font on text and on text shape.', function() {
it('Change font name of selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('#fontnamecombobox')
.click();
@@ -373,7 +373,7 @@ describe('Apply font on text and on text shape.', function() {
it('Change font size of selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextParagraph')
.should('have.attr', 'font-size', '635px');
@@ -399,7 +399,7 @@ describe('Apply font on text and on text shape.', function() {
it('Grow font size of selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextParagraph')
.should('have.attr', 'font-size', '635px');
@@ -416,7 +416,7 @@ describe('Apply font on text and on text shape.', function() {
it('Shrink font size of selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextParagraph')
.should('have.attr', 'font-size', '635px');
@@ -436,7 +436,7 @@ describe('Apply font on text and on text shape.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextParagraph')
.should('not.have.attr', 'font-color');
@@ -455,7 +455,7 @@ describe('Apply font on text and on text shape.', function() {
it('Apply highlight on selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('#CharBackColor')
.click();
@@ -472,7 +472,7 @@ describe('Apply font on text and on text shape.', function() {
cy.wait(400);
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('#CharBackColor .color-sample-selected')
.should('have.attr', 'style', 'background-color: rgb(204, 0, 0);');
@@ -481,7 +481,7 @@ describe('Apply font on text and on text shape.', function() {
it('Apply superscript on selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextPosition')
.should('have.attr', 'y', '3495');
@@ -502,7 +502,7 @@ describe('Apply font on text and on text shape.', function() {
it('Apply subscript on selected text.', function() {
impressMobileHelper.selectTextOfShape();
- mobileHelper.openMobileWizard();
+ openTextPropertiesPanel();
cy.get('.leaflet-pane.leaflet-overlay-pane g.Page .TextPosition')
.should('have.attr', 'y', '3495');
diff --git a/cypress_test/plugins/blacklists.js b/cypress_test/plugins/blacklists.js
index 20f303b6f..744d3db44 100644
--- a/cypress_test/plugins/blacklists.js
+++ b/cypress_test/plugins/blacklists.js
@@ -58,15 +58,24 @@ var testBlackLists = {
]
],
['mobile/impress/apply_font_spec.js',
+ [
+ 'Change font size of selected text.',
+ 'Change font size of text shape.'
+ ]
+ ],
+ ['mobile/impress/apply_paragraph_props_spec.js',
[]
],
- ['mobile/impress/apply_font_spec.js',
+ ['mobile/writer/table_properties_spec.js',
[]
],
- ['mobile/impress/apply_paragraph_props_spec.js',
+ ],
+
+ 'cp-6-2': [
+ ['mobile/impress/apply_font_spec.js',
[]
],
- ['mobile/writer/table_properties_spec.js',
+ ['mobile/impress/apply_paragraph_props_spec.js',
[]
],
]
More information about the Libreoffice-commits
mailing list