testdriverai 7.2.23 → 7.2.24
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.
package/docs/docs.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TestDriver SDK - Launch VS Code on Linux Test (Vitest)
|
|
3
|
-
* Tests launching Visual Studio Code on Debian/Ubuntu using provision.vscode()
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
1
|
import { describe, expect, it } from "vitest";
|
|
7
2
|
import { TestDriver } from "../../lib/vitest/hooks.mjs";
|
|
8
3
|
|
|
@@ -33,13 +28,13 @@ describe("Launch VS Code on Linux", () => {
|
|
|
33
28
|
await testdriver.provision.vscode({
|
|
34
29
|
extensions: ["esbenp.prettier-vscode"],
|
|
35
30
|
});
|
|
36
|
-
|
|
31
|
+
|
|
37
32
|
const vsCodeWindow = await testdriver.find(
|
|
38
33
|
"Visual Studio Code window",
|
|
39
34
|
{ timeout: 60000 }
|
|
40
35
|
);
|
|
41
|
-
|
|
42
|
-
expect(
|
|
36
|
+
|
|
37
|
+
expect(vsCodeWindow.found()).toBeTruthy();
|
|
43
38
|
|
|
44
39
|
// Open the extensions panel to verify Prettier is installed
|
|
45
40
|
await testdriver.pressKeys(["ctrl", "shift", "x"]);
|