testdriverai 7.9.177-test → 7.9.178-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,34 +22,34 @@ describe("Launch VS Code on Linux", () => {
|
|
|
22
22
|
},
|
|
23
23
|
);
|
|
24
24
|
|
|
25
|
-
it.skipIf(!isLinux)(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
// it.skipIf(!isLinux)(
|
|
26
|
+
// "should install and use a VS Code extension",
|
|
27
|
+
// async (context) => {
|
|
28
|
+
// const testdriver = TestDriver(context, { ...getDefaults(context) });
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
// // Launch VS Code with the Prettier extension installed
|
|
31
|
+
// await testdriver.provision.vscode({
|
|
32
|
+
// extensions: ["esbenp.prettier-vscode"],
|
|
33
|
+
// });
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
// const vsCodeWindow = await testdriver.find(
|
|
36
|
+
// "Visual Studio Code window",
|
|
37
|
+
// { timeout: 60000 }
|
|
38
|
+
// );
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
// expect(vsCodeWindow.found()).toBeTruthy();
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
// // Open the extensions panel to verify Prettier is installed
|
|
43
|
+
// await testdriver.pressKeys(["ctrl", "shift", "x"]);
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
);
|
|
45
|
+
// // Wait for extensions panel to open
|
|
46
|
+
// await new Promise((resolve) => setTimeout(resolve, 2000));
|
|
47
|
+
|
|
48
|
+
// // Assert that Prettier extension is visible in the installed extensions
|
|
49
|
+
// const prettierVisible = await testdriver.assert(
|
|
50
|
+
// "Prettier extension is visible in the extensions panel or sidebar",
|
|
51
|
+
// );
|
|
52
|
+
// expect(prettierVisible).toBeTruthy();
|
|
53
|
+
// },
|
|
54
|
+
// );
|
|
55
55
|
});
|