mirror of
https://github.com/block/buzz.git
synced 2026-11-13 12:51:34 +00:00
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:
@@ -1018,7 +1018,7 @@ export function ProfileSettingsCard({
|
||||
});
|
||||
}}
|
||||
>
|
||||
{isSignOutPending ? "Signing out…" : "Sign Out"}
|
||||
{isSignOutPending ? "Signing out…" : "Delete My Data"}
|
||||
</AlertDialogAction>
|
||||
</AlertDialogFooter>
|
||||
</AlertDialogContent>
|
||||
|
||||
@@ -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(() =>
|
||||
|
||||
Reference in New Issue
Block a user