test keyboard shortcuts from help menu (#3553)
Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user