* fix(DICOM PDF and Video) - added retrieve.directURL for local DICOM load data source; it returns a data URL - fixed various checks for video using transfer syntaxes and SOP class UID with number of frames - added call to 'rendered' endpoint for those data sources that support it; others get BulkDataURI * Added DOC (PDF) and OT (for video in particular) to list of non-image thumbnail modalities. * Fixed broken e2e tests.
22 lines
664 B
JavaScript
22 lines
664 B
JavaScript
describe('OHIF Video Display', function() {
|
|
beforeEach(function() {
|
|
cy.openStudyInViewer('2.25.96975534054447904995905761963464388233');
|
|
cy.resetViewport().wait(50);
|
|
});
|
|
|
|
it('checks if series thumbnails are being displayed', function() {
|
|
cy.get('[data-cy="study-browser-thumbnail-no-image"]')
|
|
.its('length')
|
|
.should('be.gt', 1);
|
|
});
|
|
|
|
it('performs double-click to load thumbnail in active viewport', () => {
|
|
cy.get(
|
|
'[data-cy="study-browser-thumbnail-no-image"]:nth-child(2)'
|
|
).dblclick();
|
|
|
|
//const expectedText = 'Ser: 3';
|
|
//cy.get('@viewportInfoBottomLeft').should('contains.text', expectedText);
|
|
});
|
|
});
|