Fix for VTK test
This commit is contained in:
parent
910d5c65d5
commit
c74c80bb6f
@ -28,7 +28,10 @@ describe('Visual Regression - OHIF VTK Extension', () => {
|
||||
|
||||
afterEach(() => {
|
||||
//Select Exit 2D MPR button
|
||||
cy.get('[data-cy="exit 2d mpr"]').click();
|
||||
cy.get('[data-cy="exit 2d mpr"]').should($btn => {
|
||||
expect($btn).to.be.visible;
|
||||
$btn.click();
|
||||
});
|
||||
//Select 2D MPR button
|
||||
cy.get('[data-cy="2d mpr"]').click();
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user