Fix for modalities search result
This commit is contained in:
parent
d70eae3eb0
commit
9a2cf70504
@ -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() {
|
describe('OHIF Study List', function() {
|
||||||
context('Desktop resolution', function() {
|
context('Desktop resolution', function() {
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
@ -41,7 +43,7 @@ describe('OHIF Study List', function() {
|
|||||||
//Wait result list to be displayed
|
//Wait result list to be displayed
|
||||||
cy.waitStudyList();
|
cy.waitStudyList();
|
||||||
cy.get('@searchResult').should($list => {
|
cy.get('@searchResult').should($list => {
|
||||||
expect($list.length).to.be.eq(17);
|
expect($list.length).to.be.eq(18);
|
||||||
expect($list).to.contain('MR');
|
expect($list).to.contain('MR');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -130,7 +132,7 @@ describe('OHIF Study List', function() {
|
|||||||
//Wait result list to be displayed
|
//Wait result list to be displayed
|
||||||
cy.waitStudyList();
|
cy.waitStudyList();
|
||||||
cy.get('@searchResult').should($list => {
|
cy.get('@searchResult').should($list => {
|
||||||
expect($list.length).to.be.eq(17);
|
expect($list.length).to.be.eq(18);
|
||||||
expect($list).to.contain('MR');
|
expect($list).to.contain('MR');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user