Merge pull request #1381 from mirnasilva/percy-ci-fix

Percy tests - fix for CI failure
This commit is contained in:
Mirna Silva 2020-01-17 14:46:43 -03:00 committed by GitHub
commit c19eceeede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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