* Test cases for extensions: VTK, HTML and PDF * Test Cases: Delete measurement, Relabel and Description through Contextmenu * Fix: PDF, HTML and VTK extensions * CI: running into different folders for PWA and Script-tag tests * CI: running into different folders for PWA and Script-tag tests * CI: running into different folders for PWA and Script-tag tests * Fix for VTK tests and Cornerstone Eraser tool * Removed VTK alias from Cornerstone aliases initialization * Temporary fix for Eraser tool * Test workaround * Use juno for vtk * Shift VTK tests to PWA folder
25 lines
594 B
JavaScript
25 lines
594 B
JavaScript
describe('OHIF HTML Extension', () => {
|
|
before(() => {
|
|
cy.openStudy('Dummy');
|
|
cy.expectMinimumThumbnails(1);
|
|
});
|
|
|
|
it('checks if series thumbnails are being displayed', () => {
|
|
cy.get('[data-cy="thumbnail-list"]')
|
|
.contains('SR')
|
|
.its('length')
|
|
.should('to.be.at.least', 1);
|
|
});
|
|
|
|
it('drags and drop a SR thumbnail into viewport', () => {
|
|
cy.get('[data-cy="thumbnail-list"]')
|
|
.contains('SR')
|
|
.drag('.viewport-drop-target');
|
|
|
|
cy.get(':nth-child(2) > h1').should(
|
|
'contain.text',
|
|
'Imaging Measurement Report'
|
|
);
|
|
});
|
|
});
|