cypress: make some tests more stable
Signed-off-by: Rash419 <rashesh.padia@collabora.com> Change-Id: I61b963771c05d8f45140404c58325638b4e03b58pull/3578/head
parent
5ea11097b9
commit
506509cdcd
|
@ -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');
|
||||
});
|
||||
|
|
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue