cypress: update row / column break related tests in calc.

Change-Id: I7f2ab00e01b7d4d86c192768e7194a5ba41ef04c
This commit is contained in:
Tamás Zolnai 2020-10-13 13:17:18 +02:00 committed by Tamás Zolnai
parent a9edbb3d6b
commit 616e42f360

View file

@ -408,14 +408,13 @@ describe('Trigger hamburger menu options.', function() {
});
});
// FIXME temporarily disabled, does not work with CanvasTileLayer
it.skip('Sheet: insert / delete row break.', function() {
it('Sheet: insert / delete row break.', function() {
before('hamburger_menu_sheet.ods');
// Select B2 cell
calcHelper.clickOnFirstCell();
cy.get('.spreadsheet-cell-resize-marker[style=\'transform: translate3d(77px, 11px, 0px); z-index: 11;\']')
cy.get('.spreadsheet-cell-resize-marker[style=\'visibility: visible; transform: translate3d(77px, 11px, 0px); z-index: 11;\']')
.then(function(marker) {
expect(marker).to.have.lengthOf(1);
var XPos = marker[0].getBoundingClientRect().right + 2;
@ -438,14 +437,13 @@ describe('Trigger hamburger menu options.', function() {
cy.wait(500);
});
// FIXME temporarily disabled, does not work with CanvasTileLayer
it.skip('Sheet: insert / delete column break.', function() {
it('Sheet: insert / delete column break.', function() {
before('hamburger_menu_sheet.ods');
// Select B2 cell
calcHelper.clickOnFirstCell();
cy.get('.spreadsheet-cell-resize-marker[style=\'transform: translate3d(77px, 11px, 0px); z-index: 11;\']')
cy.get('.spreadsheet-cell-resize-marker[style=\'visibility: visible; transform: translate3d(77px, 11px, 0px); z-index: 11;\']')
.then(function(marker) {
expect(marker).to.have.lengthOf(1);
var XPos = marker[0].getBoundingClientRect().right + 2;