test keyboard shortcuts from help menu (#3553)

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2024-08-19 20:17:23 -07:00
committed by GitHub
parent 2541e0c0ea
commit d05f3c00b9
2 changed files with 73 additions and 1 deletions

View File

@ -23,7 +23,10 @@ export function HelpMenu(props: React.PropsWithChildren) {
return (
<Popover className="relative">
<Popover.Button className="grid p-0 m-0 border-none rounded-full place-content-center">
<Popover.Button
className="grid p-0 m-0 border-none rounded-full place-content-center"
data-testid="help-button"
>
<CustomIcon
name="questionMark"
className="rounded-full w-7 h-7 bg-chalkboard-110 dark:bg-chalkboard-80 text-chalkboard-10"
@ -95,6 +98,7 @@ export function HelpMenu(props: React.PropsWithChildren) {
: PATHS.HOME + PATHS.SETTINGS_KEYBINDINGS
navigate(targetPath)
}}
data-testid="keybindings-button"
>
Keyboard shortcuts
</HelpMenuItem>