2023-09-01 16:19:39 -04:00
|
|
|
describe('OHIF Video Display', function () {
|
|
|
|
|
beforeEach(function () {
|
2025-01-23 14:13:44 -05:00
|
|
|
Cypress.on('uncaught:exception', () => false);
|
2023-02-17 15:04:07 -05:00
|
|
|
cy.openStudyInViewer('2.25.96975534054447904995905761963464388233');
|
2022-02-24 11:55:12 -05:00
|
|
|
});
|
|
|
|
|
|
2023-09-01 16:19:39 -04:00
|
|
|
it('checks if series thumbnails are being displayed', function () {
|
|
|
|
|
cy.get('[data-cy="study-browser-thumbnail-no-image"]').its('length').should('be.gt', 1);
|
2022-02-24 11:55:12 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
it('performs double-click to load thumbnail in active viewport', () => {
|
2023-09-01 16:19:39 -04:00
|
|
|
cy.get('[data-cy="study-browser-thumbnail-no-image"]:nth-child(2)').dblclick();
|
2022-02-24 11:55:12 -05:00
|
|
|
|
|
|
|
|
//const expectedText = 'Ser: 3';
|
|
|
|
|
//cy.get('@viewportInfoBottomLeft').should('contains.text', expectedText);
|
|
|
|
|
});
|
|
|
|
|
});
|