Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Commit d926ee4

Browse files
author
Joel Worrall
committed
fix(homepage): broken test automation fix
1 parent 9e58bbe commit d926ee4

File tree

7 files changed

+28
-31
lines changed

7 files changed

+28
-31
lines changed

src/components/__tests__/__snapshots__/Header.spec.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Array [
4848
className="leftSideLink"
4949
href="https://docs.newrelic.com/"
5050
>
51-
Docs
51+
Documentation
5252
</a>
5353
</li>
5454
</ul>

src/pages/__tests__/__snapshots__/collection.spec.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exports[`Data Collection Agents Page Renders correctly 1`] = `
5050
className="leftSideLink"
5151
href="https://docs.newrelic.com/"
5252
>
53-
Docs
53+
Documentation
5454
</a>
5555
</li>
5656
</ul>
@@ -288,7 +288,7 @@ exports[`Data Collection Agents Page Renders correctly 1`] = `
288288
className="version footerMeta"
289289
>
290290
Version
291-
0.5.0
291+
0.5.5
292292
</small>
293293
</div>
294294
</section>

src/pages/__tests__/__snapshots__/external-projects.spec.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exports[`External Projects Page Renders correctly 1`] = `
5050
className="leftSideLink"
5151
href="https://docs.newrelic.com/"
5252
>
53-
Docs
53+
Documentation
5454
</a>
5555
</li>
5656
</ul>
@@ -253,7 +253,7 @@ exports[`External Projects Page Renders correctly 1`] = `
253253
className="version footerMeta"
254254
>
255255
Version
256-
0.5.0
256+
0.5.5
257257
</small>
258258
</div>
259259
</section>

src/pages/__tests__/__snapshots__/index.spec.js.snap

+14-17
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exports[`HomePage Renders correctly 1`] = `
5050
className="leftSideLink"
5151
href="https://docs.newrelic.com/"
5252
>
53-
Docs
53+
Documentation
5454
</a>
5555
</li>
5656
</ul>
@@ -155,12 +155,16 @@ exports[`HomePage Renders correctly 1`] = `
155155
className="homepageHeroHeading"
156156
data-testid="homepageHeroHeading"
157157
>
158-
The future of observability is open.
158+
Open standards.
159+
<br />
160+
Open instrumentation.
161+
<br />
162+
Open collaboration.
159163
</h2>
160164
<p
161165
className="homepageHeroBodyCopy"
162166
>
163-
New Relic ❤️'s open source. We
167+
We
164168
165169
<a
166170
href="https://github.com/newrelic/opensource-website"
@@ -172,21 +176,21 @@ exports[`HomePage Renders correctly 1`] = `
172176
<em>
173177
you
174178
</em>
175-
to
179+
to explore the
176180
177181
<a
178182
href="/explore-projects"
179183
>
180-
explore the projects
184+
open source projects
181185
</a>
182-
we're maintaining as well as our involvement in
183-
186+
we maintain and the
184187
<a
185188
href="/external-projects"
186189
>
187-
open standards
190+
open standards projects
188191
</a>
189-
. Learn 
192+
we participate in. Learn
193+
190194
<a
191195
href="#"
192196
onClick={[Function]}
@@ -261,13 +265,6 @@ exports[`HomePage Renders correctly 1`] = `
261265
className="featuredExternalProjectsDescription"
262266
>
263267
New Relic contributes resources to the development of these projects.
264-
265-
<a
266-
href="/external-projects"
267-
>
268-
View all
269-
</a>
270-
.
271268
</p>
272269
<div
273270
className="externalProjectsList"
@@ -392,7 +389,7 @@ exports[`HomePage Renders correctly 1`] = `
392389
className="version footerMeta"
393390
>
394391
Version
395-
0.5.0
392+
0.5.5
396393
</small>
397394
</div>
398395
</section>

src/pages/__tests__/__snapshots__/oss-category.spec.js.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exports[`OSS Category Page Renders correctly 1`] = `
5050
className="leftSideLink"
5151
href="https://docs.newrelic.com/"
5252
>
53-
Docs
53+
Documentation
5454
</a>
5555
</li>
5656
</ul>
@@ -509,7 +509,7 @@ exports[`OSS Category Page Renders correctly 1`] = `
509509
className="version footerMeta"
510510
>
511511
Version
512-
0.5.0
512+
0.5.5
513513
</small>
514514
</div>
515515
</section>

src/pages/__tests__/index.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('HomePage Hero Header', () => {
3232
const { getByTestId } = render(<HomePage />);
3333
const expectation = getByTestId('homepageHeroHeading');
3434
expect(expectation).toHaveTextContent(
35-
'The future of observability is open.'
35+
'Open standards. Open instrumentation. Open collaboration.'
3636
);
3737
});
3838
});

src/templates/__tests__/__snapshots__/external-project-page.spec.js.snap

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exports[`Adopt OpenJDK Renders correctly 1`] = `
5050
className="leftSideLink"
5151
href="https://docs.newrelic.com/"
5252
>
53-
Docs
53+
Documentation
5454
</a>
5555
</li>
5656
</ul>
@@ -314,7 +314,7 @@ exports[`Adopt OpenJDK Renders correctly 1`] = `
314314
className="version footerMeta"
315315
>
316316
Version
317-
0.5.0
317+
0.5.5
318318
</small>
319319
</div>
320320
</section>
@@ -372,7 +372,7 @@ exports[`Open Telemetry Page Renders correctly 1`] = `
372372
className="leftSideLink"
373373
href="https://docs.newrelic.com/"
374374
>
375-
Docs
375+
Documentation
376376
</a>
377377
</li>
378378
</ul>
@@ -636,7 +636,7 @@ exports[`Open Telemetry Page Renders correctly 1`] = `
636636
className="version footerMeta"
637637
>
638638
Version
639-
0.5.0
639+
0.5.5
640640
</small>
641641
</div>
642642
</section>
@@ -694,7 +694,7 @@ exports[`W3C Distributed Tracing Working Group Renders correctly 1`] = `
694694
className="leftSideLink"
695695
href="https://docs.newrelic.com/"
696696
>
697-
Docs
697+
Documentation
698698
</a>
699699
</li>
700700
</ul>
@@ -1186,7 +1186,7 @@ exports[`W3C Distributed Tracing Working Group Renders correctly 1`] = `
11861186
className="version footerMeta"
11871187
>
11881188
Version
1189-
0.5.0
1189+
0.5.5
11901190
</small>
11911191
</div>
11921192
</section>

0 commit comments

Comments
 (0)