Skip to content

Commit 506e7c9

Browse files
committed
issue 2396 fix_s3_3
1 parent dff22b9 commit 506e7c9

File tree

1 file changed

+35
-8
lines changed

1 file changed

+35
-8
lines changed

__tests__/shared/components/Header/__snapshots__/index.jsx.snap

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
exports[`Default render 1`] = `
44
<div>
55
<TopNav
6+
loggedIn={true}
67
logo={
78
<Logo
89
height="20"
@@ -15,6 +16,39 @@ exports[`Default render 1`] = `
1516
Array [
1617
Object {
1718
"id": "community",
19+
"secondaryMenuForGuest": Array [
20+
Object {
21+
"href": "https://www.topcoder-dev.com/about",
22+
"title": "Overview",
23+
},
24+
Object {
25+
"href": "https://www.topcoder-dev.com/how-it-works/faqs/",
26+
"title": "How It Works",
27+
},
28+
Object {
29+
"href": "https://www.topcoder-dev.com/community/learn",
30+
"title": "Tracks",
31+
},
32+
Object {
33+
"href": "https://www.topcoder-dev.com/about/why-crowdsourcing/",
34+
"title": "Why Join",
35+
},
36+
],
37+
"secondaryMenuForLoggedInUser": Array [
38+
Object {
39+
"href": "/my-dashboard",
40+
"title": "Dashboard",
41+
},
42+
Object {
43+
"href": "/members/willFilledByUserName",
44+
"id": "myprofile",
45+
"title": "My Profile",
46+
},
47+
Object {
48+
"href": "https://community.topcoder-dev.com/PactsMemberServlet?module=PaymentHistory&full_list=false",
49+
"title": "Payments",
50+
},
51+
],
1852
"subMenu": Array [
1953
Object {
2054
"subMenu": Array [
@@ -90,6 +124,7 @@ exports[`Default render 1`] = `
90124
}
91125
onChangeLevel1Id={[Function]}
92126
openMore={true}
127+
profileHandle="huanner"
93128
rightMenu={
94129
<LoginNav
95130
accountMenu={
@@ -98,14 +133,6 @@ exports[`Default render 1`] = `
98133
"href": "/settings/profile",
99134
"title": "Settings",
100135
},
101-
Object {
102-
"href": "https://community.topcoder-dev.com/PactsMemberServlet?module=PaymentHistory&full_list=false",
103-
"title": "Payments",
104-
},
105-
Object {
106-
"link": null,
107-
"title": "All projects",
108-
},
109136
Object {
110137
"separator": true,
111138
},

0 commit comments

Comments
 (0)