ohif-viewer/platform/viewer/cypress/integration/common/OHIFStandaloneViewer.spec.js
Mirna Silva 79c10bb424 test: Visual testing for Cornerstone and VTK (#1169)
* Visual testing for Cornerstone and VTK

* Fix for CI

* Review fix: Removed cornerstone function and added snapshot description

* Added snapshot description

* Fix for CI
2019-11-13 21:36:19 -05:00

15 lines
324 B
JavaScript

describe('OHIFStandaloneViewer', () => {
beforeEach(() => {
cy.openStudyList();
});
it('loads route with at least 2 rows', () => {
cy.screenshot('Study List');
cy.percyCanvasSnapshot('Study List');
cy.get('[data-cy="study-list-results"] tr')
.its('length')
.should('be.gt', 2);
});
});