UI test for change password

Help docs
This commit is contained in:
Jamie Curnow
2023-03-01 16:34:52 +10:00
parent cfbd7f05d0
commit 91fe448782
7 changed files with 61 additions and 17 deletions

View File

@ -70,6 +70,7 @@ function NavigationHeader({
<Box pl={2}>
<Menu>
<MenuButton
data-testid="profile-menu"
as={Button}
rounded="full"
variant="link"
@ -84,6 +85,7 @@ function NavigationHeader({
{intl.formatMessage({ id: "profile.title" })}
</MenuItem>
<MenuItem
data-testid="profile-menu-change-password"
icon={<Icon as={FiLock} />}
onClick={passwordDisclosure.onOpen}>
{intl.formatMessage({ id: "change-password" })}