@@ -12,8 +12,8 @@ const { ansiRegExp, base64EncodeFile, markdownToAnsi } = require('../utils')
12
12
const MAX_DATA_LENGTH = 5000
13
13
14
14
const defaultConfig = {
15
- clusterize : 2 ,
16
- analyze : 3 ,
15
+ clusterize : 5 ,
16
+ analyze : 2 ,
17
17
vision : false ,
18
18
categories : [
19
19
'Browser connection error / browser crash' ,
@@ -64,17 +64,18 @@ const defaultConfig = {
64
64
If you identify that all tests in the group have the same tag, add this tag to the group report, otherwise ignore TAG section.
65
65
If you identify that all tests in the group have the same suite, add this suite to the group report, otherwise ignore SUITE section.
66
66
Pick different emojis for each group.
67
- Do not include group into report if it has only one test in affected tests section.
67
+ Order groups by the number of tests in the group.
68
+ If group has one test, skip that group.
68
69
69
70
Provide list of groups in following format:
70
71
71
72
_______________________________
72
73
73
- ## Group <group_number>
74
+ ## Group <group_number> <emoji>
74
75
76
+ * SUMMARY <summary_of_errors>
75
77
* CATEGORY <category_of_failure>
76
78
* ERROR <error_message_1>, <error_message_2>, ...
77
- * SUMMARY <summary_of_errors>
78
79
* STEP <step_of_failure> (use CodeceptJS format I.click(), I.see(), etc; if all failures happend on the same step)
79
80
* SUITE <suite_title>, <suite_title> (if SUITE is present, and if all tests in the group have the same suite or suites)
80
81
* TAG <tag> (if TAG is present, and if all tests in the group have the same tag)
@@ -126,14 +127,16 @@ const defaultConfig = {
126
127
Do not get to details, be concise.
127
128
If there is failed step, just write it in STEPS section.
128
129
If you have suggestions for the test, write them in SUMMARY section.
130
+ Do not be too technical in SUMMARY section.
129
131
Inside SUMMARY write exact values, if you have suggestions, explain which information you used to suggest.
130
132
Be concise, each section should not take more than one sentence.
131
133
132
134
Response format:
133
135
136
+ * SUMMARY <explanation_of_failure>
137
+ * ERROR <error_message_1>, <error_message_2>, ...
134
138
* CATEGORY <category_of_failure>
135
139
* STEPS <step_of_failure>
136
- * SUMMARY <explanation_of_failure>
137
140
138
141
Do not add any other sections or explanations. Only CATEGORY, SUMMARY, STEPS.
139
142
${ config . vision ? 'Also a screenshot of the page is attached to the prompt.' : '' }
@@ -153,11 +156,6 @@ const defaultConfig = {
153
156
} )
154
157
}
155
158
156
- messages . push ( {
157
- role : 'assistant' ,
158
- content : `## ` ,
159
- } )
160
-
161
159
return messages
162
160
} ,
163
161
} ,
0 commit comments