From f3cf551a1faecbdc2d1d0be70df1446b41063c1c Mon Sep 17 00:00:00 2001 From: Andrew Tran Date: Fri, 29 Sep 2023 20:45:25 +0000 Subject: [PATCH 1/9] Add hyperlink button to clinical header --- packages/terra-clinical-header/package.json | 2 + packages/terra-clinical-header/src/Header.jsx | 21 +++++++- .../src/Header.module.scss | 4 +- .../clinical-header/clinicalHeader.1.doc.mdx | 8 +-- .../doc/example/HyperlinkTitleHeader.jsx | 8 +++ .../tests/jest/Header.test.jsx | 13 +++++ .../jest/__snapshots__/Header.test.jsx.snap | 50 +++++++++++++++++++ 7 files changed, 99 insertions(+), 7 deletions(-) create mode 100644 packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx diff --git a/packages/terra-clinical-header/package.json b/packages/terra-clinical-header/package.json index d6b2975b0..e0dc6e787 100644 --- a/packages/terra-clinical-header/package.json +++ b/packages/terra-clinical-header/package.json @@ -30,6 +30,8 @@ "classnames": "^2.2.5", "prop-types": "^15.5.8", "terra-button": "^3.0.0", + "terra-enzyme-intl": "^3.4.0", + "terra-hyperlink": "^2.63.0", "terra-theme-context": "^1.0.0" }, "scripts": { diff --git a/packages/terra-clinical-header/src/Header.jsx b/packages/terra-clinical-header/src/Header.jsx index 4155bb93a..36ad8755b 100644 --- a/packages/terra-clinical-header/src/Header.jsx +++ b/packages/terra-clinical-header/src/Header.jsx @@ -2,6 +2,8 @@ import React, { useContext } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import classNamesBind from 'classnames/bind'; + +import HyperlinkButton from 'terra-hyperlink'; import ThemeContext from 'terra-theme-context'; import styles from './Header.module.scss'; @@ -59,6 +61,8 @@ const propTypes = { * A Boolean indicating if element is a subheader. */ isSubheader: PropTypes.bool, + + onClick: PropTypes.func, }; const defaultProps = { @@ -70,7 +74,16 @@ const defaultProps = { }; const Header = ({ - children, title, startContent, endContent, text, level, id, isSubheader, ...customProps + children, + title, + startContent, + endContent, + text, + level, + id, + isSubheader, + onClick, + ...customProps }) => { const theme = useContext(ThemeContext); if (title) { @@ -90,7 +103,11 @@ const Header = ({ titleElement = (
- {title || text} + {onClick ? ( + + ) : ( + title || text + )}
); diff --git a/packages/terra-clinical-header/src/Header.module.scss b/packages/terra-clinical-header/src/Header.module.scss index 1707e5ea2..15ca5274e 100644 --- a/packages/terra-clinical-header/src/Header.module.scss +++ b/packages/terra-clinical-header/src/Header.module.scss @@ -59,14 +59,14 @@ width: 100%; word-wrap: break-word; /* For IE 10 and IE 11 */ } - + /* stylelint-disable selector-max-compound-selectors */ .flex-end + .flex-fill { .title { padding-left: var(--terra-clinical-header-end-content-plus-title-padding-left, 0.35714rem); } } - + .flex-fill + .flex-end { .title { padding-right: var(--terra-clinical-header-title-plus-end-content-padding-right, 0.35714rem); diff --git a/packages/terra-clinical-header/src/terra-dev-site/doc/clinical-header/clinicalHeader.1.doc.mdx b/packages/terra-clinical-header/src/terra-dev-site/doc/clinical-header/clinicalHeader.1.doc.mdx index e21e9819e..c9eabbe47 100644 --- a/packages/terra-clinical-header/src/terra-dev-site/doc/clinical-header/clinicalHeader.1.doc.mdx +++ b/packages/terra-clinical-header/src/terra-dev-site/doc/clinical-header/clinicalHeader.1.doc.mdx @@ -7,6 +7,7 @@ import ContentHeader from '../example/ContentHeader?dev-site-example'; import HeaderLongText from '../example/HeaderLongText?dev-site-example'; import HeaderLongTextWithContent from '../example/HeaderLongTextWithContent?dev-site-example'; import Subheader from '../example/Subheader?dev-site-example'; +import HyperlinkTitleHeader from '../example/HyperlinkTitleHeader?dev-site-example'; @@ -19,7 +20,7 @@ A Header component that allows elements to be placed on the left and right ends - Install with [npmjs](https://www.npmjs.com): - `npm install terra-clinical-header` -## Usage +## Usage ``` jsx import Header from 'terra-clinical-header'; @@ -30,12 +31,13 @@ import Header from 'terra-clinical-header'; * [Responsive Support](https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#responsive-support) * [Mobile Support](https://engineering.cerner.com/terra-ui/about/terra-ui/component-standards#mobile-support) -## Example +## Example + -## Header Props Table +## Header Props Table diff --git a/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx b/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx new file mode 100644 index 000000000..8ecbdbd1b --- /dev/null +++ b/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx @@ -0,0 +1,8 @@ +import React from 'react'; +import Header from 'terra-clinical-header'; + +const HyperlinkTitleHeader = () => ( +
{}} text="John Smith" level={3} /> +); + +export default HyperlinkTitleHeader; diff --git a/packages/terra-clinical-header/tests/jest/Header.test.jsx b/packages/terra-clinical-header/tests/jest/Header.test.jsx index b448cdad4..b5b9e316e 100644 --- a/packages/terra-clinical-header/tests/jest/Header.test.jsx +++ b/packages/terra-clinical-header/tests/jest/Header.test.jsx @@ -1,6 +1,9 @@ import React from 'react'; +import { shallowWithIntl } from 'terra-enzyme-intl'; + import Header from '../../src/Header'; +const mockFunc = jest.fn(); afterEach(() => { // restore the spy created with spyOn jest.restoreAllMocks(); @@ -66,3 +69,13 @@ it('should render a header with default heading level when level not set', () => expect(consoleSpy).toHaveBeenCalledWith(levelWarningMessage); expect(header).toMatchSnapshot(); }); + +it('should render a header with hyperlink title', () => { + const header = shallowWithIntl(
); + + const hyperlinkButton = header.find('InjectIntl(Hyperlink)'); + expect(hyperlinkButton.prop('onClick')).toEqual(mockFunc); + expect(hyperlinkButton.prop('text')).toEqual('Title'); + expect(header).toMatchSnapshot(); +}); + diff --git a/packages/terra-clinical-header/tests/jest/__snapshots__/Header.test.jsx.snap b/packages/terra-clinical-header/tests/jest/__snapshots__/Header.test.jsx.snap index 585c66b88..0b25da8b5 100644 --- a/packages/terra-clinical-header/tests/jest/__snapshots__/Header.test.jsx.snap +++ b/packages/terra-clinical-header/tests/jest/__snapshots__/Header.test.jsx.snap @@ -98,6 +98,56 @@ exports[`should render a header with default heading level when level not set 1`
`; +exports[`should render a header with hyperlink title 1`] = ` +
+
+
+

+ +

+
+
+
+`; + exports[`should render a header with title and heading level 1`] = `
Date: Mon, 2 Oct 2023 21:56:12 +0000 Subject: [PATCH 2/9] Add WDIO --- README.md | 2 +- .../HyperlinkTitleHeader.test.jsx | 9 +++++++++ .../tests/jest/Header.test.jsx | 1 + .../header-spec/has_hyperlink_title.png | Bin 0 -> 1800 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1761 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1688 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1649 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1603 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1553 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 2145 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 2108 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 2046 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 2015 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1961 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1919 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1827 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1793 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1720 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1681 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1635 bytes .../header-spec/has_hyperlink_title.png | Bin 0 -> 1585 bytes .../tests/wdio/header-spec.js | 6 ++++++ 22 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_enormous/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_huge/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_large/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_medium/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_small/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_tiny/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_enormous/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_huge/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_large/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_medium/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_small/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_tiny/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_enormous/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_huge/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_large/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_medium/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_small/header-spec/has_hyperlink_title.png create mode 100644 packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_tiny/header-spec/has_hyperlink_title.png diff --git a/README.md b/README.md index 28369ccc1..83cac0b4b 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Please review [Terra's Internationalization documentation](https://engineering.c Contributing -Please read through our [contributing guidelines](CONTRIBUTING.md). Included are directions for issue reporting and pull requests. +Please read through our [contributing guidelines](./CONTRIBUTING.md). Included are directions for issue reporting and pull requests.

Local Development diff --git a/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx b/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx new file mode 100644 index 000000000..d5c5e6a41 --- /dev/null +++ b/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx @@ -0,0 +1,9 @@ +import React from 'react'; + +import Header from '../../../Header'; + +const HyperlinkTitleHeader = () => ( +
{}} text="John Smith" /> +); + +export default HyperlinkTitleHeader; diff --git a/packages/terra-clinical-header/tests/jest/Header.test.jsx b/packages/terra-clinical-header/tests/jest/Header.test.jsx index b5b9e316e..148de8f90 100644 --- a/packages/terra-clinical-header/tests/jest/Header.test.jsx +++ b/packages/terra-clinical-header/tests/jest/Header.test.jsx @@ -73,6 +73,7 @@ it('should render a header with default heading level when level not set', () => it('should render a header with hyperlink title', () => { const header = shallowWithIntl(
); + expect(header.find('h1').length).toEqual(1); const hyperlinkButton = header.find('InjectIntl(Hyperlink)'); expect(hyperlinkButton.prop('onClick')).toEqual(mockFunc); expect(hyperlinkButton.prop('text')).toEqual('Title'); diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_enormous/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_enormous/header-spec/has_hyperlink_title.png new file mode 100644 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yY-&}vZucn0mMNR)L!Wd-*3*cR4H?lli1-Gu&FS(2YUx@%3Wruur I{>q)d0jeh&lK=n! literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_small/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_small/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..b3aff649583e1a06cb6ba309246c6731691c159a GIT binary patch literal 1603 zcmb7F`#;lb9G?!$C34F`3%Q-irMVw-X^t|?U5QwZiDRxM3%Rc_qrF72mg9^h)#Oqf zX4V=~iE^fJ7GfhDb0-pK-~NGf&gX~c^?5z-=kxkJ&-;1a?}zB+;VdhyCJh3CWL;2B zJ|NJZSWym>1dGN3T(uAc0!zC%A^noX=GjpNei33XK8+>!Q_Rc|X7vm&JcQm@ZQ*AK z@imgZWu7;PLlrnlm_+Ifb-P7NV9}eJ=knp~W*zqeIJ4H9`@mwPlKZ@ww@0j1jdXrk z#>kBljK@#6nI&Kn2KFIKhKw07{Y?k58I#UA0>lSfLY^p`vXM@rIKtKhCW}Jk6%-VT zP{#lWrE?H~bQJdikfIb=1St^3|3lemxb|y}Fn*tgyza0C0@feE-t~!MX8mne5iwcrCc zVu1q{*3hhXNjl`1E~y8=7SSqXDbqFbM&@MES3W05=A?ZyQS+k*u3tNepf5F8$DnNA zSmT}zhp!EPRed}(%rWPhL6sqC<$Pj|)_veurUABkc?g^1J+=O=erdCe9}Tzk234)F zSXetP_O_f|&R7eTG@F>ea@zMcOHI8Z`?64+Qm%f%d9UPoRwIEs>U{rA5Q<){MEzB3 zeO7EBm>QpLP}+3eZEfqsU3^TpLlYUyinF536S!1F!*vpNj&I+g>YEC!38dL1Xd&C6 ztZ7|QpOfiJHrc)CXhS4!L1m)mviz&MVV9H*a(u!!zAz>4?Re=fdU@zEv102eEv2pS zd9JW(#1c{ySUI!kt3%#V1V~-FNFAUom}R|6@Sm94yZ9B4W$Hjq+Y_yLoRXL^+RTDy zC^fJrBg}4R1_Bqz_=THPjlebHJ}XlomN%?74+%EXZ>J>aFa3#-yg5a$w8R?EK&*;v zR>jjd+FUyUH$86-O}(?a z<4lx2M5_;j4z5d}hdZ+FRXM!aip+1R(@p*Yv6fRF%dkq{#Z1@*|G{Avyuoxo(HC}# zsL~vEOcq8+`o!E_kI`Z-c-JT9lRC08W|PrB<%+JmC+VP`x1gIGI;rZzu*4c@TdzsK zB#^PL9KYBg4?->91-cCjk5;z&kUPd8rOZVeH>&Jjf{ezSXjwUAB6vU36D|Es1tw!% z%6nBYn`Swu?cRKDEG!w_2$-eF?G$%GXS*}zLA0S(tk=Wwjd^xSu4ESman;=tTTE{c zc&WtF#qU&DKUE|uv9$f-TE)JzzFg+C){B5w{ZQ6mD=Q}^j5k^9MXT|O?2QH7S7-XC zePVYEOE2OMJSrV`<-Kb{e{8<4`40Uw&Hkxs0*p1Sq-?)!r0CpoW3=TO*th2*tj0bE z_S6j%r)7epv{2^Q`~XK`k81WM zb)=y?Au$MNw9w6b`#P)^Zx|A`NjPJ|7PL1xOG?zv0p&zR&Z%S9R{W+?^C#K|xq;!{ z+vCikBrxkTg!biVKh~g1S!K*q-VMtX@7kYwV6MiceOq6T^s<~b(visv-VeurJ2Feb z&(>OYk6uvUL|BGMPZOCbnM9Geuj1(C;tk4x9E-aq4LTXSC+iY=(-QZrKtPdfXmVccgX*_Tyy*0d)lS~_|Lz{(h?KLrCjgVHOFldqR@gs2V$7$z z%qN%e8|c7__EUYU&2l6l4O;o%Hu&%E`I^lCZn#lnEHPXAFQIP7Kdp*B2awAN52rfE HknDc|iplI{ literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_tiny/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/clinical-lowlight-theme/en/chrome_tiny/header-spec/has_hyperlink_title.png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_3a*fS*p+vv!W8+~L z0}}ym=aR44w{k}BAmb9nuc=~sNiAk67QPfa9gemN-Bk?GY1DeYMGQod=Ne1wMVzHGd60t_cpB8I z24WIB?m1O3iXeXdd4aw-;27kN<<+Ms0DB<7DG3PL4?~`1h+s2X#B+%;#{wbEMZyJ5UjjSJxRTla1Qg<6C0WiNv~*=(+-?7H|K zeq(ftExn~robk&4FjrsoWIlYcpjN}b7|fu{>CTtW+J!N#`uy)}_6)$f%o0jxdihZF zv$Dmt@>6j5y#m9BO|w9*!LwJN+Kvkk*Dhmr&1yPi?xC8c0Lq1>$Ll`JLx9e2n`1B- xxHkYH`;`J95eDMl?K}U?E;u=$3OqI}l&~!kdRfx4@IcgqY<|IG>MgD${R7t7>^}ei literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_enormous/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_enormous/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..61897acb654bac8ae2d37ba9a5dbf81fac3ca5ef GIT binary patch literal 2145 zcmb_eX*3(!7LFD%RC8Ois@D>i8e)i=RSiMR*H~P{aA~Vz3K~PX)oQ7j=aeWCH8h5p zs%Dic5v3GuXdmT@d8n~mFW#f;z5DmRwaz;0`?J^i_Wt(%_KCAJH{{|F;s5{uTyP_O zD*%9n#=xR%tc)9$aiI(VV3UOF>)707TIxXG8F|RmzP7Tm?eaZr%@`D>D{FaO2dN{V zC=J!ie(u3dz$OZk<_KpoPYfndCi3sU_)7^LuC}9J`v?V#ibT6J>y$_uvHZ+Z3q;`Y z^)>~5XouVCJQCqkXYOg^3hL^v{tkwx{`(liAOC<3e;=lwZVX4u@@sx$bvD1?LTw?D z1LX-6S90Qqvv$rQqK~Zf`jAN1EfI?srA0)viZ5;vFRww)?u~#POkOvz{kmqGeYfj; zVM??(sa!4j%0^aoQC*B}R^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1t&Ho?2yQxISe1WId5=gt4#GIyTY(jmE@;T!+W ztrY340iV%=j=RD&(~9?IL!{P8MpB7y##|l21<;NtNlILG+sz}GrHJ-tPXlHp8(lZk z<1|sZz>T)RLv%b$8mlLk)Ho8q{ zq_bF-_Mgh(Tfswkd?X0IJ5C2@Y*WCc#Fu#oBUc;JY%;NLN1q*}Mec8o^lP>d@(0pH zxYP)uNmS%dtpw}P?|khrvHF=k)KZrJDiu`V;`ptle-SbdKqJe)bQY`zS(2{ z0-WEm+>%GD^*n9c5||x^x^j}GUy0-d&+O~F^ZU~~2i86>H!>X6x0Z{-5a)tQKw=tv z_`X`V-!xIncZpHNSQ1|am<@3QZ6Tr_s%agYz8aj%@agV0wR~(Q^2>NIhSpM;8690H zqCno3{X!*?6d3%*8NFRIWjYO#HF1 z^wo2C><6^A{xNIt#pa(*Hb8pK{}s+Hes)Pb=_g~elLZJj9&ZD1j!MXNDk8KPUk3mj LX0A`vMcn@vd*uDF literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_huge/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_huge/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..496b18e3271153b446087eb6ed506dfec91a5798 GIT binary patch literal 2108 zcma)8dpOhW8{Z-!Bs%P+mwL@9a$1O{5wd0E5R%ypk;6Ng@s1Kj$(GZcP3dJR=a-c^ z<(L(Vxsx3jg96qgeR005E* zxP=1%uydcl{zFtmFl((jtpfm}LI?}9^F-j+mhixVTfk=i?CcWyX9WN3o`}=xcBZu! z(y>SAdXU(7V*_jzFH4tU6d7fY$KPGW6tL8-(n4N*sXTN?efND|tAJf4TE_P) z9L!lbT=*|{1+=4;`vQ)0ieruqyQ`bNf?9rNcDMND7)yuGxn!XPWKEo>!yFGl*@=Tv z&h7;0=2^XlHfd|1k*4U+*RKg9LS`^sLj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YrXpi(Vsjk8n!^E`MP9j$nE6p@i_TwlK==3?|~}Y<9=!M+InA;SH0kvIHIy zOeFj%Bt*um2?8zB*1Kze#LIOz&4wBnKCP^9uZKH!TY3{NH38P?Ra33vH$8tDZ$LoBMlt#QPIX2MWf2=Vo5bNkDZxWpgnmZ5=~LWV`OycLoYVEc-Ma2pdX@DUiNhx z_<81=Fqxwoa3Ye=5(eH?o9z%dd^=yuNEISt$ixZ57x=Y#NoZwx%CPgGjI>?95_9?b zPEF%T2``O>m7}Yk*I)|n!_DJS7}gZ&TA`GNMQR6=8Uf)*2C$Men|JFqDl&!yG-!_H(uf+BkH9Z4ui>u|o;yQ%^mZ@s* T%$?bI6#x*Hwie~5J#PL7HS_1u literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_large/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_large/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..dfc280c35aa89b174fc790578052d283b93bf017 GIT binary patch literal 2046 zcmb7Fdpy&7A74ia5- z9rwdX5<9s@QpoLLY%XE$Qa!WtIq$EY(F5}fQ0N`L7+S0-Wzi+W6Cg@%2z85P?OPk)GV^?DP6>O4a zWKyJ35WW~c0>Y7d($-KF>DPBf6$~Oa2p(K#wFu0n)bQP!-fw?j#W-X=;vYLuGQmvR z0I;hE9>}ce>UAQ$4nR+secehpZ-GLgzC-6h(0LS$`rZP8EneJP&`!gt)_VnJ^`TsG zApoQyZtRC!iW?t$-4oYsIH!IN`&=p6^ZeTtC%bd(49?7z>sZ_7FqnsF!_~0Kin#ou zk?6af{c`v?S50EDDStNzq*brq{{C24iyT3}wt*DdN+|;=5clg8W4UAhvr`OU&DCls z6a7<0{l=5DT!U{d_f>wcjf_O{=Gr1Zee7;bKbxiOZZ5YR;%r){>(Lvwu4}eE0?R6c zPg9G24Ee$5#VjW1H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d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_medium/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_medium/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..3ac02bdca2394299af63af6ded52abdd96dcbcaa GIT binary patch literal 2015 zcmb7FX*3(?8V*9y*lF#0Em18~``W~)t!X3H*0^Jd*lHS8p{5}>TB?MqAr;ynm0GSM zcA5&c)Gn%%+QS`78B3#;X^E{@WA3>>?wKF={qddeeCK(;^StXra6>pth%1W&000Tt zMF$T6K*;Ivt|=;Vc*d9a_X7aON?{ImUbh84bR@WqB@6U^+S=O1&COx&q)z*-mV)-<{>G6lOK8r_4bpnisN2K1flH((?48x8PvP=4ig}E6C->-|)KtHHXl5;L%89wCKoGwYB>^BcBO~0F( zd6U!v4ZiMT!t~q!18@C3rhyplLtyVEiOGk7Kf2^$w-EX%9m4|{L>T9#U(EL2`l}Fg z{`Z(0HI^B5Q7|@_r8jYgLJKXnUgDZ?IR$?dss@LLpU?@KR}!3!Tv;lbNud|hG9q3T zz+j<*0prwcqdXDHUd zNnTEFXIN=xHrM2F?D$|Mo_C5&Yr9juc7N0N!Urq%QHJt&_1mZh8|L+)&JZ&LKcJwY zkr`=iFuMG-lKtsH)AERw&`Fa~#;rxUd{R={{M$-KC7>(>bvD4$G0`Ubz3tFKlfkin zLgQ3jy@0tVildf8gdH3$EepnIcyzK-6eyQ0YtM{`{uoCUJ#*xvG7wGwOjnj{+WJL( zdA^Ch90hC3C4Y5i9^YsV1aQIeyfxRfo6goXOh&vesS6nvV#VD^D0sdTG=aJiN1DXy zq1$3b%>RN9cd&ceU6B)jAZDdc2N8t6Rd0t?I`Rj z*ux%Z9~fFtihsYzVf#BjU{TS&vSlm|x4yA7nZ&_|x+o^IFwz5Z3U|X5fslhxISCEQ z)3%x3DMwHG0o6BF^?c8cg=Bqo5fMvdy;$26#CW29;9XFQqKRIrC)Pk3S_D|8Km7fP zV|c7)MnNkshLJf=@*65iUeSJ`g+(XG`Tau(O@j_}Qs3$uFgr~p#x`!WE6gFC5XSuY zjqCDo!U=H)fCW#~?Ujj^L>bi;NSm(k28N>oz&A!Vit-1&~?j>jQ4a)c+#n^J662% zZ(Z$D&>9SWS*!C>OOIlhcKBXde9an%zmSne2=;iA;bsOy+O_;&PVaCGsUMvf>2nPAlT9QV)L3q2!UKZ1pMFyjB)qNBZ-lsCuPS0M z(DulR=fAWVF9v){Ya}1`GMde5uX;0j^Th&i%h%n(jbW4MMhZt=j&YV9z$k)tg!0S1 zGKq7V-<Crjty6*?cyb?4O;S!M`usg>>5J9 z0*;2D3?(~XGG$JR#Agzd?18to3SN^G)d&V!v&mKTip;quEju+Oy>v^J9jMykM!X8P ztu)z_&;TEP14o_)Fnf2U`K!@NfhgTrHN)Oo{aX`b8a`6-xwppU5*Im``g2yU@*vl& z3Iq}nRTc+M#6HdWq-PZTy2Vl@Uj|&^U%AjzHd|C)pF0<~<676+lw;`)3?fo_rAi_o zNn!r)S*oYc;(`R$UpB5La;q9W4 z{-Jh112;0(rS&R*coL;7a{Z)B32I+`;OYj_{nIsY9K=!$d^j`bKUZs+#(vpspGW1B z`Yo7i1Zn~@wb5p+UrnKl(I5Wj{_NFsz&s#Ujr;X!G^-=KR3x^KiRe*&>0C`tcCax> zJe&>gqFD(0vxl1Z4R%W4_km95UHv_K*f9U$QXj0|`u2=tW!3ZL?kRKiS=ODqc9$xN zb?e&ZzE&A4J_MW!{tAiNBvi#dcq8;E7;GGgQ9hCZju8$T0QggRLS;0UO2e`u1EvE` zNPlQJ%1c&<=DkQ}CLbarX7PXM7yL-#I`jWW1h2l|$kpN#kRARHik$$^ysLZe`gHrf QL*WL%91#w*3&_NO1B}G8f&c&j literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_small/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_small/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..daef9a35afb21eb50c6ba92930f4f01a933af95b GIT binary patch literal 1961 zcmaJ?dpy(YA0NrBsBoCXDMMs7N+Ol4?ZvXpWiAm}ZcTKs&Q$tEhEdqjb!`9s1A=-8&^-zNvjG7apGi7(;?V0%icENmq{E=6e9k ztO(GT8opKPL$VT5rOw3d>QblD4$Wr^t4#T;f>oHk7l!jYr;ul(OB|jnYMToE9#L&W z_i5O;aZSPwFC`S!KhOQdRdCE89X2z~^o=vWBkYmuOU#mdW<`VNN}yA?$+D4i6fSpb zGz0=%7;SW(ff%VX&|96>2!F)&AT}MJTt2eA<@bfTFNi?UGz=7K%bp6Ko~%4csee(H zKHr>!Mu*6b4GHgC(Bv=j$M~FYl(D>sw+QLG`>gJ{cRHmT!jEeDiim@Z@}bWWd4&zR zy~Er9Pk-f$G-W4PPtb?|lvgZ0B8S&~)o&`LcM+9pB#{TD=%?loJAXBi_c0&9i zI)3I?_97BhQL#Tg77pKkh}ByBlC%E9B(=6`k5;VAqzKUt=SJ|`--GhyjYw^#u`;;l;ddnD?KTU9BUq2lk=i?)YM z6;@2IYxAMJg4#lQFxP9jFOwVTqk8DBL-n^MS;k{&7CRlS#dQ-Iv8#6CkFIQFIR%B% z<}>3Y#?9W%R3JIxwE+XoCuv1**xV(pD`+aw)zV0B)O~~g-x-|%_Z3&oAJRjBL=+J! zNZ4&Anh;ow6vDoTHSzKXLn*@Ieh}Oe+U*M8Zb1}C}39#MaL1k z;h*uMd=p&XUTy;G+7M1-Vg&7k!bGn)D^zLW~eJJ7^?E}imRVA`<+ML&ZfL5xLmg3Z?$#j zK!-tH{bYV+!Oi@-85X9)(4l&x-=e9j?hi0PADX;INPA|^zH|MpU-dj;*$B~#MW`_* z^c>2~9u78GWU4@znKL{xkZv}hi(X4~ z1@?msQM~bG^)MX9;K92SiD#+AfuV`1S%5|=!~X3VyL?9$Na`Ldy5Vbi+M_f%tzmA@ zc+t`YOxym>*;IW~lk7YkRo$0B(tqj}`0M4_MdE9g<|Wx(DDc+_qG9|7@TEPi;OXN3Z=B>*|kicU9r}NvGC>^r-AYg zYR5DkAb&r+bK9s(JX}dmmXG26-f#&VX`fBeY07N_cp(xpf`;a8(ztfgX6I;qL}@WP zLg&>_>+uiBXXJjC!zAPJ|&gbKc|joH>_6_vg@t2)=&NT$LF7pR+Sbdm8%i5 zF3_@CTtEP>0{}#|J`Cc0Eor&`3WdLP`-pw{;E!!qCcR`J3d%nWIvVDq4c@uiQbVy~ z^R(%N`=!p5m?)Sv1moF=WA}2K9Na_UZ7W}LgB&7EqskOJj8McPZTX$5+jj%K)kX`7 zfMz}BoGI589^*E4Z}j>htucBxHpdEX-{}x> z^2B2IG{dwAUvYC0cW6jl7%phH%9fuV5f1&=h|VH;i}(|BDW z+563Nroh#rht5crvT5Yf9(^D=LprcYs_(7}aj*QhZRCeoN1z@M`8k^QJCu1N*Zs65 zZ!WM0XC-*B3vCa#W44QC%jvGSG=(SSG&dv;daN|!Mmr{AbbcKux+zn?gb4$)sWdM5qN=vwgqr3i{>7c9v}f34XJmKku~AypzCeh=%_ z3>$b~O6M9!+SUIdM@CZOscHVJj+K1doc}up_wN|2IFQQOgK%|>d=((UAT-JuS%wHm F_!In`!CL?T literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_tiny/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/orion-fusion-theme/en/chrome_tiny/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..76a31c51d4836aab849b5675cb0b60a6aac76c99 GIT binary patch literal 1919 zcma)7c{JPk9*w7srMA@6UQA-GHK?^HFSd%UN-0I`sl7_5JX;h&ZG9DqpgL%Wq9__W z8BByKA!?{vYA+>*U|Qa<@4Ua?nSbv2p6@xIbM9x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tH zb{Ve*n}1YCsm)s?b)38grlK!;Vj}+eYlIF9Yj>esaYBn&NbGe40bTtJh2C!^ro9Z? zUQM|z*tqgBFx9KhG(F6m#N}bxnGJYMSpz!2NAvo7N7>$1&bk~s{LirY0m?#-CS`5F zFdTbwnPiwCUjO3kr`Zq>e6)q8p)x5_n@>!N7qF>|{t#c&3*cvE6n)X2^~#VsYbniIPQOixl@)KUMD^wtNpT8MnUx-1V7T+HTzm914Z9riht<3x6p7 o+vxVRr{~g-1QYykf|ZKKhv9L$foBO2x2h>TNHvj+t literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_enormous/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_enormous/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..0466a818e6e3e805fb5d965b0a705d6c1287c107 GIT binary patch literal 1827 zcmb_c`&$xb6sEZ@PfdMV_0*i{R&!(u*tFEts9Cwl%hV+Srmjo^FDytKFlB3-t(+PP zn250DZ4PqYrb9(@xe`%Ok({V>k%_3lMA3l=L+U@+z8}8x{qUaie&;;zd2f9j8Rodv zWh(#xa6I$T$ru1&hQ!Qa0Dw)iXHK5@#veETtuq=}%gu9b zb!ivICbp6X9rs-EIgm25>y2B5>9F^b{CW;xeg4VW_}!Zo{?XrT^N(I~KC%7q_9=%R zVD!loz9%m46Q}>quFpst>~348HMtQkVzc;6ZV+lIgCnW=ge!B|VB-b=kTI{@;}yhq zd;H<@DSP~qvFjBe?*9W&DGhlUV|Pb$u7+BmYQDL1qB#X_Vcg7pJiO4Icv*94)nT3d zK|=-WVe)gzu{&Wak(Fu?WL{Dufxc^nRqQA>_7u7gTz7L3wos8+!|7>53tHwW;Lmob zD%&eSH)q>%Z}q)E$in%{H9`77sG*Y!n%VvKI?D zLMPm14UST)@l@-lQ&UsMXM0hLbD9bw)_gqjt(ks0q^tz)JvTsup{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io/__snapshots__/reference/terra-default-theme/en/chrome_large/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_large/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..6ae49d54b9a112f0b263b922c71959814d8df221 GIT binary patch literal 1720 zcmcIl`#TeA9N$ui0pLXk1oY#0t>ed}jh_@CvYFabbhcyy*3g2QQP?Ig~jhkXHby zO8>RD=b6Mf)lNaiM?Tm)f;{Ith^!?!4R%JPnQbYOGkVdzP_<|>(KeA3@OW=fr5Fyr z2XQ4dwVtDEAKs+bU~m--DkyepD|UtDu@ByaVQDaIiPV26{i9KGIQ`*;sL{*|U$$UL zT)U#NzdI{PVg0nmWmi(%BZX}-G#4*w?U@e^CbbI@R+t7qTsM!Cq3vw3A!feboYc}- zb)%lC+?1I5)EO+zAjHlHqRSo7;L6jZL(W0xX|%~l{OJtSx*Uv#!#0_bqG2D6tDk>7 z`HznET+|A(ae{>k*-&E%_AJp&h>Dn$VNUm*_OoS^)~aC&CP%%awHS!uH^ZzA{kq8S z&y901rT_CRp4>|b1a1XPcUtoOny*BTroWnOUhe_N_d~p7(V9RCSZGBNV!?s z(B7fpmC1W2d;oXkHe|7wA^z^?X?t`VJaAjR4c=zWx0L!+v9HFM$$X#MYcf^#70!06 zb7euRg8N}v+wVV%3*1-2ABmi@c+)k~V^p|MWTOLpOd3sQrVu5R`1H=Nh6u{oNKy`> z)PvNPAbu@gpqCggA-nlB{iKPpdk$41G1w2Kf7mkbg)!n+ZogslswdI4eEgPl7}7`Y zxz502HpDrTt4l|DyJa(!)NcovZ;b4 z_9sO*XlV$J_K>lEI(**8QN5#U7Ocg&2M;ZGG-%R#F|^T|cv}Hv>~;z~ovmAcWOd?@ zUi>$eqF5oI+3Y*g4Ytc8jGcdxA3-?`J&ipAnxG)Sc3wS*f}_>6zA09&}|2*zveUV4VxFY z`^(!B2L6PFx4iFNS0znPro>c#-%vj1XNn(AzWuzvmHjpb99=j-mzg90F(OvwSyaZh z)v=f5c>8=!YAG3facBw;z+IWgLmnP5Pl!G+&B^t^WnHgXyG4Y?R-{*Cl1onfmLJ6S zS$D0ImrF8YD;PbF`F3_ko0%Kc#_^f@ yM`$ZxXJgFNuAO!FnIDCLs0(fBJ9kKNtbo;wX2_f?)JgOs0k9YsH1oLsrGEha`4}Mp literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_medium/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_medium/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..a3d9916910ddfac4fe5462822e2c320dc6133b1c GIT binary patch literal 1681 zcmcIl`8V5H6c0r^430x7iY}?xcO`1Aq?&4_Ek#-_?L;%F3XKp%wT!C7l8RjrqQuau z7PVK6im6IWi9NR3P7(Vu_WA0WKVjyV_j%{M&-vVU@BO^{$XA^lB*m4)K_HMM;v(!i z2z2NIu-7~y2COnTC~zR=j)2*@1Pck8NDq0>gg!1U?9P`G-3G>s3gonOsXfbb3i4_a z?LV3|V9ig$KVag20qgs*Zi0ycHG!7~Vx&9+ zVive)_r4N?;O|1-f9Q$@BEQT#$;KLu4c_V_Rx_A%{a0gOeb`HnX1=S9HjN0zH+^qc z1Wx`rDZ%q@OSds?K9rVy1%9gS^Hw*9W8wSP!|?2=$$x%rHSMt#e=pYcrqt@&AcQf*XFbZ~Or6Dc^~STaxSFEq zcfZO3H9^=T?^K}&o+Ugh$vcndle72XfC3d>#CrZ4~gEhixSnYa!x~BRi&2gz0R))Tr>825KWp&7}IWi z=)FOLhHgt(61v?>p;Z*-suewCVn$5e6_U}2KL=kM3Ck`he}EzkqvQmFndwqfQXelg zxecBC=8jRc{*zkygVZoN$9^k1N6e~0Rv54hIjQGZNtDAnB&>}DW1y*UkY(&kpfKa> zs74_!6kVdz^i^bzC~|&u&$H_7Ozi~*T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Lr{Ek!yTrp#TIA&kNBt-e?!^+&%V(M&*0?m7~&3QguJTn?IrcZN z_MsZShI5oX3K>^XlzF%OveJRg-Q$g$pNealR#r||YypCK%prrzK7@4|qR`+LK{s$g zV+WeCbPrd{%k~Q30MP&W`eVxLwmxALHV?*ax>hZdI%7b8oUS6^$z6SS%B`Sii zm*v{}`MAOUe3R!A4(aDD;>mN5J~qWv=PneVaHs`6c6;3N^oE7`f=j=4fDiMUdPv}# zBb~`F#(7fOU)i*dv^utjXz%H6AY*x!{8QB2IciTACZ1+Dq8ejyL)BS#2DRyk5`AlE z5?aK8v4X*!B4l{xFNIP{M$etenNM*d$pws_yb>kr`#B)eI_>KAIBH(YWjXxI z>L)w1;YS2_MXpKyw3$=SIzgdY8vnIU9#YxE2k5CnQV_bv$pTe&!N<#z=rkZY0j5cW z5&}WHI+E$+E(UK1Y>BtA#<0^4m}Mbsn4$0fYgZe1TrWbM+WT;NA9dx+%iXo zT3t(e7^Hv^Q&7YEgzYt=&;tn!1kYz#@RT;ODw2 zfBP5Op7%?P((74W?PuSlzN4k+L>HCsTqq1{gM}a3hF>PNxg6KmQKP8J)_K&Byz=Qq zM!#`qm}jY!5~26yL{$fp;R-?*Y+#LNxPfwjlyxxogTPe~cR9ii+C%gUjJXraWa%G! q0l#GbexMIHV3@` literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_tiny/header-spec/has_hyperlink_title.png b/packages/terra-clinical-header/tests/wdio/__snapshots__/reference/terra-default-theme/en/chrome_tiny/header-spec/has_hyperlink_title.png new file mode 100644 index 0000000000000000000000000000000000000000..ead71df695824f3be650c22bf75929a056dc4765 GIT binary patch literal 1585 zcmbVN`#aMM7@yP0CB($CS#EQN5Hm5EsFr$)f;o+6AnJ5=tYwDX-+4UV;#|$==*x|==cQ{C+G=Fm`*6J0f1{o?fvN3L$r(X zxcIx{jkH#t39o96UEwz&x)Oq|ujchN7x0D3fJp-^aCjuVK3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J+N+jK57rjfQ+!glHLN#oE+|Z{o-)6?TimkJ zJC<}ax2UP&rtTCe%vIi|ZcXXWUZ!SA`a!Vc8H3ZZcnibyg&%6cxM8+`%9*Q6K@R2) zzFl|IPU0*#w9ncHai8$`r7WQl*I>Zdog^TW4_9f0wyQ_1ol82SA(#+w3){S2$I-6; zjUrGLz6bc`vvalgqL3|dE`uYU(;DR1nXDW<&ZcC@jG?cuzpF$ems7|9#e~8vaGC literal 0 HcmV?d00001 diff --git a/packages/terra-clinical-header/tests/wdio/header-spec.js b/packages/terra-clinical-header/tests/wdio/header-spec.js index 105242560..e9785f788 100644 --- a/packages/terra-clinical-header/tests/wdio/header-spec.js +++ b/packages/terra-clinical-header/tests/wdio/header-spec.js @@ -70,4 +70,10 @@ Terra.describeViewports('Clinical header', ['tiny', 'small', 'medium', 'large', Terra.validates.element('no level and no title'); }); + + it('header with hyperlink title', () => { + browser.url('/raw/tests/terra-clinical-header/clinical-header/hyperlink-title-header'); + + Terra.validates.element('has hyperlink title'); + }); }); From b8510e835be60c03fc96fa657fa56b14ae06a881 Mon Sep 17 00:00:00 2001 From: Andrew Tran Date: Tue, 3 Oct 2023 21:28:32 +0000 Subject: [PATCH 3/9] Add validation to jest tests --- .../tests/jest/Header.test.jsx | 81 ++++++++++-- .../jest/__snapshots__/Header.test.jsx.snap | 122 ++++++++++++------ 2 files changed, 153 insertions(+), 50 deletions(-) diff --git a/packages/terra-clinical-header/tests/jest/Header.test.jsx b/packages/terra-clinical-header/tests/jest/Header.test.jsx index 148de8f90..238fa17bf 100644 --- a/packages/terra-clinical-header/tests/jest/Header.test.jsx +++ b/packages/terra-clinical-header/tests/jest/Header.test.jsx @@ -10,53 +10,105 @@ afterEach(() => { }); it('should render a default component', () => { - const header = render(
); + const header = shallow(
); expect(header).toMatchSnapshot(); }); -it('should render a header with title and heading level', () => { - const header = render(
); +it('should render a header with title', () => { + const header = shallow(
); + + const headerTitle = header.find('h1'); + expect(headerTitle.text()).toEqual('title'); + expect(header).toMatchSnapshot(); +}); + +it('should render a header with id', () => { + const header = shallow(
); + + const headerTitle = header.find('h1'); + expect(headerTitle.prop('id')).toEqual('test-id'); + expect(headerTitle.text()).toEqual('title'); + expect(header).toMatchSnapshot(); +}); + +it('should render a header with heading level', () => { + const header = shallow(
); + + const headerTitle = header.find('h2'); + expect(headerTitle.text()).toEqual('title'); expect(header).toMatchSnapshot(); }); it('should render a header with content on the left', () => { - const header = render(
start content} />); + const startContent =
start content
; + const flexFill =
; + const flexEnd =
{startContent}
; + const header = shallow(
); + + // ensure flex-fill title container is after start content + expect(header.find('.flex-header').props().children[0]).toEqual(flexEnd); + expect(header.find('.flex-header').props().children[1]).toEqual(flexFill); expect(header).toMatchSnapshot(); }); it('should render a header with content on the right', () => { - const header = render(
end content
} />); + const endContent =
end content
; + const flexFill =
; + const flexEnd =
{endContent}
; + const header = shallow(
); + + // ensure flex-fill title container is before end content + expect(header.find('.flex-header').props().children[1]).toEqual(flexFill); + expect(header.find('.flex-header').props().children[3]).toEqual(flexEnd); expect(header).toMatchSnapshot(); }); it('should render a header with all content', () => { - const header = render(( + const startContent =
start content
; + const endContent =
end content
; + const flexFill = ( +
+
+

Title

+
+
+ ); + const flexEndStart =
{startContent}
; + const flexEndEnd =
{endContent}
; + const header = shallow((
start content
} + startContent={startContent} text="Title" - endContent={
end content
} - level={1} + endContent={endContent} /> )); + + const headerTitle = header.find('h1'); + expect(headerTitle.text()).toEqual('Title'); + expect(header.find('.flex-header').props().children[0]).toEqual(flexEndStart); + expect(header.find('.flex-header').props().children[1]).toEqual(flexFill); + expect(header.find('.flex-header').props().children[3]).toEqual(flexEndEnd); expect(header).toMatchSnapshot(); }); it('should render a subheader with title and heading level', () => { const consoleSpy = jest.spyOn(global.console, 'warn'); - const subheader = render(
); + const subheader = shallow(
); const titleWarningMessage = 'The `title` prop has been renamed to `text`. Please update all references of `title` prop to `text`.'; + + expect(subheader.prop('className')).toEqual('flex-header subheader'); + expect(subheader.find('h1').text()).toEqual('title'); expect(consoleSpy).toHaveBeenCalledWith(titleWarningMessage); expect(subheader).toMatchSnapshot(); }); it('should render a subheader with all content', () => { - const subheader = render(( + const subheader = shallow((
start content} text="Title" endContent={
end content
} isSubheader - level={1} /> )); expect(subheader).toMatchSnapshot(); @@ -64,8 +116,11 @@ it('should render a subheader with all content', () => { it('should render a header with default heading level when level not set', () => { const consoleSpy = jest.spyOn(global.console, 'warn'); - const header = render(
); + const title = 'This title should render with a default level'; + const header = shallow(
); const levelWarningMessage = 'Default heading level may not appropriate has it would fail to convey context of heading in a site / application where it is used. Heading level should be set explicitly depending on the position of header in site / application to allow screen readers to identify headers consistently.'; + + expect(header.find('h1').text()).toEqual(title); expect(consoleSpy).toHaveBeenCalledWith(levelWarningMessage); expect(header).toMatchSnapshot(); }); diff --git a/packages/terra-clinical-header/tests/jest/__snapshots__/Header.test.jsx.snap b/packages/terra-clinical-header/tests/jest/__snapshots__/Header.test.jsx.snap index 0b25da8b5..8fd493dd9 100644 --- a/packages/terra-clinical-header/tests/jest/__snapshots__/Header.test.jsx.snap +++ b/packages/terra-clinical-header/tests/jest/__snapshots__/Header.test.jsx.snap @@ -2,42 +2,46 @@ exports[`should render a default component 1`] = `
`; exports[`should render a header with all content 1`] = `
-
+
start content

Title

-
+
end content
@@ -46,32 +50,36 @@ exports[`should render a header with all content 1`] = ` exports[`should render a header with content on the left 1`] = `
-
+
start content
`; exports[`should render a header with content on the right 1`] = `
-
+
end content
@@ -80,16 +88,16 @@ exports[`should render a header with content on the right 1`] = ` exports[`should render a header with default heading level when level not set 1`] = `

This title should render with a default level

@@ -98,6 +106,26 @@ exports[`should render a header with default heading level when level not set 1`
`; +exports[`should render a header with heading level 1`] = ` +
+
+
+

+ title +

+
+
+
+`; + exports[`should render a header with hyperlink title 1`] = `
`; -exports[`should render a header with title and heading level 1`] = ` +exports[`should render a header with id 1`] = `

title @@ -169,32 +197,52 @@ exports[`should render a header with title and heading level 1`] = `

`; +exports[`should render a header with title 1`] = ` +
+
+
+

+ title +

+
+
+
+`; + exports[`should render a subheader with all content 1`] = `
start content

Title

end content @@ -205,16 +253,16 @@ exports[`should render a subheader with all content 1`] = ` exports[`should render a subheader with title and heading level 1`] = `

title

From 96948b22457f5afcbd6c6d28c1ca93de0f65e573 Mon Sep 17 00:00:00 2001 From: Andrew Tran Date: Tue, 3 Oct 2023 21:34:53 +0000 Subject: [PATCH 4/9] Update onClick to onTextClick --- packages/terra-clinical-header/src/Header.jsx | 11 +++++++---- .../terra-clinical-header/tests/jest/Header.test.jsx | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/terra-clinical-header/src/Header.jsx b/packages/terra-clinical-header/src/Header.jsx index 36ad8755b..2cf3f938e 100644 --- a/packages/terra-clinical-header/src/Header.jsx +++ b/packages/terra-clinical-header/src/Header.jsx @@ -62,7 +62,10 @@ const propTypes = { */ isSubheader: PropTypes.bool, - onClick: PropTypes.func, + /** + * Callback function triggered via hyperlink button title. + */ + onTextClick: PropTypes.func, }; const defaultProps = { @@ -82,7 +85,7 @@ const Header = ({ level, id, isSubheader, - onClick, + onTextClick, ...customProps }) => { const theme = useContext(ThemeContext); @@ -103,8 +106,8 @@ const Header = ({ titleElement = (
- {onClick ? ( - + {onTextClick ? ( + ) : ( title || text )} diff --git a/packages/terra-clinical-header/tests/jest/Header.test.jsx b/packages/terra-clinical-header/tests/jest/Header.test.jsx index 238fa17bf..910ae2bf5 100644 --- a/packages/terra-clinical-header/tests/jest/Header.test.jsx +++ b/packages/terra-clinical-header/tests/jest/Header.test.jsx @@ -126,7 +126,7 @@ it('should render a header with default heading level when level not set', () => }); it('should render a header with hyperlink title', () => { - const header = shallowWithIntl(
); + const header = shallowWithIntl(
); expect(header.find('h1').length).toEqual(1); const hyperlinkButton = header.find('InjectIntl(Hyperlink)'); From dcc64d37347deac8bf20a8bfa83bc0bc54fccfbc Mon Sep 17 00:00:00 2001 From: Andrew Tran Date: Tue, 3 Oct 2023 22:16:01 +0000 Subject: [PATCH 5/9] Update examples and changelog --- packages/terra-clinical-header/CHANGELOG.md | 3 +++ .../src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx | 2 +- .../test/clinical-header/HyperlinkTitleHeader.test.jsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/terra-clinical-header/CHANGELOG.md b/packages/terra-clinical-header/CHANGELOG.md index 52571a719..d5b99fc74 100644 --- a/packages/terra-clinical-header/CHANGELOG.md +++ b/packages/terra-clinical-header/CHANGELOG.md @@ -2,6 +2,9 @@ ## Unreleased +* Added + * Added `onTextClick` and support for hyperlink button header titles. + ## 3.28.0 - (August 14, 2023) * Changed diff --git a/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx b/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx index 8ecbdbd1b..3d54b8c5c 100644 --- a/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx +++ b/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx @@ -2,7 +2,7 @@ import React from 'react'; import Header from 'terra-clinical-header'; const HyperlinkTitleHeader = () => ( -
{}} text="John Smith" level={3} /> +
{}} text="John Smith" level={3} /> ); export default HyperlinkTitleHeader; diff --git a/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx b/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx index d5c5e6a41..60e422c23 100644 --- a/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx +++ b/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx @@ -3,7 +3,7 @@ import React from 'react'; import Header from '../../../Header'; const HyperlinkTitleHeader = () => ( -
{}} text="John Smith" /> +
{}} text="John Smith" /> ); export default HyperlinkTitleHeader; From 5c19471173382a59f3953e52440b2f1398626800 Mon Sep 17 00:00:00 2001 From: Andrew Tran Date: Wed, 4 Oct 2023 17:33:54 +0000 Subject: [PATCH 6/9] Update example --- .../src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx b/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx index 3d54b8c5c..d258cc1bc 100644 --- a/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx +++ b/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx @@ -2,7 +2,8 @@ import React from 'react'; import Header from 'terra-clinical-header'; const HyperlinkTitleHeader = () => ( -
{}} text="John Smith" level={3} /> + // eslint-disable-next-line no-console +
{ console.log('Hyperlink title clicked'); }} text="John Smith" level={3} /> ); export default HyperlinkTitleHeader; From 84b23f4c0b1e3d0e4659bb50eecf5665584678c5 Mon Sep 17 00:00:00 2001 From: Andrew Tran Date: Thu, 5 Oct 2023 14:51:38 +0000 Subject: [PATCH 7/9] Refactor variable --- packages/terra-clinical-header/src/Header.jsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/terra-clinical-header/src/Header.jsx b/packages/terra-clinical-header/src/Header.jsx index 2cf3f938e..0fa598fa1 100644 --- a/packages/terra-clinical-header/src/Header.jsx +++ b/packages/terra-clinical-header/src/Header.jsx @@ -101,15 +101,16 @@ const Header = ({ } let titleElement; - if (title || text) { - const HeaderElement = (level) ? `h${level}` : 'h1'; + const titleContent = title || text; + if (titleContent) { + const HeaderElement = level ? `h${level}` : 'h1'; titleElement = (
{onTextClick ? ( - + ) : ( - title || text + titleContent )}
From 3cddf3d8242ff103129e2a6f8145bdf3ff3f970d Mon Sep 17 00:00:00 2001 From: Andrew Tran Date: Mon, 9 Oct 2023 19:34:59 +0000 Subject: [PATCH 8/9] Fix Hyperlink import --- packages/terra-clinical-header/src/Header.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/terra-clinical-header/src/Header.jsx b/packages/terra-clinical-header/src/Header.jsx index 0fa598fa1..3c0dcf3af 100644 --- a/packages/terra-clinical-header/src/Header.jsx +++ b/packages/terra-clinical-header/src/Header.jsx @@ -3,7 +3,7 @@ import PropTypes from 'prop-types'; import classNames from 'classnames'; import classNamesBind from 'classnames/bind'; -import HyperlinkButton from 'terra-hyperlink'; +import Hyperlink from 'terra-hyperlink'; import ThemeContext from 'terra-theme-context'; import styles from './Header.module.scss'; @@ -108,7 +108,7 @@ const Header = ({
{onTextClick ? ( - + ) : ( titleContent )} From 132963b4195a9ee2d4499cec60faa81ad3d879bf Mon Sep 17 00:00:00 2001 From: Andrew Tran Date: Mon, 9 Oct 2023 19:39:35 +0000 Subject: [PATCH 9/9] Update onClick prop name --- packages/terra-clinical-header/src/Header.jsx | 9 +++++---- .../terra-dev-site/doc/example/HyperlinkTitleHeader.jsx | 2 +- .../test/clinical-header/HyperlinkTitleHeader.test.jsx | 2 +- .../terra-clinical-header/tests/jest/Header.test.jsx | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/terra-clinical-header/src/Header.jsx b/packages/terra-clinical-header/src/Header.jsx index 3c0dcf3af..7e79f117c 100644 --- a/packages/terra-clinical-header/src/Header.jsx +++ b/packages/terra-clinical-header/src/Header.jsx @@ -64,8 +64,9 @@ const propTypes = { /** * Callback function triggered via hyperlink button title. + * Sets the header title to be a hyperlink. */ - onTextClick: PropTypes.func, + onClick: PropTypes.func, }; const defaultProps = { @@ -85,7 +86,7 @@ const Header = ({ level, id, isSubheader, - onTextClick, + onClick, ...customProps }) => { const theme = useContext(ThemeContext); @@ -107,8 +108,8 @@ const Header = ({ titleElement = (
- {onTextClick ? ( - + {onClick ? ( + ) : ( titleContent )} diff --git a/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx b/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx index d258cc1bc..57d4f8ed9 100644 --- a/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx +++ b/packages/terra-clinical-header/src/terra-dev-site/doc/example/HyperlinkTitleHeader.jsx @@ -3,7 +3,7 @@ import Header from 'terra-clinical-header'; const HyperlinkTitleHeader = () => ( // eslint-disable-next-line no-console -
{ console.log('Hyperlink title clicked'); }} text="John Smith" level={3} /> +
{ console.log('Hyperlink title clicked'); }} text="John Smith" level={3} /> ); export default HyperlinkTitleHeader; diff --git a/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx b/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx index 60e422c23..d5c5e6a41 100644 --- a/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx +++ b/packages/terra-clinical-header/src/terra-dev-site/test/clinical-header/HyperlinkTitleHeader.test.jsx @@ -3,7 +3,7 @@ import React from 'react'; import Header from '../../../Header'; const HyperlinkTitleHeader = () => ( -
{}} text="John Smith" /> +
{}} text="John Smith" /> ); export default HyperlinkTitleHeader; diff --git a/packages/terra-clinical-header/tests/jest/Header.test.jsx b/packages/terra-clinical-header/tests/jest/Header.test.jsx index 910ae2bf5..238fa17bf 100644 --- a/packages/terra-clinical-header/tests/jest/Header.test.jsx +++ b/packages/terra-clinical-header/tests/jest/Header.test.jsx @@ -126,7 +126,7 @@ it('should render a header with default heading level when level not set', () => }); it('should render a header with hyperlink title', () => { - const header = shallowWithIntl(
); + const header = shallowWithIntl(
); expect(header.find('h1').length).toEqual(1); const hyperlinkButton = header.find('InjectIntl(Hyperlink)');