2023-02-17 21:04:07 +01:00
|
|
|
describe('OHIF Video Display', function() {
|
|
|
|
|
beforeEach(function() {
|
|
|
|
|
cy.openStudyInViewer('2.25.96975534054447904995905761963464388233');
|
2022-02-24 17:55:12 +01:00
|
|
|
cy.resetViewport().wait(50);
|
|
|
|
|
});
|
|
|
|
|
|
2023-02-17 21:04:07 +01:00
|
|
|
it('checks if series thumbnails are being displayed', function() {
|
2023-05-10 18:42:48 +02:00
|
|
|
cy.get('[data-cy="study-browser-thumbnail-no-image"]')
|
2022-02-24 17:55:12 +01:00
|
|
|
.its('length')
|
|
|
|
|
.should('be.gt', 1);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
it('performs double-click to load thumbnail in active viewport', () => {
|
2023-05-10 18:42:48 +02:00
|
|
|
cy.get(
|
|
|
|
|
'[data-cy="study-browser-thumbnail-no-image"]:nth-child(2)'
|
|
|
|
|
).dblclick();
|
2022-02-24 17:55:12 +01:00
|
|
|
|
|
|
|
|
//const expectedText = 'Ser: 3';
|
|
|
|
|
//cy.get('@viewportInfoBottomLeft').should('contains.text', expectedText);
|
|
|
|
|
});
|
|
|
|
|
});
|