From 9a2cf7050418befac7ff5eabc4c5aa6531b44e99 Mon Sep 17 00:00:00 2001 From: Mirna Silva Date: Fri, 8 Nov 2019 08:47:32 -0300 Subject: [PATCH] Fix for modalities search result --- .../viewer/cypress/integration/common/OHIFStudyList.spec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platform/viewer/cypress/integration/common/OHIFStudyList.spec.js b/platform/viewer/cypress/integration/common/OHIFStudyList.spec.js index e91c8d443..804f4ec32 100644 --- a/platform/viewer/cypress/integration/common/OHIFStudyList.spec.js +++ b/platform/viewer/cypress/integration/common/OHIFStudyList.spec.js @@ -1,3 +1,5 @@ +//We are keeping the hardcoded results values for the study list tests +//this is intended to be running in a controled docker environment with test data. describe('OHIF Study List', function() { context('Desktop resolution', function() { beforeEach(function() { @@ -41,7 +43,7 @@ describe('OHIF Study List', function() { //Wait result list to be displayed cy.waitStudyList(); cy.get('@searchResult').should($list => { - expect($list.length).to.be.eq(17); + expect($list.length).to.be.eq(18); expect($list).to.contain('MR'); }); }); @@ -130,7 +132,7 @@ describe('OHIF Study List', function() { //Wait result list to be displayed cy.waitStudyList(); cy.get('@searchResult').should($list => { - expect($list.length).to.be.eq(17); + expect($list.length).to.be.eq(18); expect($list).to.contain('MR'); }); });