feat(SidePanel): new side panel tab look-and-feel (#3657)
This commit is contained in:
1 parent
48bbd6281a
commit
85c899b399
22 files changed
+827
-246
No files matched your search
@@ -13,8 +13,12 @@ describe('OHIF Multi Study', () => {
|
||||
it('Should display 2 comparison up', () => {
|
||||
beforeSetup();
|
||||
|
||||
cy.get('[data-cy="viewport-pane"]').its('length').should('be.eq', 4);
|
||||
cy.get('[data-cy="studyDate"]').should(studyDate => {
|
||||
cy.get('[data-cy="viewport-pane"]').as('viewportPane');
|
||||
cy.get('@viewportPane').its('length').should('be.eq', 4);
|
||||
|
||||
cy.get('[data-cy="studyDate"]').as('studyDate');
|
||||
|
||||
cy.get('@studyDate').should(studyDate => {
|
||||
expect(studyDate.length).to.be.eq(4);
|
||||
expect(studyDate.text()).to.contain('2014').contain('2001');
|
||||
expect(studyDate.text().indexOf('2014')).to.be.lessThan(studyDate.text().indexOf('2001'));
|
||||
|
||||
Reference in new issue
Block a user