diff --git a/src/extension.ts b/src/extension.ts index 109e316..e4e2f28 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -241,7 +241,7 @@ class TestCafeTestController { this.lastType = type; this.lastName = name; - var args = [browser, filePath]; + var args = [browser, vscode.workspace.asRelativePath(filePath)]; var customArguments = vscode.workspace.getConfiguration("testcafeTestRunner").get("customArguments"); if(typeof(customArguments) === "string") { @@ -281,4 +281,4 @@ class TestCafeTestController { dispose() { } -} \ No newline at end of file +}