diff --git a/playwright/e2e/launch/launch.spec.ts b/playwright/e2e/launch/launch.spec.ts index 6f22eb51..5c531b79 100644 --- a/playwright/e2e/launch/launch.spec.ts +++ b/playwright/e2e/launch/launch.spec.ts @@ -46,8 +46,8 @@ test.describe("App launch", () => { ).resolves.toBeTruthy(); }); - test("should launch and render the welcome view successfully and support keytar", async ({ page }) => { - // test.skip(platform() === "linux", "This test does not yet support Linux"); + test("should launch and render the welcome view successfully and support safeStorage", async ({ page }) => { + test.skip(platform() === "linux", "This test does not yet support Linux"); await expect( page.evaluate(async () => { @@ -56,6 +56,8 @@ test.describe("App launch", () => { ).resolves.not.toBeNull(); }); + // TODO test keytar migration + test.describe("--no-update", () => { test.use({ extraArgs: ["--no-update"], diff --git a/playwright/element-desktop-test.ts b/playwright/element-desktop-test.ts index bf6fd9c3..3d8d4f54 100644 --- a/playwright/element-desktop-test.ts +++ b/playwright/element-desktop-test.ts @@ -67,7 +67,7 @@ export const test = base.extend({ await fs.rm(tmpDir, { recursive: true }); }, app: async ({ tmpDir, extraEnv, extraArgs, stdout, stderr }, use) => { - const args = ["--profile-dir", tmpDir, '--password-store="basic"']; + const args = ["--profile-dir", tmpDir]; const executablePath = process.env["ELEMENT_DESKTOP_EXECUTABLE"]; if (!executablePath) { diff --git a/src/store.ts b/src/store.ts index 86d00b0a..98b57fd5 100644 --- a/src/store.ts +++ b/src/store.ts @@ -15,7 +15,7 @@ limitations under the License. */ import ElectronStore from "electron-store"; -import * as keytar from "keytar-forked"; +import keytar from "keytar-forked"; import { app, safeStorage } from "electron"; /**