diff options
author | Liam Fallon <liam.fallon@est.tech> | 2022-03-15 12:36:10 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-03-15 12:36:10 +0000 |
commit | 2f8b6cb2cb865abb850f5828fda584bd9238efbe (patch) | |
tree | 0c3142e1d7d367bf914754cf6f7f7e0d5ea08e4b /gui-clamp/ui-react/src/components/menu/MenuBar.test.js | |
parent | 93b5533e44728faa87c291fbf44120ea013fab51 (diff) | |
parent | 1e27cabdaf7c89a2c7381c8a46697be007778445 (diff) |
Merge "Added more unit tests for overall coverage"
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); + }); }); |