Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2025-04-11 13:45:25 +01:00
parent c956c87337
commit 8919eef7c5
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
3 changed files with 6 additions and 4 deletions

View File

@ -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<string | null>(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"],

View File

@ -67,7 +67,7 @@ export const test = base.extend<Fixtures>({
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) {

View File

@ -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";
/**