cypress: NB: update tests to click on arrow to open color picker

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I57cd50a532c0fdb5a6f0ebebf77e97c9e8e990e3
pull/5501/head
Rash419 2022-07-05 20:28:59 +05:30 committed by Rashesh Padia
parent f445812d5e
commit 5ddaab1770
3 changed files with 7 additions and 5 deletions

View File

@ -300,6 +300,8 @@ describe('Table operations', function() {
cy.get('.leaflet-marker-icon.table-row-resize-marker')
.should('have.length', 3);
helper.waitUntilIdle('.unospan-Table.unoSplitCell');
selectOptionNotebookbar('.unospan-Table.unoSplitCell');
cy.get('.lokdialog_canvas').should('exist');

View File

@ -189,7 +189,7 @@ describe('Change shape properties via mobile wizard.', function() {
it('Vertical mirroring', function() {
openPosSizePanel();
helper.clickOnIdle('#FlipVertical');
helper.clickOnIdle('.mobile-wizard.unoFlipVertical');
cy.wait(1000);
const matcher = new TriangleCoordinatesMatcher(defaultStartPoint, defaultBase, defaultAltitude, false /* horiz mirroring */, true /* vert mirroring */);
@ -200,7 +200,7 @@ describe('Change shape properties via mobile wizard.', function() {
it('Horizontal mirroring', function() {
openPosSizePanel();
helper.clickOnIdle('#FlipHorizontal');
helper.clickOnIdle('.mobile-wizard.unoFlipHorizontal');
triggerNewSVG();
cy.wait(1000);

View File

@ -1,5 +1,5 @@
module.exports.list = {
fontColor: ['#FontColor', '#tb_editbar_item_fontcolor'],
fontColor: ['#Home #FontColor .arrowbackground', '#tb_editbar_item_fontcolor'],
fontName: ['#fontnamecombobox', '#tb_editbar_item_fonts'],
bold: ['#Bold', '#tb_editbar_item_bold'],
italic: ['#Italic', '#tb_editbar_item_italic'],
@ -29,7 +29,7 @@ module.exports.list = {
insertSymbol: ['#CharmapControl', '#tb_editbar_item_insertsymbol'],
formatBrush: ['#FormatPaintbrush', '#tb_editbar_item_formatpaintbrush'],
sidebar: ['.unospan-optionstoolboxdown.unoSidebar', '#tb_editbar_item_sidebar'],
backColor: ['#BackColor', '#tb_editbar_item_backcolor'],
backColor: ['#Home #BackColor .arrowbackground', '#tb_editbar_item_backcolor'],
borderStyle: ['#SetBorderStyle', '#tb_editbar_item_setborderstyle'],
backgroundColor: ['#BackgroundColor','#tb_editbar_item_backgroundcolor'],
backgroundColor: ['#Home #BackgroundColor .arrowbackground','#tb_editbar_item_backgroundcolor'],
};