Files
ohif-viewer/platform/viewer/cypress/integration/common/ViewerRouting.spec.js
T

24 lines
771 B
JavaScript
Raw Normal View History

2019-06-22 14:02:07 +00:00
describe('ViewerRouting', () => {
beforeEach(() => {
cy.visit('/');
cy.contains('Study List');
2019-10-28 14:47:57 -04:00
cy.get(
'[data-cy="study-list-results"]> :nth-child(1) > .patientId'
).click();
2019-06-22 14:02:07 +00:00
});
// it('thumbnails list has more than 2 items', () => {
2019-10-30 16:53:58 -03:00
// cy.get('.scrollable-study-thumbnails div.thumbnail-container')
// .its('length')
// .should('be.gte', 2);
// });
2019-06-22 14:02:07 +00:00
// it('loads route with at least 2 thumbnails', () => {
// cy.get(
// ':nth-child(1) > .ThumbnailEntry > .p-x-1 > .ImageThumbnail > .image-thumbnail-canvas > canvas'
// ).should('be.visible');
// cy.get(
// ':nth-child(2) > .ThumbnailEntry > .p-x-1 > .ImageThumbnail > .image-thumbnail-canvas > canvas'
// ).should('be.visible');
// });
2019-06-22 14:02:07 +00:00
});