@empiricalrun/test-gen 0.38.53 → 0.38.54

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,5 +1,11 @@
1
1
  # @empiricalrun/test-gen
2
2
 
3
+ ## 0.38.54
4
+
5
+ ### Patch Changes
6
+
7
+ - 1041dc0: fix: run test-gen always in headed mode
8
+
3
9
  ## 0.38.53
4
10
 
5
11
  ### Patch Changes
@@ -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,iBAgFnB"}
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,iBA6EnB"}
@@ -45,10 +45,7 @@ async function generateTestsUsingMasterAgent({ testFilePath, filePathToUpdate, p
45
45
  if (!isTestRunTriggeredForTeardown) {
46
46
  await teardowns.skipAll();
47
47
  }
48
- let command = `npx playwright test ${testFilePath} --retries 0 --project ${project} --timeout 0`;
49
- if (!process.env.CI) {
50
- command = command.concat(` --headed`);
51
- }
48
+ const command = `npx playwright test ${testFilePath} --retries 0 --project ${project} --timeout 0 --headed`;
52
49
  let isError = false, error = "";
53
50
  try {
54
51
  await (0, exec_1.cmd)(command.split(" "), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empiricalrun/test-gen",
3
- "version": "0.38.53",
3
+ "version": "0.38.54",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -60,7 +60,7 @@
60
60
  "mime": "^4.0.4",
61
61
  "minimatch": "^10.0.1",
62
62
  "nanoid": "^5.0.7",
63
- "openai": "^4.47.2",
63
+ "openai": "4.47.2",
64
64
  "picocolors": "^1.0.1",
65
65
  "playwright": "1.47.1",
66
66
  "prettier": "^3.2.5",
@@ -71,8 +71,8 @@
71
71
  "tsx": "^4.16.2",
72
72
  "typescript": "^5.3.3",
73
73
  "@empiricalrun/llm": "^0.9.29",
74
- "@empiricalrun/r2-uploader": "^0.3.7",
75
- "@empiricalrun/reporter": "^0.21.6"
74
+ "@empiricalrun/reporter": "^0.21.6",
75
+ "@empiricalrun/r2-uploader": "^0.3.7"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@playwright/test": "1.47.1",