@empiricalrun/test-gen 0.38.50 → 0.38.51
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/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/agent/browsing/run.ts"],"names":[],"mappings":"AAmBA,KAAK,iBAAiB,GAAG;IACvB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAsB,6BAA6B,CAAC,EAClD,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,GACjB,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/agent/browsing/run.ts"],"names":[],"mappings":"AAmBA,KAAK,iBAAiB,GAAG;IACvB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAsB,6BAA6B,CAAC,EAClD,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,GACjB,EAAE,iBAAiB,iBAgFnB"}
|
|
@@ -45,7 +45,7 @@ async function generateTestsUsingMasterAgent({ testFilePath, filePathToUpdate, p
|
|
|
45
45
|
if (!isTestRunTriggeredForTeardown) {
|
|
46
46
|
await teardowns.skipAll();
|
|
47
47
|
}
|
|
48
|
-
let command = `
|
|
48
|
+
let command = `npx playwright test ${testFilePath} --retries 0 --project ${project} --timeout 0`;
|
|
49
49
|
if (!process.env.CI) {
|
|
50
50
|
command = command.concat(` --headed`);
|
|
51
51
|
}
|
|
@@ -58,6 +58,7 @@ async function generateTestsUsingMasterAgent({ testFilePath, filePathToUpdate, p
|
|
|
58
58
|
// pass the test gen token so that the agent has the same configuration as cli
|
|
59
59
|
TEST_GEN_TOKEN: (0, utils_1.getTestConfigCliArg)(),
|
|
60
60
|
PAGE_VAR_NAME: pageVar || "page",
|
|
61
|
+
DISPLAY: ":99",
|
|
61
62
|
},
|
|
62
63
|
});
|
|
63
64
|
}
|