src/Components/ProfileMenu/ProfileMenuExpanded/__snapshots__/ProfileMenuExpanded.test.jsx.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ProfileMenuExpandedComponent matches snapshot when isGlossaryEditor is false 1`] = `
<div
className="profile-menu width-250"
>
<div
className="menu-title"
>
<div
className="menu-title-text"
>
Menu
</div>
<button
className="unstyled-button"
onClick={[Function]}
title="Collapse menu"
>
<FontAwesome
name="exchange"
/>
</button>
</div>
<NavLinksContainer>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={false}
iconName="user"
key="Profile"
search=""
title="Profile"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={false}
iconName="tachometer"
key="Dashboard"
link="/profile/dashboard"
search=""
title="Dashboard"
/>
<withRouter(NavLink)
hidden={true}
iconName="clipboard"
key="Bid Tracker"
link="/profile/bidtracker/"
search=""
title="Bid Tracker"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={false}
iconName="star"
key="Favorites"
link="/profile/favorites/"
search=""
title="Favorites"
/>
<withRouter(NavLink)
hidden={false}
iconName="globe"
key="Notifications"
link="/profile/notifications"
search=""
title="Notifications"
/>
<withRouter(NavLink)
hidden={false}
iconName="clock-o"
key="Saved Searches"
link="/profile/searches/"
search=""
title="Saved Searches"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="building-o"
key="AO"
search=""
title="AO"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Available Bidders"
link="/profile/ao/availablebidders"
search=""
title="Available Bidders"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/ao/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={true}
iconName="address-book"
key="Client Profiles"
link="/profile/ao/bidderportfolio"
search="?type=all"
title="Client Profiles"
/>
<withRouter(NavLink)
hidden={true}
iconName="sticky-note"
key="Employees and Panel Agendas"
link="/profile/ao/employeeagendas"
search=""
title="Employees and Panel Agendas"
/>
<withRouter(NavLink)
hidden={true}
iconName="calendar"
key="Panel Meetings"
link="/profile/ao/panelmeetings"
search=""
title="Panel Meetings"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-keyboard-o"
key="Projected Vacancy Management"
link="/profile/ao/projectedvacancy"
search=""
title="Projected Vacancy Management"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-newspaper-o"
key="Publishable Positions"
link="/profile/ao/publishablepositions"
search=""
title="Publishable Positions"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="building"
key="Bureau"
search=""
title="Bureau"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Available Bidders"
link="/profile/bureau/availablebidders"
search=""
title="Available Bidders"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/bureau/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={true}
iconName="building"
key="Manage Post Access"
link="/profile/bureau/managepostaccess"
search=""
title="Manage Post Access"
/>
<withRouter(NavLink)
hidden={true}
iconName="map"
key="Position Management"
link="/profile/bureau/positionmanager"
search=""
title="Position Management"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-keyboard-o"
key="Projected Vacancy Management"
link="/profile/bureau/projectedvacancy"
search=""
title="Projected Vacancy Management"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-newspaper-o"
key="Publishable Positions"
link="/profile/bureau/publishablepositions"
search=""
title="Publishable Positions"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-search-minus"
key="Search Post Access"
link="/profile/bureau/searchpostaccess"
search=""
title="Search Post Access"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="street-view"
key="CDO"
search=""
title="CDO"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Available Bidders"
link="/profile/cdo/availablebidders"
search=""
title="Available Bidders"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/cdo/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={true}
iconName="address-book"
key="Client Profiles"
link="/profile/cdo/bidderportfolio"
search="?type=all"
title="Client Profiles"
/>
<withRouter(NavLink)
hidden={true}
iconName="sticky-note"
key="Employees and Panel Agendas"
link="/profile/cdo/employeeagendas"
search=""
title="Employees and Panel Agendas"
/>
<withRouter(NavLink)
hidden={true}
iconName="calendar"
key="Panel Meetings"
link="/profile/cdo/panelmeetings"
search=""
title="Panel Meetings"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="street-view"
key="Entry Level"
search=""
title="Entry Level"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName=" fa-keyboard-o"
key="Maintain Entry Level Positions"
link="/profile/entrylevel/maintainpositions"
search=""
title="Maintain Entry Level Positions"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="sitemap"
key="FSBid Admin"
search=""
title="FSBid Admin"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="calendar"
key="Panel"
link="/profile/fsbid_admin/"
search=""
title="Panel"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="sitemap"
key="Panel Administrator"
search=""
title="Panel Administrator"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="calendar"
key="Panel"
link="/profile/panel_admin/panel"
search=""
title="Panel"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="building"
key="Post"
search=""
title="Post"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Available Bidders"
link="/profile/post/availablebidders"
search=""
title="Available Bidders"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/post/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={true}
iconName="map"
key="Position Management"
link="/profile/post/positionmanager"
search=""
title="Position Management"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-newspaper-o"
key="Publishable Positions"
link="/profile/post/publishablepositions"
search=""
title="Publishable Positions"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="sitemap"
key="TalentMAP Admin"
search=""
title="TalentMAP Admin"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="tachometer"
key="Dashboard"
link="/profile/administrator/dashboard/"
search=""
title="Dashboard"
/>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Bid Audit"
link="/profile/administrator/bidaudit/"
search=""
title="Bid Audit"
/>
<withRouter(NavLink)
hidden={true}
iconName="hourglass-start"
key="Bid Cycles"
link="/profile/administrator/cycles/"
search=""
title="Bid Cycles"
/>
<withRouter(NavLink)
hidden={true}
iconName="calendar"
key="Bid Season Management"
link="/profile/administrator/managebidseasons/"
search=""
title="Bid Season Management"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/administrator/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Bureau Exceptions"
link="/profile/administrator/bureauexceptions/"
search=""
title="Bureau Exceptions"
/>
<withRouter(NavLink)
hidden={true}
iconName="cogs"
key="Cycle Job Categories"
link="/profile/administrator/cyclejobcategories/"
search=""
title="Cycle Job Categories"
/>
<withRouter(NavLink)
hidden={true}
iconName="database"
key="Cycle Management"
link="/profile/administrator/cyclemanagement"
search=""
title="Cycle Management"
/>
<withRouter(NavLink)
hidden={true}
iconName="flag"
key="Feature Flags"
link="/profile/administrator/featureflags/"
search=""
title="Feature Flags"
/>
<withRouter(NavLink)
hidden={true}
iconName="book"
key="Glossary Editor"
link="/profile/glossaryeditor/"
search=""
title="Glossary Editor"
/>
<withRouter(NavLink)
hidden={true}
iconName="cogs"
key="Job Categories"
link="/profile/administrator/jobcategories/"
search=""
title="Job Categories"
/>
<withRouter(NavLink)
hidden={true}
iconName="sitemap"
key="Logs"
link="/profile/administrator/logs/"
search=""
title="Logs"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-keyboard-o"
key="Manage Entry Level"
link="/profile/administrator/manageentrylevel/"
search=""
title="Manage Entry Level"
/>
<withRouter(NavLink)
hidden={true}
iconName="building"
key="Org Stats"
link="/profile/administrator/orgstats/"
search=""
title="Org Stats"
/>
<withRouter(NavLink)
hidden={true}
iconName="bar-chart"
key="Statistics"
link="/profile/administrator/stats/"
search=""
title="Statistics"
/>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="User Roles"
link="/profile/administrator/userroles/"
search=""
title="User Roles"
/>
</withRouter(NavLink)>
</NavLinksContainer>
</div>
`;
exports[`ProfileMenuExpandedComponent matches snapshot when user is bidcycle_admin 1`] = `
<div
className="profile-menu width-250"
>
<div
className="menu-title"
>
<div
className="menu-title-text"
>
Menu
</div>
<button
className="unstyled-button"
onClick={[Function]}
title="Collapse menu"
>
<FontAwesome
name="exchange"
/>
</button>
</div>
<NavLinksContainer>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={false}
iconName="user"
key="Profile"
search=""
title="Profile"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={false}
iconName="tachometer"
key="Dashboard"
link="/profile/dashboard"
search=""
title="Dashboard"
/>
<withRouter(NavLink)
hidden={true}
iconName="clipboard"
key="Bid Tracker"
link="/profile/bidtracker/"
search=""
title="Bid Tracker"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={false}
iconName="star"
key="Favorites"
link="/profile/favorites/"
search=""
title="Favorites"
/>
<withRouter(NavLink)
hidden={false}
iconName="globe"
key="Notifications"
link="/profile/notifications"
search=""
title="Notifications"
/>
<withRouter(NavLink)
hidden={false}
iconName="clock-o"
key="Saved Searches"
link="/profile/searches/"
search=""
title="Saved Searches"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="building-o"
key="AO"
search=""
title="AO"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Available Bidders"
link="/profile/ao/availablebidders"
search=""
title="Available Bidders"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/ao/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={true}
iconName="address-book"
key="Client Profiles"
link="/profile/ao/bidderportfolio"
search="?type=all"
title="Client Profiles"
/>
<withRouter(NavLink)
hidden={true}
iconName="sticky-note"
key="Employees and Panel Agendas"
link="/profile/ao/employeeagendas"
search=""
title="Employees and Panel Agendas"
/>
<withRouter(NavLink)
hidden={true}
iconName="calendar"
key="Panel Meetings"
link="/profile/ao/panelmeetings"
search=""
title="Panel Meetings"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-keyboard-o"
key="Projected Vacancy Management"
link="/profile/ao/projectedvacancy"
search=""
title="Projected Vacancy Management"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-newspaper-o"
key="Publishable Positions"
link="/profile/ao/publishablepositions"
search=""
title="Publishable Positions"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="building"
key="Bureau"
search=""
title="Bureau"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Available Bidders"
link="/profile/bureau/availablebidders"
search=""
title="Available Bidders"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/bureau/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={true}
iconName="building"
key="Manage Post Access"
link="/profile/bureau/managepostaccess"
search=""
title="Manage Post Access"
/>
<withRouter(NavLink)
hidden={true}
iconName="map"
key="Position Management"
link="/profile/bureau/positionmanager"
search=""
title="Position Management"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-keyboard-o"
key="Projected Vacancy Management"
link="/profile/bureau/projectedvacancy"
search=""
title="Projected Vacancy Management"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-newspaper-o"
key="Publishable Positions"
link="/profile/bureau/publishablepositions"
search=""
title="Publishable Positions"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-search-minus"
key="Search Post Access"
link="/profile/bureau/searchpostaccess"
search=""
title="Search Post Access"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="street-view"
key="CDO"
search=""
title="CDO"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Available Bidders"
link="/profile/cdo/availablebidders"
search=""
title="Available Bidders"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/cdo/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={true}
iconName="address-book"
key="Client Profiles"
link="/profile/cdo/bidderportfolio"
search="?type=all"
title="Client Profiles"
/>
<withRouter(NavLink)
hidden={true}
iconName="sticky-note"
key="Employees and Panel Agendas"
link="/profile/cdo/employeeagendas"
search=""
title="Employees and Panel Agendas"
/>
<withRouter(NavLink)
hidden={true}
iconName="calendar"
key="Panel Meetings"
link="/profile/cdo/panelmeetings"
search=""
title="Panel Meetings"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="street-view"
key="Entry Level"
search=""
title="Entry Level"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName=" fa-keyboard-o"
key="Maintain Entry Level Positions"
link="/profile/entrylevel/maintainpositions"
search=""
title="Maintain Entry Level Positions"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="sitemap"
key="FSBid Admin"
search=""
title="FSBid Admin"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="calendar"
key="Panel"
link="/profile/fsbid_admin/"
search=""
title="Panel"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="sitemap"
key="Panel Administrator"
search=""
title="Panel Administrator"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="calendar"
key="Panel"
link="/profile/panel_admin/panel"
search=""
title="Panel"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="building"
key="Post"
search=""
title="Post"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Available Bidders"
link="/profile/post/availablebidders"
search=""
title="Available Bidders"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/post/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={true}
iconName="map"
key="Position Management"
link="/profile/post/positionmanager"
search=""
title="Position Management"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-newspaper-o"
key="Publishable Positions"
link="/profile/post/publishablepositions"
search=""
title="Publishable Positions"
/>
</withRouter(NavLink)>
<withRouter(NavLink)
expandedSection={
Object {
"display": false,
"title": "",
}
}
hidden={true}
iconName="sitemap"
key="TalentMAP Admin"
search=""
title="TalentMAP Admin"
toggleMenuSection={[Function]}
>
<withRouter(NavLink)
hidden={true}
iconName="tachometer"
key="Dashboard"
link="/profile/administrator/dashboard/"
search=""
title="Dashboard"
/>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Bid Audit"
link="/profile/administrator/bidaudit/"
search=""
title="Bid Audit"
/>
<withRouter(NavLink)
hidden={false}
iconName="hourglass-start"
key="Bid Cycles"
link="/profile/administrator/cycles/"
search=""
title="Bid Cycles"
/>
<withRouter(NavLink)
hidden={true}
iconName="calendar"
key="Bid Season Management"
link="/profile/administrator/managebidseasons/"
search=""
title="Bid Season Management"
/>
<withRouter(NavLink)
hidden={true}
iconName="cog"
key="Bidding Tool"
link="/profile/administrator/biddingtool/"
search=""
title="Bidding Tool"
/>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="Bureau Exceptions"
link="/profile/administrator/bureauexceptions/"
search=""
title="Bureau Exceptions"
/>
<withRouter(NavLink)
hidden={true}
iconName="cogs"
key="Cycle Job Categories"
link="/profile/administrator/cyclejobcategories/"
search=""
title="Cycle Job Categories"
/>
<withRouter(NavLink)
hidden={true}
iconName="database"
key="Cycle Management"
link="/profile/administrator/cyclemanagement"
search=""
title="Cycle Management"
/>
<withRouter(NavLink)
hidden={true}
iconName="flag"
key="Feature Flags"
link="/profile/administrator/featureflags/"
search=""
title="Feature Flags"
/>
<withRouter(NavLink)
hidden={true}
iconName="book"
key="Glossary Editor"
link="/profile/glossaryeditor/"
search=""
title="Glossary Editor"
/>
<withRouter(NavLink)
hidden={true}
iconName="cogs"
key="Job Categories"
link="/profile/administrator/jobcategories/"
search=""
title="Job Categories"
/>
<withRouter(NavLink)
hidden={true}
iconName="sitemap"
key="Logs"
link="/profile/administrator/logs/"
search=""
title="Logs"
/>
<withRouter(NavLink)
hidden={true}
iconName=" fa-keyboard-o"
key="Manage Entry Level"
link="/profile/administrator/manageentrylevel/"
search=""
title="Manage Entry Level"
/>
<withRouter(NavLink)
hidden={true}
iconName="building"
key="Org Stats"
link="/profile/administrator/orgstats/"
search=""
title="Org Stats"
/>
<withRouter(NavLink)
hidden={true}
iconName="bar-chart"
key="Statistics"
link="/profile/administrator/stats/"
search=""
title="Statistics"
/>
<withRouter(NavLink)
hidden={true}
iconName="users"
key="User Roles"
link="/profile/administrator/userroles/"
search=""
title="User Roles"
/>
</withRouter(NavLink)>
</NavLinksContainer>
</div>
`;