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