Merge pull request #1381 from mirnasilva/percy-ci-fix
Percy tests - fix for CI failure
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user