Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Adds an id to homepage for testing purposes (#1038)
Browse files Browse the repository at this point in the history
Co-authored-by: simon.ashbury <[email protected]>
  • Loading branch information
SiAshbery and simon.ashbury authored Jun 13, 2022
1 parent 15cff81 commit 9d02da7
Show file tree
Hide file tree
Showing 5 changed files with 14,846 additions and 14,426 deletions.
2 changes: 0 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions site/pages/home/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Array [
<section
class="homepageTopSlice"
data-cy="top-slice"
id="this-is-a-test"
>
<div
class="sliceContainer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ exports[`site/pages/home/homepage-top-slice/ renders correctly 1`] = `
<section
class="homepageTopSlice"
data-cy="top-slice"
id="this-is-a-test"
>
<div
class="sliceContainer"
Expand Down
2 changes: 1 addition & 1 deletion site/pages/home/homepage-top-slice/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const cx = classnames.bind(styles);

const HomepageTopSlice = () => {
return (
<section className={styles.homepageTopSlice} data-cy="top-slice">
<section id="this-is-a-test" className={styles.homepageTopSlice} data-cy="top-slice">
<div className={styles.sliceContainer}>
<div className={styles.sloganWrapper}>
<h1 className={styles.badgerSlogan}>
Expand Down
Loading

0 comments on commit 9d02da7

Please sign in to comment.