File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -186,9 +186,10 @@ EnTeteSimple.args = {
186186EnTeteSimple . play = async ( { canvasElement } ) => {
187187 const canvas = within ( canvasElement )
188188 const links = canvas . getAllByRole ( 'link' )
189- expect ( links ) . toHaveLength ( 4 )
189+ expect ( links ) . toHaveLength ( 5 )
190190
191191 const knownLinks = [
192+ { name : '' , href : EnTeteSimple . args . homeTo } ,
192193 { name : '' , href : EnTeteSimple . args . homeTo } ,
193194 ...EnTeteSimple . args . quickLinks . map ( ( { to } ) => ( { href : to } ) ) ,
194195 ]
Original file line number Diff line number Diff line change @@ -96,10 +96,15 @@ provide(registerNavigationLinkKey, () => {
9696 <div class =" fr-header__brand fr-enlarge-link" >
9797 <div class =" fr-header__brand-top" >
9898 <div class =" fr-header__logo" >
99- <DsfrLogo
100- :logo-text =" logoText"
101- data-testid =" header-logo"
102- />
99+ <RouterLink
100+ :to =" homeTo"
101+ :title =" `${homeLabel} - ${serviceTitle}`"
102+ >
103+ <DsfrLogo
104+ :logo-text =" logoText"
105+ data-testid =" header-logo"
106+ />
107+ </RouterLink >
103108 </div >
104109 <div
105110 v-if =" isWithSlotOperator"
You can’t perform that action at this time.
0 commit comments