diff --git a/extensions/vscode/e2e/TestUtils.ts b/extensions/vscode/e2e/TestUtils.ts index 5b62edaa7..c6dd6676b 100644 --- a/extensions/vscode/e2e/TestUtils.ts +++ b/extensions/vscode/e2e/TestUtils.ts @@ -2,8 +2,15 @@ import { expect } from "chai"; import { Key } from "vscode-extension-tester"; import { DEFAULT_TIMEOUT } from "./constants"; +import path = require("path"); export class TestUtils { + public static CONTINUE_GLOBAL_DIR = process.env.CONTINUE_GLOBAL_DIR ?? ""; + + public static getGlobalContextFilePath(): string { + return path.join(TestUtils.CONTINUE_GLOBAL_DIR, "index", "globalContext.json"); + } + /** * In many cases it might be more useful to use existing Selenium * utilities. For example: