Merge pull request #1393 from mirnasilva/fix_NewPatientSaveMeasurement
Fix on CI - Choosing another Patient Study
This commit is contained in:
2 files changed
+5
-10
No files matched your search
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user