test: Improviment on VTK beforeEach hook (#1057)
This commit is contained in:
parent
e4cfae7ad9
commit
8d49b31d03
@ -17,7 +17,11 @@ describe('OHIF VTK Extension', () => {
|
||||
cy.get('.PluginSwitch > .toolbar-button')
|
||||
.as('twodmprBtn')
|
||||
.should('be.visible')
|
||||
.click();
|
||||
.then(btn => {
|
||||
if (!btn.text().includes('Exit')) {
|
||||
btn.click();
|
||||
}
|
||||
});
|
||||
|
||||
cy.initVTKToolsAliases();
|
||||
cy.wait(1000);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user