* feat: 🎸 Load spinner when selecting gcloud store. Add key on td * feat: 🎸 Code review. Translate loading study status * feat: 🎸 Code review. Minor code refactoring * fix: add missing study and index declerations * test: Improviment on VTK beforeEach hook (#1057) * feat: 🎸 Some improvements on table cell and react lifecycle * feat: 🎸 Prevent component update on a not searchData changing * feat: 🎸 Some cypress improv to pass ci * feat: 🎸 Code reviewe and also fixing list for gcloud * feat: 🎸 Code review. Add spinner on first load of store * feat: 🎸 Code review. Centering loading list spinner icon
24 lines
547 B
JavaScript
24 lines
547 B
JavaScript
describe('OHIFStandaloneViewer', () => {
|
|
beforeEach(() => {
|
|
cy.openStudyList();
|
|
});
|
|
|
|
it('loads route with at least 2 rows', () => {
|
|
cy.screenshot();
|
|
cy.percySnapshot();
|
|
|
|
cy.get('#studyListData tr')
|
|
.its('length')
|
|
.should('be.gt', 2);
|
|
});
|
|
|
|
it('first 2 rows has values', () => {
|
|
cy.get('#studyListData > :nth-child(1) > .patientId', {
|
|
timeout: 15000,
|
|
}).should('be.visible');
|
|
cy.get('#studyListData > :nth-child(2) > .patientId', {
|
|
timeout: 15000,
|
|
}).should('be.visible');
|
|
});
|
|
});
|