Skip to content

Commit ede61d5

Browse files
committed
test(e2e crypto): enter only password
1 parent 2c28180 commit ede61d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

playwright/e2e/crypto/crypto.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ test.describe("Cryptography", function () {
113113

114114
test("Can reset cross-signing keys", async ({ page, app, user: aliceCredentials }) => {
115115
await app.client.bootstrapCrossSigning(aliceCredentials);
116-
const secretStorageKey = await enableKeyBackup(app);
116+
await enableKeyBackup(app);
117117

118118
// Fetch the current cross-signing keys
119119
async function fetchMasterKey() {
@@ -137,8 +137,8 @@ test.describe("Cryptography", function () {
137137
// Confirm
138138
await encryptionTab.getByRole("button", { name: "Continue" }).click();
139139

140-
// Enter the 4S key
141-
await page.getByPlaceholder("Recovery Key").fill(secretStorageKey);
140+
// Enter the password
141+
await page.getByPlaceholder("Password").fill(aliceCredentials.password);
142142
await page.getByRole("button", { name: "Continue" }).click();
143143

144144
await expect(async () => {

0 commit comments

Comments
 (0)