test: Test cases for extensions: VTK, HTML and PDF (#1036)
* 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
This commit is contained in:
1 parent
e7be573328
commit
35c54eac56
8 files changed
+342
-59
No files matched your search
@@ -0,0 +1,24 @@
|
||||
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'
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user