@empiricalrun/test-gen 0.38.47 → 0.38.48
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 +6 -0
- package/dist/agent/codegen/repo-edit.js +5 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -50,24 +50,24 @@ async function repoEditAgent({ trace, task, }) {
|
|
|
50
50
|
{
|
|
51
51
|
role: "system",
|
|
52
52
|
content: `
|
|
53
|
-
You are a software test engineer who is given a task to update code in a Playwright repository.
|
|
53
|
+
You are a software test engineer who is given a task to update code in a Playwright test repository.
|
|
54
54
|
You will be provided with current test files, fixtures and page object models for you to use and update code as per the task provided to you.
|
|
55
55
|
You need to respond with file path and updated code block inside the file.
|
|
56
56
|
|
|
57
57
|
Directory structure for the repository:
|
|
58
58
|
└── /
|
|
59
59
|
├── tests/
|
|
60
|
-
|
|
61
|
-
│
|
|
60
|
+
├────test-data/
|
|
61
|
+
│ └── index.ts
|
|
62
62
|
├── pages/
|
|
63
63
|
├── playwright.config.ts
|
|
64
|
-
├──
|
|
64
|
+
├── app_knowledge.md
|
|
65
65
|
├── .eslintrc.js
|
|
66
66
|
├── package.json
|
|
67
67
|
└── tsconfig.json
|
|
68
68
|
|
|
69
69
|
Explanation of repository structure:
|
|
70
|
-
- tests: this is a directory where all tests and fixtures are kept.
|
|
70
|
+
- tests: this is a directory where all tests and fixtures are kept. All spec files here end with ".spec.ts" as naming convention. There is an exception for Playwright fixtures file. Fixtures file is named as "fixtures.ts"
|
|
71
71
|
- test-data: this is a directory where all the test data are kept.
|
|
72
72
|
- pages: this is a directory where all reusable page object model methods are kept. Page object model methods are written in a pure functional convention. These methods are reusable methods created to be used across tests. This is also a directory where all the utility methods are kept which can be executed independent of the Playwright tests.
|
|
73
73
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@empiricalrun/test-gen",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.48",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"tsx": "^4.16.2",
|
|
73
73
|
"typescript": "^5.3.3",
|
|
74
74
|
"@empiricalrun/llm": "^0.9.28",
|
|
75
|
-
"@empiricalrun/
|
|
76
|
-
"@empiricalrun/
|
|
75
|
+
"@empiricalrun/r2-uploader": "^0.3.7",
|
|
76
|
+
"@empiricalrun/reporter": "^0.21.6"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@types/detect-port": "^1.3.5",
|