add more website tests, support functions, login

This commit is contained in:
Francis Cao 2024-03-01 13:00:59 -08:00
parent e5c19482ab
commit 72090d778b
11 changed files with 169 additions and 59 deletions

View file

@ -25,7 +25,7 @@ export function ProfileButton() {
return (
<PopupTrigger>
<Button data-cy="button-profile" variant="quiet">
<Button data-test="button-profile" variant="quiet">
<Icon>
<Icons.Profile />
</Icon>
@ -41,7 +41,7 @@ export function ProfileButton() {
<Text>{formatMessage(labels.profile)}</Text>
</Item>
{!cloudMode && (
<Item data-cy="item-logout" key="logout" className={styles.item}>
<Item data-test="item-logout" key="logout" className={styles.item}>
<Icon>
<Icons.Logout />
</Icon>