fix(desktop): clarify data deletion action (#2208)

Signed-off-by: npub1rf6fvdj6ut0c4kcmjv4p5mmgh89nj58n69uu3fz3cvk3jn500hqs7emz79 <1a7496365ae2df8adb1b932a1a6f68b9cb3950f3d179c8a451c32d194e8f7dc1@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: npub1rf6fvdj6ut0c4kcmjv4p5mmgh89nj58n69uu3fz3cvk3jn500hqs7emz79 <1a7496365ae2df8adb1b932a1a6f68b9cb3950f3d179c8a451c32d194e8f7dc1@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
Bradley Axen
2026-07-20 22:30:54 -07:00
committed by GitHub
parent 1470ac3a4c
commit e315c4982f
2 changed files with 4 additions and 1 deletions

View File

@@ -1018,7 +1018,7 @@ export function ProfileSettingsCard({
});
}}
>
{isSignOutPending ? "Signing out…" : "Sign Out"}
{isSignOutPending ? "Signing out…" : "Delete My Data"}
</AlertDialogAction>
</AlertDialogFooter>
</AlertDialogContent>

View File

@@ -58,6 +58,9 @@ test.describe("signout screenshots", () => {
const dialog = page.getByRole("alertdialog");
await expect(dialog).toBeVisible({ timeout: 5_000 });
await expect(dialog.getByText("Sign out and wipe all data?")).toBeVisible();
await expect(
dialog.getByRole("button", { name: "Delete My Data" }),
).toBeVisible();
// Settle animations before capture.
await page.evaluate(() =>