Localazy Download (#32808)

* [create-pull-request] automated change

* test: update SC tests

* test: update SC screenshots

* test: update EW snapshots

* test: update EW tests

* test: update EW e2e tests

---------

Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
This commit is contained in:
ElementRobot
2026-03-18 15:53:28 +00:00
committed by GitHub
co-authored by t3chguy Florian Duros
parent 2128c1884c
commit 8a38a2fe4a
105 changed files with 535 additions and 836 deletions
@@ -92,7 +92,7 @@ describe("CompleteSecurity", () => {
await act(async () => panel.getByRole("button", { name: "Can't confirm?" }).click());
// Then the reset identity dialog appears
expect(screen.getByRole("heading", { name: "You need to reset your identity" })).toBeInTheDocument();
expect(screen.getByRole("heading", { name: "You need to reset your digital identity" })).toBeInTheDocument();
expect(panel.getByRole("button", { name: "Continue" })).toBeInTheDocument();
});
@@ -117,7 +117,7 @@ describe("CompleteSecurity", () => {
// Then the reset identity dialog appears, and should have a different
// title from when there were no verification methods available.
expect(
screen.getByRole("heading", { name: "Are you sure you want to reset your identity?" }),
screen.getByRole("heading", { name: "Are you sure you want to reset your digital identity?" }),
).toBeInTheDocument();
});
@@ -142,7 +142,7 @@ describe("CompleteSecurity", () => {
// Then the reset identity dialog appears, and should have a different
// title from when there were no verification methods available.
expect(
screen.getByRole("heading", { name: "Are you sure you want to reset your identity?" }),
screen.getByRole("heading", { name: "Are you sure you want to reset your digital identity?" }),
).toBeInTheDocument();
});
});
@@ -367,16 +367,16 @@ describe("<ForgotPassword>", () => {
});
});
describe("and clicking »Sign out of all devices« and »Reset password«", () => {
describe("and clicking »Remove other devices« and »Reset password«", () => {
beforeEach(async () => {
await click(screen.getByText("Sign out of all devices"));
await click(screen.getByText("Remove other devices"));
await click(screen.getByText("Reset password"));
});
it("should show the sign out warning dialog", async () => {
it("should show the removing warning dialog", async () => {
await expect(
screen.findByText(
"Signing out your devices will delete the message encryption keys stored on them, making encrypted chat history unreadable.",
"Removing your devices will delete the message encryption keys stored on them, making encrypted chat history unreadable.",
),
).resolves.toBeInTheDocument();
@@ -71,7 +71,7 @@ exports[`CompleteSecurity Allows verifying with another device if one is availab
<h2
class="_typography_6v6n8_153 _font-heading-sm-semibold_6v6n8_93"
>
Confirm your identity
Confirm your digital identity
</h2>
</div>
<div
@@ -146,7 +146,7 @@ exports[`CompleteSecurity Allows verifying with another device if one is availab
role="button"
tabindex="0"
>
Sign out
Remove this device
</button>
</div>
</div>
@@ -263,7 +263,7 @@ exports[`CompleteSecurity Allows verifying with recovery key if one is available
<h2
class="_typography_6v6n8_153 _font-heading-sm-semibold_6v6n8_93"
>
Confirm your identity
Confirm your digital identity
</h2>
</div>
<div
@@ -327,7 +327,7 @@ exports[`CompleteSecurity Allows verifying with recovery key if one is available
role="button"
tabindex="0"
>
Sign out
Remove this device
</button>
</div>
</div>