fix for CI failure

This commit is contained in:
Mirna Silva 2020-01-17 14:31:53 -03:00
parent 7ab2e3e60d
commit dfdf46dbdd

View File

@ -23,10 +23,12 @@ describe('Visual Regression - OHIF VTK Extension', () => {
beforeEach(() => { beforeEach(() => {
cy.initVTKToolsAliases(); cy.initVTKToolsAliases();
cy.wait(100); //Wait toolbar to finish loading cy.wait(1000); //Wait toolbar to finish loading
}); });
afterEach(() => { afterEach(() => {
cy.wait(5000); //wait screen loads back after screenshot
//Select Exit 2D MPR button //Select Exit 2D MPR button
cy.get('[data-cy="exit 2d mpr"]').should($btn => { cy.get('[data-cy="exit 2d mpr"]').should($btn => {
expect($btn).to.be.visible; expect($btn).to.be.visible;