diff options
author | brunomilitzer <bruno.militzer@est.tech> | 2022-03-14 11:29:25 +0000 |
---|---|---|
committer | brunomilitzer <bruno.militzer@est.tech> | 2022-03-14 17:16:31 +0000 |
commit | 1e27cabdaf7c89a2c7381c8a46697be007778445 (patch) | |
tree | 122ebf8705508f8ffea8594ba81cfe2a4fb6326a /gui-clamp/ui-react/src/components/menu/MenuBar.test.js | |
parent | 5d87357d69ec81962fd6128a8aa12086b97f199f (diff) |
Added more unit tests for overall coverage
Issue-ID: POLICY-3932
Change-Id: I481f5da35047da7a790f02368cc915d5e1a9e04d
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Diffstat (limited to 'gui-clamp/ui-react/src/components/menu/MenuBar.test.js')
-rw-r--r-- | gui-clamp/ui-react/src/components/menu/MenuBar.test.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gui-clamp/ui-react/src/components/menu/MenuBar.test.js b/gui-clamp/ui-react/src/components/menu/MenuBar.test.js index bd55687..df1a17a 100644 --- a/gui-clamp/ui-react/src/components/menu/MenuBar.test.js +++ b/gui-clamp/ui-react/src/components/menu/MenuBar.test.js @@ -72,7 +72,7 @@ describe('Verify MenuBar', () => { it('Finds POLICY Framework Menu', () => { const component = shallow(<MenuBar />).childAt(4).dive(); - expect(component.find({ tile: 'TOSCA Control Loop' })); + expect(component.find({ tile: 'TOSCA Automation Composition' })); }); it('Finds POLICY Framework Menu', () => { @@ -84,4 +84,9 @@ describe('Verify MenuBar', () => { const component = shallow(<MenuBar />); expect(component.find('Styled(NavLink)').length).toEqual(2); }); + + it('Finds StyledNavDropdown', () => { + const component = shallow(<MenuBar />); + expect(component.find('Styled(NavDropdown)').length).toEqual(6); + }); }); |