cypress: make some tests more stable

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I61b963771c05d8f45140404c58325638b4e03b58
pull/3578/head
Rash419 2021-07-16 11:51:56 +05:30 committed by Rashesh Padia
parent 5ea11097b9
commit 506509cdcd
3 changed files with 4 additions and 4 deletions

View File

@ -337,6 +337,8 @@ describe('Top toolbar tests.', function() {
calcHelper.selectEntireSheet();
helper.waitUntilIdle('#copy-paste-container');
cy.get('#copy-paste-container table td font')
.should('have.attr', 'face', 'Alef');
});

View File

@ -114,7 +114,7 @@ describe('Comment Scrolling',function() {
//scroll down
cy.get('.leaflet-control-scroll-down').should('exist');
cy.get('.leaflet-control-scroll-down').click().wait(300);
cy.get('.leaflet-control-scroll-down').click().wait(1000);
cy.get('#PageStatus').should('contain','Slide 3 of 3');
});

View File

@ -127,9 +127,7 @@ describe('Delete Objects', function() {
.should('exist');
cy.get('.leaflet-control-buttons-disabled > .leaflet-interactive')
.trigger('pointerdown', eventOptions)
.wait(1000)
.trigger('pointerup', eventOptions);
.trigger('pointerdown', eventOptions);
cy.wait(1000);