From 98db3421012801186833145bf21616b830e5bf25 Mon Sep 17 00:00:00 2001 From: Wilhelm Klopp Date: Mon, 17 Jul 2023 12:04:33 +0100 Subject: [PATCH 1/4] Use version 1.79.2 --- src/test/runTest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/runTest.ts b/src/test/runTest.ts index cbc60c5..12fe887 100644 --- a/src/test/runTest.ts +++ b/src/test/runTest.ts @@ -13,7 +13,7 @@ async function main() { const extensionTestsPath = path.resolve(__dirname, './suite/index'); // Download VS Code, unzip it and run the integration test - await runTests({ version: "insiders", extensionDevelopmentPath, extensionTestsPath }); + await runTests({ version: "1.79.2", extensionDevelopmentPath, extensionTestsPath }); } catch (err) { console.error('Failed to run tests', err); process.exit(1); From 052a7f8ce201674ee69ecd7b0a6112fea41f20cd Mon Sep 17 00:00:00 2001 From: Wilhelm Klopp Date: Mon, 17 Jul 2023 12:05:52 +0100 Subject: [PATCH 2/4] Set extension to be available in 1.79 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e6b7eaf..2f8d01b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "description": "", "version": "0.0.1", "engines": { - "vscode": "^1.80.0" + "vscode": "^1.79.0" }, "categories": [ "Other" From 760eb41983c65d6aa6bd3b9c3a8a170a6c9ddb9d Mon Sep 17 00:00:00 2001 From: Wilhelm Klopp Date: Mon, 17 Jul 2023 12:08:59 +0100 Subject: [PATCH 3/4] Disable gpu --- src/test/runTest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/runTest.ts b/src/test/runTest.ts index 12fe887..2cbb0aa 100644 --- a/src/test/runTest.ts +++ b/src/test/runTest.ts @@ -13,7 +13,7 @@ async function main() { const extensionTestsPath = path.resolve(__dirname, './suite/index'); // Download VS Code, unzip it and run the integration test - await runTests({ version: "1.79.2", extensionDevelopmentPath, extensionTestsPath }); + await runTests({ version: "1.79.2", extensionDevelopmentPath, extensionTestsPath, launchArgs: ["--disable-gpu"] }); } catch (err) { console.error('Failed to run tests', err); process.exit(1); From 8d84c947f388d9d8ff00208b67e991206365c04d Mon Sep 17 00:00:00 2001 From: Wilhelm Klopp Date: Mon, 17 Jul 2023 12:45:58 +0100 Subject: [PATCH 4/4] --disable-keytar --- src/test/runTest.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/test/runTest.ts b/src/test/runTest.ts index 2cbb0aa..c4003ec 100644 --- a/src/test/runTest.ts +++ b/src/test/runTest.ts @@ -13,7 +13,12 @@ async function main() { const extensionTestsPath = path.resolve(__dirname, './suite/index'); // Download VS Code, unzip it and run the integration test - await runTests({ version: "1.79.2", extensionDevelopmentPath, extensionTestsPath, launchArgs: ["--disable-gpu"] }); + await runTests({ + version: "1.79.2", + extensionDevelopmentPath, + extensionTestsPath, + launchArgs: ["--disable-gpu", "--disable-keytar"] + }); } catch (err) { console.error('Failed to run tests', err); process.exit(1);