File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ describe('ButtonOrLink', () => {
1313 render ( < ButtonOrLink onClick = { clickHandler } > Text</ ButtonOrLink > ) ;
1414 const button = screen . getByRole ( 'button' ) ;
1515 expect ( button ) . toBeInstanceOf ( HTMLButtonElement ) ;
16- expect ( button ) . toContainHTML ( '<button>Text</button>' ) ;
16+ expect ( button ) . toContainHTML ( '<button aria-disabled="false" >Text</button>' ) ;
1717 fireEvent . click ( button ) ;
1818 expect ( clickHandler ) . toHaveBeenCalled ( ) ;
1919 } ) ;
Original file line number Diff line number Diff line change @@ -461,6 +461,32 @@ exports[`Nav renders editor version for desktop 1`] = `
461461 <li >
462462 New
463463 </li >
464+ <li >
465+ Save
466+ <span
467+ class = " nav__keyboard-shortcut"
468+ >
469+ Ctrl+S
470+ </span >
471+ </li >
472+ <li >
473+ Duplicate
474+ </li >
475+ <li >
476+ Share
477+ </li >
478+ <li >
479+ Download
480+ </li >
481+ <li >
482+ Open
483+ </li >
484+ <li >
485+ Add to Collection
486+ </li >
487+ <li >
488+ Examples
489+ </li >
464490 </ul >
465491 </li >
466492 <li
You can’t perform that action at this time.
0 commit comments