fix(cli): publish 4D preclincial mode on NPM so it can be used in the OHIF cli commands (#4557)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-11-29 11:19:23 -05:00
1 parent 96f6b0643b
commit 085590a4ca
2 files changed
+4

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ Cypress.Commands.add('openStudy', PatientName => {
Cypress.Commands.add(
'checkStudyRouteInViewer',
(StudyInstanceUID, otherParams = '', mode = '/basic-test') => {
Cypress.on('uncaught:exception', () => false);
cy.location('pathname').then($url => {
cy.log($url);
if ($url === 'blank' || !$url.includes(`${mode}/${StudyInstanceUID}${otherParams}`)) {