Fix on CI - Changing to another Patient Study
This commit is contained in:
parent
84f087bca4
commit
b812fe03d2
@ -43,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(16);
|
||||||
expect($list).to.contain('MR');
|
expect($list).to.contain('MR');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -132,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(16);
|
||||||
expect($list).to.contain('MR');
|
expect($list).to.contain('MR');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,16 +1,11 @@
|
|||||||
describe('OHIF Save Measurements', function() {
|
describe('OHIF Save Measurements', function() {
|
||||||
before(() => {
|
before(() => {
|
||||||
cy.openStudy('Fall 1');
|
cy.openStudy('MISTER^MR');
|
||||||
cy.expectMinimumThumbnails(2);
|
cy.waitDicomImage();
|
||||||
|
cy.expectMinimumThumbnails(5);
|
||||||
});
|
});
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
// Drags Study thumbnail into viewport
|
|
||||||
cy.get('[data-cy="thumbnail-list"]')
|
|
||||||
.contains('Rheuma')
|
|
||||||
.scrollIntoView()
|
|
||||||
.drag('.viewport-drop-target');
|
|
||||||
|
|
||||||
// Wait image to load on viewport
|
// Wait image to load on viewport
|
||||||
cy.wait(2000);
|
cy.wait(2000);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user