Fix on CI - Changing to another Patient Study

This commit is contained in:
Mirna Silva 2020-01-24 15:56:25 -03:00
parent 84f087bca4
commit b812fe03d2
2 changed files with 5 additions and 10 deletions

View File

@ -43,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(16);
expect($list).to.contain('MR');
});
});
@ -132,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(16);
expect($list).to.contain('MR');
});
});

View File

@ -1,16 +1,11 @@
describe('OHIF Save Measurements', function() {
before(() => {
cy.openStudy('Fall 1');
cy.expectMinimumThumbnails(2);
cy.openStudy('MISTER^MR');
cy.waitDicomImage();
cy.expectMinimumThumbnails(5);
});
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
cy.wait(2000);