Skip to content

Commit 58b991c

Browse files
authored
Merge pull request #38 from topcoder-platform/tony-content-updates
fixing tests
2 parents e5e2113 + 2597370 commit 58b991c

File tree

5 files changed

+30
-38
lines changed

5 files changed

+30
-38
lines changed

__tests__/shared/components/tc-communities/__snapshots__/Header.jsx.snap

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,22 @@ exports[`Snapshot match 1`] = `
3434
options={
3535
Array [
3636
Object {
37-
"label": "iOS Community",
37+
"label": "Wipro Hybrid Crowd",
3838
"value": "1",
3939
},
4040
Object {
41-
"label": "Predix Topcoder",
41+
"label": "Cognitive Community",
4242
"value": "2",
4343
},
4444
Object {
45-
"label": "Cognitive Topcoder",
45+
"label": "iOS Community",
4646
"value": "3",
4747
},
48-
Object {
49-
"label": "Android Community",
50-
"value": "4",
51-
},
5248
]
5349
}
5450
value={
5551
Object {
56-
"label": "iOS Community",
52+
"label": "Wipro Hybrid Crowd",
5753
"value": "1",
5854
}
5955
}
@@ -155,26 +151,22 @@ exports[`Snapshot match 2`] = `
155151
options={
156152
Array [
157153
Object {
158-
"label": "iOS Community",
154+
"label": "Wipro Hybrid Crowd",
159155
"value": "1",
160156
},
161157
Object {
162-
"label": "Predix Topcoder",
158+
"label": "Cognitive Community",
163159
"value": "2",
164160
},
165161
Object {
166-
"label": "Cognitive Topcoder",
162+
"label": "iOS Community",
167163
"value": "3",
168164
},
169-
Object {
170-
"label": "Android Community",
171-
"value": "4",
172-
},
173165
]
174166
}
175167
value={
176168
Object {
177-
"label": "iOS Community",
169+
"label": "Wipro Hybrid Crowd",
178170
"value": "1",
179171
}
180172
}

__tests__/shared/components/tc-communities/communities/wipro2/__snapshots__/Home.jsx.snap

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ exports[`Snapshot match 1`] = `
1212
}
1313
}
1414
mapThemrProps={[Function]}
15-
text="You’re eager to get started, and we have a bunch of iOS/Swift challenges lined up to give you new opportunities to earn cash. We also have an exclusive iOS badging program to prove your app design and development expertise, so dive in and start competing!"
15+
text="Wipro's Hybrid Crowd gives our vast ecosystem of customers and partners options to access new range of skills that provide new value services and efficiency options all over the world."
1616
theme={Object {}}
17-
title="iOS"
17+
title="Wipro Crowd"
1818
/>
1919
<ThemedSection
2020
composeTheme="deeply"
@@ -33,31 +33,31 @@ exports[`Snapshot match 1`] = `
3333
icon={[Function]}
3434
label="Projects"
3535
mapThemrProps={[Function]}
36-
number="5"
36+
number="NA"
3737
theme={Object {}}
3838
/>
3939
<ThemedIconStat
4040
composeTheme="deeply"
4141
icon={[Function]}
4242
label="Challenges"
4343
mapThemrProps={[Function]}
44-
number="12"
44+
number="NA"
4545
theme={Object {}}
4646
/>
4747
<ThemedIconStat
4848
composeTheme="deeply"
4949
icon={[Function]}
5050
label="Members"
5151
mapThemrProps={[Function]}
52-
number="347"
52+
number="NA"
5353
theme={Object {}}
5454
/>
5555
<ThemedIconStat
5656
composeTheme="deeply"
5757
icon={[Function]}
5858
label="Prizes"
5959
mapThemrProps={[Function]}
60-
number="$10K"
60+
number="$NA"
6161
theme={Object {}}
6262
/>
6363
</ThemedSection>
@@ -79,27 +79,27 @@ exports[`Snapshot match 1`] = `
7979
link={
8080
Object {
8181
"title": "Start Learning",
82-
"url": "/community/wipro2/home",
82+
"url": "/community/wipro2/learn",
8383
}
8484
}
8585
mapThemrProps={[Function]}
86-
text="You can learn and get certified donec facilisis tortor ut augue lacinia, at viverra est semper. Sed sapien metus, scelerisque nec pharetra id, tempor a tortor. Pellentesque non dignissim neque. Ut porta viverra est, ut dignissim elit"
86+
text="Our continuously evolving structured learning paths, constantly abreast of the latest, tailored for employees to deepen your knowledge, infuses important software capabilities that are industry specific and help you get the skills you need to succeed."
8787
theme={Object {}}
88-
title="Learn"
88+
title="Improve Your Skills"
8989
/>
9090
<ThemedImageText
9191
composeTheme="deeply"
9292
imageSrc="/themes/wipro2/home/image-text-do.jpg"
9393
link={
9494
Object {
95-
"title": "Start Learning",
96-
"url": "/community/wipro2/home",
95+
"title": "Start Earning",
96+
"url": "/community/wipro2/challenges",
9797
}
9898
}
9999
mapThemrProps={[Function]}
100-
text="Jump into challenges and start competing sed sapien metus, scelerisque nec pharetra id, tempor a tortor. Pellentesque non dignissim neque. Nunc vel rhoncus nibh, ut tincidunt turpis."
100+
text="Rewards program is intended to celebrate and recognize your contribution. Rewards for project contributions are given using ‘Reward Points’. Points earned translate into badges. Quarterly rewards are given away to the toppers of all categories."
101101
theme={Object {}}
102-
title="Do Work"
102+
title="Get Involved"
103103
/>
104104
</div>
105105
</ThemedSection>
@@ -120,7 +120,7 @@ exports[`Snapshot match 1`] = `
120120
link={
121121
Object {
122122
"title": "Browse resources",
123-
"url": "/community/wipro2/home",
123+
"url": "/community/wipro2/learn",
124124
}
125125
}
126126
mapThemrProps={[Function]}
@@ -134,7 +134,7 @@ exports[`Snapshot match 1`] = `
134134
link={
135135
Object {
136136
"title": "Learn about badges",
137-
"url": "/community/wipro2/home",
137+
"url": "/community/wipro2/leaderboard",
138138
}
139139
}
140140
mapThemrProps={[Function]}
@@ -148,7 +148,7 @@ exports[`Snapshot match 1`] = `
148148
link={
149149
Object {
150150
"title": "Browse challenges",
151-
"url": "/community/wipro2/home",
151+
"url": "/community/wipro2/challenges",
152152
}
153153
}
154154
mapThemrProps={[Function]}
@@ -190,7 +190,7 @@ exports[`Snapshot match 1`] = `
190190
mapThemrProps={[Function]}
191191
text="HDMI, or high definition multimedia interface, is a type of audio and video interface that is used for the transmission of uncompressed"
192192
theme={Object {}}
193-
title="Video Games Playing With Imagination"
193+
title="Video Games Playing With Imagination "
194194
/>
195195
<ThemedArticleCard
196196
composeTheme="deeply"
@@ -208,7 +208,7 @@ exports[`Snapshot match 1`] = `
208208
/>
209209
</ThemedSection>
210210
<ThemedNewsletterSignup
211-
buttonText="Sing Up"
211+
buttonText="Sign Up"
212212
composeTheme="deeply"
213213
emailPlaceholder="Email address"
214214
imageSrc="/themes/wipro2/subscribe-bg.jpg"

__tests__/shared/components/tc-communities/communities/wipro2/__snapshots__/Learn.jsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`Snapshot match 1`] = `
77
imageSrc="/themes/wipro2/learn/banner.jpg"
88
link={null}
99
mapThemrProps={[Function]}
10-
text="IOS Community offers you an opportunity to get involved with a variety of challenging and interesting projects. It will help accelerate your learning path and open up opportunities that were not visible in the past."
10+
text="Our continuously evolving structured learning paths, constantly abreast of the latest, tailored for employees to deepen your knowledge, infuses important software capabilities that are industry specific and help you get the skills you need to succeed."
1111
theme={
1212
Object {
1313
"container": "src-shared-components-tc-communities-communities-wipro2-Learn-___style__bannerContainer___8SKqT",
@@ -40,7 +40,7 @@ exports[`Snapshot match 1`] = `
4040
mapThemrProps={[Function]}
4141
onTitleClick={[Function]}
4242
theme={Object {}}
43-
title="Joining the IOS Community"
43+
title="Joining the Community"
4444
>
4545
<ThemedText
4646
composeTheme="deeply"

src/shared/components/tc-communities/Header/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default function Header(props) {
146146
value={communitiesDropdownOptions[0]}
147147
/>
148148
</div>
149-
149+
150150
</div>
151151
<div styleName="user-wrap-mobile">
152152
{profile && (

src/shared/components/tc-communities/communities/wipro2/Home/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default function Home() {
5656
>
5757
<div>
5858
<ImageText
59-
title="Learn"
59+
title="Improve Your Skills"
6060
text="Our continuously evolving structured learning paths, constantly abreast of the latest, tailored for employees to deepen your knowledge, infuses important software capabilities that are industry specific and help you get the skills you need to succeed."
6161
link={{
6262
title: 'Start Learning',

0 commit comments

Comments
 (0)