assuremind 1.5.2 → 1.6.0
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/README.md +12 -12
- package/dist/cli/index.js +129 -129
- package/dist/index.d.mts +137 -149
- package/dist/index.d.ts +137 -149
- package/dist/index.js +31 -31
- package/dist/index.mjs +32 -32
- package/docs/GETTING-STARTED.md +28 -12
- package/package.json +1 -1
- package/templates/docs/GETTING-STARTED.md +7 -6
- package/ui/dist/assets/index-6jqOR-Hh.js +1029 -0
- package/ui/dist/assets/index-BGDCUDyt.css +1 -0
- package/ui/dist/index.html +2 -2
- package/ui/dist/assets/index-CDdZfob4.css +0 -1
- package/ui/dist/assets/index-Dqfu_NfK.js +0 -1029
package/dist/index.d.mts
CHANGED
|
@@ -49,23 +49,10 @@ declare const ReportingConfigSchema: z.ZodObject<{
|
|
|
49
49
|
}>;
|
|
50
50
|
declare const AutotestConfigSchema: z.ZodObject<{
|
|
51
51
|
baseUrl: z.ZodString;
|
|
52
|
-
environment: z.ZodDefault<z.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
test: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
57
|
-
prod: z.ZodDefault<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
58
|
-
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
dev: string;
|
|
60
|
-
stage: string;
|
|
61
|
-
test: string;
|
|
62
|
-
prod: string;
|
|
63
|
-
}, {
|
|
64
|
-
dev?: string | undefined;
|
|
65
|
-
stage?: string | undefined;
|
|
66
|
-
test?: string | undefined;
|
|
67
|
-
prod?: string | undefined;
|
|
68
|
-
}>>;
|
|
52
|
+
environment: z.ZodDefault<z.ZodString>;
|
|
53
|
+
/** The list of environments this project defines (editable in Settings). */
|
|
54
|
+
environments: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
55
|
+
environmentUrls: z.ZodDefault<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
69
56
|
browsers: z.ZodArray<z.ZodEnum<["chromium", "firefox", "webkit"]>, "many">;
|
|
70
57
|
headless: z.ZodBoolean;
|
|
71
58
|
viewport: z.ZodDefault<z.ZodObject<{
|
|
@@ -126,19 +113,19 @@ declare const AutotestConfigSchema: z.ZodObject<{
|
|
|
126
113
|
studioPort: z.ZodNumber;
|
|
127
114
|
profiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
128
115
|
name: z.ZodString;
|
|
129
|
-
environment: z.
|
|
116
|
+
environment: z.ZodString;
|
|
130
117
|
baseUrl: z.ZodString;
|
|
131
118
|
browsers: z.ZodArray<z.ZodEnum<["chromium", "firefox", "webkit"]>, "many">;
|
|
132
119
|
headless: z.ZodOptional<z.ZodBoolean>;
|
|
133
120
|
}, "strip", z.ZodTypeAny, {
|
|
134
121
|
baseUrl: string;
|
|
135
|
-
environment:
|
|
122
|
+
environment: string;
|
|
136
123
|
browsers: ("chromium" | "firefox" | "webkit")[];
|
|
137
124
|
name: string;
|
|
138
125
|
headless?: boolean | undefined;
|
|
139
126
|
}, {
|
|
140
127
|
baseUrl: string;
|
|
141
|
-
environment:
|
|
128
|
+
environment: string;
|
|
142
129
|
browsers: ("chromium" | "firefox" | "webkit")[];
|
|
143
130
|
name: string;
|
|
144
131
|
headless?: boolean | undefined;
|
|
@@ -294,13 +281,9 @@ declare const AutotestConfigSchema: z.ZodObject<{
|
|
|
294
281
|
}>>;
|
|
295
282
|
}, "strip", z.ZodTypeAny, {
|
|
296
283
|
baseUrl: string;
|
|
297
|
-
environment:
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
stage: string;
|
|
301
|
-
test: string;
|
|
302
|
-
prod: string;
|
|
303
|
-
};
|
|
284
|
+
environment: string;
|
|
285
|
+
environments: string[];
|
|
286
|
+
environmentUrls: Record<string, string>;
|
|
304
287
|
browsers: ("chromium" | "firefox" | "webkit")[];
|
|
305
288
|
headless: boolean;
|
|
306
289
|
viewport: {
|
|
@@ -329,7 +312,7 @@ declare const AutotestConfigSchema: z.ZodObject<{
|
|
|
329
312
|
studioPort: number;
|
|
330
313
|
profiles: {
|
|
331
314
|
baseUrl: string;
|
|
332
|
-
environment:
|
|
315
|
+
environment: string;
|
|
333
316
|
browsers: ("chromium" | "firefox" | "webkit")[];
|
|
334
317
|
name: string;
|
|
335
318
|
headless?: boolean | undefined;
|
|
@@ -389,13 +372,9 @@ declare const AutotestConfigSchema: z.ZodObject<{
|
|
|
389
372
|
json: boolean;
|
|
390
373
|
};
|
|
391
374
|
studioPort: number;
|
|
392
|
-
environment?:
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
stage?: string | undefined;
|
|
396
|
-
test?: string | undefined;
|
|
397
|
-
prod?: string | undefined;
|
|
398
|
-
} | undefined;
|
|
375
|
+
environment?: string | undefined;
|
|
376
|
+
environments?: string[] | undefined;
|
|
377
|
+
environmentUrls?: Record<string, string> | undefined;
|
|
399
378
|
viewport?: {
|
|
400
379
|
width: number;
|
|
401
380
|
height: number;
|
|
@@ -403,7 +382,7 @@ declare const AutotestConfigSchema: z.ZodObject<{
|
|
|
403
382
|
pageLoad?: "commit" | "domcontentloaded" | "load" | "networkidle" | undefined;
|
|
404
383
|
profiles?: {
|
|
405
384
|
baseUrl: string;
|
|
406
|
-
environment:
|
|
385
|
+
environment: string;
|
|
407
386
|
browsers: ("chromium" | "firefox" | "webkit")[];
|
|
408
387
|
name: string;
|
|
409
388
|
headless?: boolean | undefined;
|
|
@@ -791,13 +770,13 @@ declare const StepResultSchema: z.ZodObject<{
|
|
|
791
770
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
792
771
|
body: z.ZodOptional<z.ZodString>;
|
|
793
772
|
}, "strip", z.ZodTypeAny, {
|
|
794
|
-
method: string;
|
|
795
773
|
url: string;
|
|
774
|
+
method: string;
|
|
796
775
|
headers?: Record<string, string> | undefined;
|
|
797
776
|
body?: string | undefined;
|
|
798
777
|
}, {
|
|
799
|
-
method: string;
|
|
800
778
|
url: string;
|
|
779
|
+
method: string;
|
|
801
780
|
headers?: Record<string, string> | undefined;
|
|
802
781
|
body?: string | undefined;
|
|
803
782
|
}>>;
|
|
@@ -809,24 +788,24 @@ declare const StepResultSchema: z.ZodObject<{
|
|
|
809
788
|
duration: z.ZodNumber;
|
|
810
789
|
}, "strip", z.ZodTypeAny, {
|
|
811
790
|
status: number;
|
|
812
|
-
statusText: string;
|
|
813
791
|
duration: number;
|
|
792
|
+
statusText: string;
|
|
814
793
|
headers?: Record<string, string> | undefined;
|
|
815
794
|
body?: string | undefined;
|
|
816
795
|
}, {
|
|
817
796
|
status: number;
|
|
818
|
-
statusText: string;
|
|
819
797
|
duration: number;
|
|
798
|
+
statusText: string;
|
|
820
799
|
headers?: Record<string, string> | undefined;
|
|
821
800
|
body?: string | undefined;
|
|
822
801
|
}>>;
|
|
823
802
|
navigatedToUrl: z.ZodOptional<z.ZodString>;
|
|
824
803
|
auditUrl: z.ZodOptional<z.ZodString>;
|
|
825
804
|
}, "strip", z.ZodTypeAny, {
|
|
826
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
827
805
|
code: string;
|
|
828
|
-
|
|
806
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
829
807
|
duration: number;
|
|
808
|
+
instruction: string;
|
|
830
809
|
stepId: string;
|
|
831
810
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
832
811
|
error?: string | undefined;
|
|
@@ -834,25 +813,25 @@ declare const StepResultSchema: z.ZodObject<{
|
|
|
834
813
|
healed?: boolean | undefined;
|
|
835
814
|
healedCode?: string | undefined;
|
|
836
815
|
apiRequest?: {
|
|
837
|
-
method: string;
|
|
838
816
|
url: string;
|
|
817
|
+
method: string;
|
|
839
818
|
headers?: Record<string, string> | undefined;
|
|
840
819
|
body?: string | undefined;
|
|
841
820
|
} | undefined;
|
|
842
821
|
apiResponse?: {
|
|
843
822
|
status: number;
|
|
844
|
-
statusText: string;
|
|
845
823
|
duration: number;
|
|
824
|
+
statusText: string;
|
|
846
825
|
headers?: Record<string, string> | undefined;
|
|
847
826
|
body?: string | undefined;
|
|
848
827
|
} | undefined;
|
|
849
828
|
navigatedToUrl?: string | undefined;
|
|
850
829
|
auditUrl?: string | undefined;
|
|
851
830
|
}, {
|
|
852
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
853
831
|
code: string;
|
|
854
|
-
|
|
832
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
855
833
|
duration: number;
|
|
834
|
+
instruction: string;
|
|
856
835
|
stepId: string;
|
|
857
836
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
858
837
|
error?: string | undefined;
|
|
@@ -860,15 +839,15 @@ declare const StepResultSchema: z.ZodObject<{
|
|
|
860
839
|
healed?: boolean | undefined;
|
|
861
840
|
healedCode?: string | undefined;
|
|
862
841
|
apiRequest?: {
|
|
863
|
-
method: string;
|
|
864
842
|
url: string;
|
|
843
|
+
method: string;
|
|
865
844
|
headers?: Record<string, string> | undefined;
|
|
866
845
|
body?: string | undefined;
|
|
867
846
|
} | undefined;
|
|
868
847
|
apiResponse?: {
|
|
869
848
|
status: number;
|
|
870
|
-
statusText: string;
|
|
871
849
|
duration: number;
|
|
850
|
+
statusText: string;
|
|
872
851
|
headers?: Record<string, string> | undefined;
|
|
873
852
|
body?: string | undefined;
|
|
874
853
|
} | undefined;
|
|
@@ -896,13 +875,13 @@ declare const TestCaseResultSchema: z.ZodObject<{
|
|
|
896
875
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
897
876
|
body: z.ZodOptional<z.ZodString>;
|
|
898
877
|
}, "strip", z.ZodTypeAny, {
|
|
899
|
-
method: string;
|
|
900
878
|
url: string;
|
|
879
|
+
method: string;
|
|
901
880
|
headers?: Record<string, string> | undefined;
|
|
902
881
|
body?: string | undefined;
|
|
903
882
|
}, {
|
|
904
|
-
method: string;
|
|
905
883
|
url: string;
|
|
884
|
+
method: string;
|
|
906
885
|
headers?: Record<string, string> | undefined;
|
|
907
886
|
body?: string | undefined;
|
|
908
887
|
}>>;
|
|
@@ -914,24 +893,24 @@ declare const TestCaseResultSchema: z.ZodObject<{
|
|
|
914
893
|
duration: z.ZodNumber;
|
|
915
894
|
}, "strip", z.ZodTypeAny, {
|
|
916
895
|
status: number;
|
|
917
|
-
statusText: string;
|
|
918
896
|
duration: number;
|
|
897
|
+
statusText: string;
|
|
919
898
|
headers?: Record<string, string> | undefined;
|
|
920
899
|
body?: string | undefined;
|
|
921
900
|
}, {
|
|
922
901
|
status: number;
|
|
923
|
-
statusText: string;
|
|
924
902
|
duration: number;
|
|
903
|
+
statusText: string;
|
|
925
904
|
headers?: Record<string, string> | undefined;
|
|
926
905
|
body?: string | undefined;
|
|
927
906
|
}>>;
|
|
928
907
|
navigatedToUrl: z.ZodOptional<z.ZodString>;
|
|
929
908
|
auditUrl: z.ZodOptional<z.ZodString>;
|
|
930
909
|
}, "strip", z.ZodTypeAny, {
|
|
931
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
932
910
|
code: string;
|
|
933
|
-
|
|
911
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
934
912
|
duration: number;
|
|
913
|
+
instruction: string;
|
|
935
914
|
stepId: string;
|
|
936
915
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
937
916
|
error?: string | undefined;
|
|
@@ -939,25 +918,25 @@ declare const TestCaseResultSchema: z.ZodObject<{
|
|
|
939
918
|
healed?: boolean | undefined;
|
|
940
919
|
healedCode?: string | undefined;
|
|
941
920
|
apiRequest?: {
|
|
942
|
-
method: string;
|
|
943
921
|
url: string;
|
|
922
|
+
method: string;
|
|
944
923
|
headers?: Record<string, string> | undefined;
|
|
945
924
|
body?: string | undefined;
|
|
946
925
|
} | undefined;
|
|
947
926
|
apiResponse?: {
|
|
948
927
|
status: number;
|
|
949
|
-
statusText: string;
|
|
950
928
|
duration: number;
|
|
929
|
+
statusText: string;
|
|
951
930
|
headers?: Record<string, string> | undefined;
|
|
952
931
|
body?: string | undefined;
|
|
953
932
|
} | undefined;
|
|
954
933
|
navigatedToUrl?: string | undefined;
|
|
955
934
|
auditUrl?: string | undefined;
|
|
956
935
|
}, {
|
|
957
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
958
936
|
code: string;
|
|
959
|
-
|
|
937
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
960
938
|
duration: number;
|
|
939
|
+
instruction: string;
|
|
961
940
|
stepId: string;
|
|
962
941
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
963
942
|
error?: string | undefined;
|
|
@@ -965,15 +944,15 @@ declare const TestCaseResultSchema: z.ZodObject<{
|
|
|
965
944
|
healed?: boolean | undefined;
|
|
966
945
|
healedCode?: string | undefined;
|
|
967
946
|
apiRequest?: {
|
|
968
|
-
method: string;
|
|
969
947
|
url: string;
|
|
948
|
+
method: string;
|
|
970
949
|
headers?: Record<string, string> | undefined;
|
|
971
950
|
body?: string | undefined;
|
|
972
951
|
} | undefined;
|
|
973
952
|
apiResponse?: {
|
|
974
953
|
status: number;
|
|
975
|
-
statusText: string;
|
|
976
954
|
duration: number;
|
|
955
|
+
statusText: string;
|
|
977
956
|
headers?: Record<string, string> | undefined;
|
|
978
957
|
body?: string | undefined;
|
|
979
958
|
} | undefined;
|
|
@@ -1109,11 +1088,12 @@ declare const TestCaseResultSchema: z.ZodObject<{
|
|
|
1109
1088
|
}>, "many">>;
|
|
1110
1089
|
}, "strip", z.ZodTypeAny, {
|
|
1111
1090
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1091
|
+
duration: number;
|
|
1112
1092
|
steps: {
|
|
1113
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1114
1093
|
code: string;
|
|
1115
|
-
|
|
1094
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1116
1095
|
duration: number;
|
|
1096
|
+
instruction: string;
|
|
1117
1097
|
stepId: string;
|
|
1118
1098
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
1119
1099
|
error?: string | undefined;
|
|
@@ -1121,22 +1101,21 @@ declare const TestCaseResultSchema: z.ZodObject<{
|
|
|
1121
1101
|
healed?: boolean | undefined;
|
|
1122
1102
|
healedCode?: string | undefined;
|
|
1123
1103
|
apiRequest?: {
|
|
1124
|
-
method: string;
|
|
1125
1104
|
url: string;
|
|
1105
|
+
method: string;
|
|
1126
1106
|
headers?: Record<string, string> | undefined;
|
|
1127
1107
|
body?: string | undefined;
|
|
1128
1108
|
} | undefined;
|
|
1129
1109
|
apiResponse?: {
|
|
1130
1110
|
status: number;
|
|
1131
|
-
statusText: string;
|
|
1132
1111
|
duration: number;
|
|
1112
|
+
statusText: string;
|
|
1133
1113
|
headers?: Record<string, string> | undefined;
|
|
1134
1114
|
body?: string | undefined;
|
|
1135
1115
|
} | undefined;
|
|
1136
1116
|
navigatedToUrl?: string | undefined;
|
|
1137
1117
|
auditUrl?: string | undefined;
|
|
1138
1118
|
}[];
|
|
1139
|
-
duration: number;
|
|
1140
1119
|
caseId: string;
|
|
1141
1120
|
caseName: string;
|
|
1142
1121
|
browser: string;
|
|
@@ -1181,11 +1160,12 @@ declare const TestCaseResultSchema: z.ZodObject<{
|
|
|
1181
1160
|
dataRow?: Record<string, string> | undefined;
|
|
1182
1161
|
}, {
|
|
1183
1162
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1163
|
+
duration: number;
|
|
1184
1164
|
steps: {
|
|
1185
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1186
1165
|
code: string;
|
|
1187
|
-
|
|
1166
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1188
1167
|
duration: number;
|
|
1168
|
+
instruction: string;
|
|
1189
1169
|
stepId: string;
|
|
1190
1170
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
1191
1171
|
error?: string | undefined;
|
|
@@ -1193,22 +1173,21 @@ declare const TestCaseResultSchema: z.ZodObject<{
|
|
|
1193
1173
|
healed?: boolean | undefined;
|
|
1194
1174
|
healedCode?: string | undefined;
|
|
1195
1175
|
apiRequest?: {
|
|
1196
|
-
method: string;
|
|
1197
1176
|
url: string;
|
|
1177
|
+
method: string;
|
|
1198
1178
|
headers?: Record<string, string> | undefined;
|
|
1199
1179
|
body?: string | undefined;
|
|
1200
1180
|
} | undefined;
|
|
1201
1181
|
apiResponse?: {
|
|
1202
1182
|
status: number;
|
|
1203
|
-
statusText: string;
|
|
1204
1183
|
duration: number;
|
|
1184
|
+
statusText: string;
|
|
1205
1185
|
headers?: Record<string, string> | undefined;
|
|
1206
1186
|
body?: string | undefined;
|
|
1207
1187
|
} | undefined;
|
|
1208
1188
|
navigatedToUrl?: string | undefined;
|
|
1209
1189
|
auditUrl?: string | undefined;
|
|
1210
1190
|
}[];
|
|
1211
|
-
duration: number;
|
|
1212
1191
|
caseId: string;
|
|
1213
1192
|
caseName: string;
|
|
1214
1193
|
browser: string;
|
|
@@ -1278,13 +1257,13 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1278
1257
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1279
1258
|
body: z.ZodOptional<z.ZodString>;
|
|
1280
1259
|
}, "strip", z.ZodTypeAny, {
|
|
1281
|
-
method: string;
|
|
1282
1260
|
url: string;
|
|
1261
|
+
method: string;
|
|
1283
1262
|
headers?: Record<string, string> | undefined;
|
|
1284
1263
|
body?: string | undefined;
|
|
1285
1264
|
}, {
|
|
1286
|
-
method: string;
|
|
1287
1265
|
url: string;
|
|
1266
|
+
method: string;
|
|
1288
1267
|
headers?: Record<string, string> | undefined;
|
|
1289
1268
|
body?: string | undefined;
|
|
1290
1269
|
}>>;
|
|
@@ -1296,24 +1275,24 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1296
1275
|
duration: z.ZodNumber;
|
|
1297
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1298
1277
|
status: number;
|
|
1299
|
-
statusText: string;
|
|
1300
1278
|
duration: number;
|
|
1279
|
+
statusText: string;
|
|
1301
1280
|
headers?: Record<string, string> | undefined;
|
|
1302
1281
|
body?: string | undefined;
|
|
1303
1282
|
}, {
|
|
1304
1283
|
status: number;
|
|
1305
|
-
statusText: string;
|
|
1306
1284
|
duration: number;
|
|
1285
|
+
statusText: string;
|
|
1307
1286
|
headers?: Record<string, string> | undefined;
|
|
1308
1287
|
body?: string | undefined;
|
|
1309
1288
|
}>>;
|
|
1310
1289
|
navigatedToUrl: z.ZodOptional<z.ZodString>;
|
|
1311
1290
|
auditUrl: z.ZodOptional<z.ZodString>;
|
|
1312
1291
|
}, "strip", z.ZodTypeAny, {
|
|
1313
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1314
1292
|
code: string;
|
|
1315
|
-
|
|
1293
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1316
1294
|
duration: number;
|
|
1295
|
+
instruction: string;
|
|
1317
1296
|
stepId: string;
|
|
1318
1297
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
1319
1298
|
error?: string | undefined;
|
|
@@ -1321,25 +1300,25 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1321
1300
|
healed?: boolean | undefined;
|
|
1322
1301
|
healedCode?: string | undefined;
|
|
1323
1302
|
apiRequest?: {
|
|
1324
|
-
method: string;
|
|
1325
1303
|
url: string;
|
|
1304
|
+
method: string;
|
|
1326
1305
|
headers?: Record<string, string> | undefined;
|
|
1327
1306
|
body?: string | undefined;
|
|
1328
1307
|
} | undefined;
|
|
1329
1308
|
apiResponse?: {
|
|
1330
1309
|
status: number;
|
|
1331
|
-
statusText: string;
|
|
1332
1310
|
duration: number;
|
|
1311
|
+
statusText: string;
|
|
1333
1312
|
headers?: Record<string, string> | undefined;
|
|
1334
1313
|
body?: string | undefined;
|
|
1335
1314
|
} | undefined;
|
|
1336
1315
|
navigatedToUrl?: string | undefined;
|
|
1337
1316
|
auditUrl?: string | undefined;
|
|
1338
1317
|
}, {
|
|
1339
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1340
1318
|
code: string;
|
|
1341
|
-
|
|
1319
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1342
1320
|
duration: number;
|
|
1321
|
+
instruction: string;
|
|
1343
1322
|
stepId: string;
|
|
1344
1323
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
1345
1324
|
error?: string | undefined;
|
|
@@ -1347,15 +1326,15 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1347
1326
|
healed?: boolean | undefined;
|
|
1348
1327
|
healedCode?: string | undefined;
|
|
1349
1328
|
apiRequest?: {
|
|
1350
|
-
method: string;
|
|
1351
1329
|
url: string;
|
|
1330
|
+
method: string;
|
|
1352
1331
|
headers?: Record<string, string> | undefined;
|
|
1353
1332
|
body?: string | undefined;
|
|
1354
1333
|
} | undefined;
|
|
1355
1334
|
apiResponse?: {
|
|
1356
1335
|
status: number;
|
|
1357
|
-
statusText: string;
|
|
1358
1336
|
duration: number;
|
|
1337
|
+
statusText: string;
|
|
1359
1338
|
headers?: Record<string, string> | undefined;
|
|
1360
1339
|
body?: string | undefined;
|
|
1361
1340
|
} | undefined;
|
|
@@ -1491,11 +1470,12 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1491
1470
|
}>, "many">>;
|
|
1492
1471
|
}, "strip", z.ZodTypeAny, {
|
|
1493
1472
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1473
|
+
duration: number;
|
|
1494
1474
|
steps: {
|
|
1495
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1496
1475
|
code: string;
|
|
1497
|
-
|
|
1476
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1498
1477
|
duration: number;
|
|
1478
|
+
instruction: string;
|
|
1499
1479
|
stepId: string;
|
|
1500
1480
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
1501
1481
|
error?: string | undefined;
|
|
@@ -1503,22 +1483,21 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1503
1483
|
healed?: boolean | undefined;
|
|
1504
1484
|
healedCode?: string | undefined;
|
|
1505
1485
|
apiRequest?: {
|
|
1506
|
-
method: string;
|
|
1507
1486
|
url: string;
|
|
1487
|
+
method: string;
|
|
1508
1488
|
headers?: Record<string, string> | undefined;
|
|
1509
1489
|
body?: string | undefined;
|
|
1510
1490
|
} | undefined;
|
|
1511
1491
|
apiResponse?: {
|
|
1512
1492
|
status: number;
|
|
1513
|
-
statusText: string;
|
|
1514
1493
|
duration: number;
|
|
1494
|
+
statusText: string;
|
|
1515
1495
|
headers?: Record<string, string> | undefined;
|
|
1516
1496
|
body?: string | undefined;
|
|
1517
1497
|
} | undefined;
|
|
1518
1498
|
navigatedToUrl?: string | undefined;
|
|
1519
1499
|
auditUrl?: string | undefined;
|
|
1520
1500
|
}[];
|
|
1521
|
-
duration: number;
|
|
1522
1501
|
caseId: string;
|
|
1523
1502
|
caseName: string;
|
|
1524
1503
|
browser: string;
|
|
@@ -1563,11 +1542,12 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1563
1542
|
dataRow?: Record<string, string> | undefined;
|
|
1564
1543
|
}, {
|
|
1565
1544
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1545
|
+
duration: number;
|
|
1566
1546
|
steps: {
|
|
1567
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1568
1547
|
code: string;
|
|
1569
|
-
|
|
1548
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1570
1549
|
duration: number;
|
|
1550
|
+
instruction: string;
|
|
1571
1551
|
stepId: string;
|
|
1572
1552
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
1573
1553
|
error?: string | undefined;
|
|
@@ -1575,22 +1555,21 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1575
1555
|
healed?: boolean | undefined;
|
|
1576
1556
|
healedCode?: string | undefined;
|
|
1577
1557
|
apiRequest?: {
|
|
1578
|
-
method: string;
|
|
1579
1558
|
url: string;
|
|
1559
|
+
method: string;
|
|
1580
1560
|
headers?: Record<string, string> | undefined;
|
|
1581
1561
|
body?: string | undefined;
|
|
1582
1562
|
} | undefined;
|
|
1583
1563
|
apiResponse?: {
|
|
1584
1564
|
status: number;
|
|
1585
|
-
statusText: string;
|
|
1586
1565
|
duration: number;
|
|
1566
|
+
statusText: string;
|
|
1587
1567
|
headers?: Record<string, string> | undefined;
|
|
1588
1568
|
body?: string | undefined;
|
|
1589
1569
|
} | undefined;
|
|
1590
1570
|
navigatedToUrl?: string | undefined;
|
|
1591
1571
|
auditUrl?: string | undefined;
|
|
1592
1572
|
}[];
|
|
1593
|
-
duration: number;
|
|
1594
1573
|
caseId: string;
|
|
1595
1574
|
caseName: string;
|
|
1596
1575
|
browser: string;
|
|
@@ -1648,11 +1627,12 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1648
1627
|
suiteName: string;
|
|
1649
1628
|
cases: {
|
|
1650
1629
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1630
|
+
duration: number;
|
|
1651
1631
|
steps: {
|
|
1652
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1653
1632
|
code: string;
|
|
1654
|
-
|
|
1633
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1655
1634
|
duration: number;
|
|
1635
|
+
instruction: string;
|
|
1656
1636
|
stepId: string;
|
|
1657
1637
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
1658
1638
|
error?: string | undefined;
|
|
@@ -1660,22 +1640,21 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1660
1640
|
healed?: boolean | undefined;
|
|
1661
1641
|
healedCode?: string | undefined;
|
|
1662
1642
|
apiRequest?: {
|
|
1663
|
-
method: string;
|
|
1664
1643
|
url: string;
|
|
1644
|
+
method: string;
|
|
1665
1645
|
headers?: Record<string, string> | undefined;
|
|
1666
1646
|
body?: string | undefined;
|
|
1667
1647
|
} | undefined;
|
|
1668
1648
|
apiResponse?: {
|
|
1669
1649
|
status: number;
|
|
1670
|
-
statusText: string;
|
|
1671
1650
|
duration: number;
|
|
1651
|
+
statusText: string;
|
|
1672
1652
|
headers?: Record<string, string> | undefined;
|
|
1673
1653
|
body?: string | undefined;
|
|
1674
1654
|
} | undefined;
|
|
1675
1655
|
navigatedToUrl?: string | undefined;
|
|
1676
1656
|
auditUrl?: string | undefined;
|
|
1677
1657
|
}[];
|
|
1678
|
-
duration: number;
|
|
1679
1658
|
caseId: string;
|
|
1680
1659
|
caseName: string;
|
|
1681
1660
|
browser: string;
|
|
@@ -1730,11 +1709,12 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1730
1709
|
suiteName: string;
|
|
1731
1710
|
cases: {
|
|
1732
1711
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1712
|
+
duration: number;
|
|
1733
1713
|
steps: {
|
|
1734
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1735
1714
|
code: string;
|
|
1736
|
-
|
|
1715
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1737
1716
|
duration: number;
|
|
1717
|
+
instruction: string;
|
|
1738
1718
|
stepId: string;
|
|
1739
1719
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
1740
1720
|
error?: string | undefined;
|
|
@@ -1742,22 +1722,21 @@ declare const SuiteResultSchema: z.ZodObject<{
|
|
|
1742
1722
|
healed?: boolean | undefined;
|
|
1743
1723
|
healedCode?: string | undefined;
|
|
1744
1724
|
apiRequest?: {
|
|
1745
|
-
method: string;
|
|
1746
1725
|
url: string;
|
|
1726
|
+
method: string;
|
|
1747
1727
|
headers?: Record<string, string> | undefined;
|
|
1748
1728
|
body?: string | undefined;
|
|
1749
1729
|
} | undefined;
|
|
1750
1730
|
apiResponse?: {
|
|
1751
1731
|
status: number;
|
|
1752
|
-
statusText: string;
|
|
1753
1732
|
duration: number;
|
|
1733
|
+
statusText: string;
|
|
1754
1734
|
headers?: Record<string, string> | undefined;
|
|
1755
1735
|
body?: string | undefined;
|
|
1756
1736
|
} | undefined;
|
|
1757
1737
|
navigatedToUrl?: string | undefined;
|
|
1758
1738
|
auditUrl?: string | undefined;
|
|
1759
1739
|
}[];
|
|
1760
|
-
duration: number;
|
|
1761
1740
|
caseId: string;
|
|
1762
1741
|
caseName: string;
|
|
1763
1742
|
browser: string;
|
|
@@ -1833,13 +1812,13 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
1833
1812
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1834
1813
|
body: z.ZodOptional<z.ZodString>;
|
|
1835
1814
|
}, "strip", z.ZodTypeAny, {
|
|
1836
|
-
method: string;
|
|
1837
1815
|
url: string;
|
|
1816
|
+
method: string;
|
|
1838
1817
|
headers?: Record<string, string> | undefined;
|
|
1839
1818
|
body?: string | undefined;
|
|
1840
1819
|
}, {
|
|
1841
|
-
method: string;
|
|
1842
1820
|
url: string;
|
|
1821
|
+
method: string;
|
|
1843
1822
|
headers?: Record<string, string> | undefined;
|
|
1844
1823
|
body?: string | undefined;
|
|
1845
1824
|
}>>;
|
|
@@ -1851,24 +1830,24 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
1851
1830
|
duration: z.ZodNumber;
|
|
1852
1831
|
}, "strip", z.ZodTypeAny, {
|
|
1853
1832
|
status: number;
|
|
1854
|
-
statusText: string;
|
|
1855
1833
|
duration: number;
|
|
1834
|
+
statusText: string;
|
|
1856
1835
|
headers?: Record<string, string> | undefined;
|
|
1857
1836
|
body?: string | undefined;
|
|
1858
1837
|
}, {
|
|
1859
1838
|
status: number;
|
|
1860
|
-
statusText: string;
|
|
1861
1839
|
duration: number;
|
|
1840
|
+
statusText: string;
|
|
1862
1841
|
headers?: Record<string, string> | undefined;
|
|
1863
1842
|
body?: string | undefined;
|
|
1864
1843
|
}>>;
|
|
1865
1844
|
navigatedToUrl: z.ZodOptional<z.ZodString>;
|
|
1866
1845
|
auditUrl: z.ZodOptional<z.ZodString>;
|
|
1867
1846
|
}, "strip", z.ZodTypeAny, {
|
|
1868
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1869
1847
|
code: string;
|
|
1870
|
-
|
|
1848
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1871
1849
|
duration: number;
|
|
1850
|
+
instruction: string;
|
|
1872
1851
|
stepId: string;
|
|
1873
1852
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
1874
1853
|
error?: string | undefined;
|
|
@@ -1876,25 +1855,25 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
1876
1855
|
healed?: boolean | undefined;
|
|
1877
1856
|
healedCode?: string | undefined;
|
|
1878
1857
|
apiRequest?: {
|
|
1879
|
-
method: string;
|
|
1880
1858
|
url: string;
|
|
1859
|
+
method: string;
|
|
1881
1860
|
headers?: Record<string, string> | undefined;
|
|
1882
1861
|
body?: string | undefined;
|
|
1883
1862
|
} | undefined;
|
|
1884
1863
|
apiResponse?: {
|
|
1885
1864
|
status: number;
|
|
1886
|
-
statusText: string;
|
|
1887
1865
|
duration: number;
|
|
1866
|
+
statusText: string;
|
|
1888
1867
|
headers?: Record<string, string> | undefined;
|
|
1889
1868
|
body?: string | undefined;
|
|
1890
1869
|
} | undefined;
|
|
1891
1870
|
navigatedToUrl?: string | undefined;
|
|
1892
1871
|
auditUrl?: string | undefined;
|
|
1893
1872
|
}, {
|
|
1894
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1895
1873
|
code: string;
|
|
1896
|
-
|
|
1874
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
1897
1875
|
duration: number;
|
|
1876
|
+
instruction: string;
|
|
1898
1877
|
stepId: string;
|
|
1899
1878
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
1900
1879
|
error?: string | undefined;
|
|
@@ -1902,15 +1881,15 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
1902
1881
|
healed?: boolean | undefined;
|
|
1903
1882
|
healedCode?: string | undefined;
|
|
1904
1883
|
apiRequest?: {
|
|
1905
|
-
method: string;
|
|
1906
1884
|
url: string;
|
|
1885
|
+
method: string;
|
|
1907
1886
|
headers?: Record<string, string> | undefined;
|
|
1908
1887
|
body?: string | undefined;
|
|
1909
1888
|
} | undefined;
|
|
1910
1889
|
apiResponse?: {
|
|
1911
1890
|
status: number;
|
|
1912
|
-
statusText: string;
|
|
1913
1891
|
duration: number;
|
|
1892
|
+
statusText: string;
|
|
1914
1893
|
headers?: Record<string, string> | undefined;
|
|
1915
1894
|
body?: string | undefined;
|
|
1916
1895
|
} | undefined;
|
|
@@ -2046,11 +2025,12 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2046
2025
|
}>, "many">>;
|
|
2047
2026
|
}, "strip", z.ZodTypeAny, {
|
|
2048
2027
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2028
|
+
duration: number;
|
|
2049
2029
|
steps: {
|
|
2050
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2051
2030
|
code: string;
|
|
2052
|
-
|
|
2031
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2053
2032
|
duration: number;
|
|
2033
|
+
instruction: string;
|
|
2054
2034
|
stepId: string;
|
|
2055
2035
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
2056
2036
|
error?: string | undefined;
|
|
@@ -2058,22 +2038,21 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2058
2038
|
healed?: boolean | undefined;
|
|
2059
2039
|
healedCode?: string | undefined;
|
|
2060
2040
|
apiRequest?: {
|
|
2061
|
-
method: string;
|
|
2062
2041
|
url: string;
|
|
2042
|
+
method: string;
|
|
2063
2043
|
headers?: Record<string, string> | undefined;
|
|
2064
2044
|
body?: string | undefined;
|
|
2065
2045
|
} | undefined;
|
|
2066
2046
|
apiResponse?: {
|
|
2067
2047
|
status: number;
|
|
2068
|
-
statusText: string;
|
|
2069
2048
|
duration: number;
|
|
2049
|
+
statusText: string;
|
|
2070
2050
|
headers?: Record<string, string> | undefined;
|
|
2071
2051
|
body?: string | undefined;
|
|
2072
2052
|
} | undefined;
|
|
2073
2053
|
navigatedToUrl?: string | undefined;
|
|
2074
2054
|
auditUrl?: string | undefined;
|
|
2075
2055
|
}[];
|
|
2076
|
-
duration: number;
|
|
2077
2056
|
caseId: string;
|
|
2078
2057
|
caseName: string;
|
|
2079
2058
|
browser: string;
|
|
@@ -2118,11 +2097,12 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2118
2097
|
dataRow?: Record<string, string> | undefined;
|
|
2119
2098
|
}, {
|
|
2120
2099
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2100
|
+
duration: number;
|
|
2121
2101
|
steps: {
|
|
2122
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2123
2102
|
code: string;
|
|
2124
|
-
|
|
2103
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2125
2104
|
duration: number;
|
|
2105
|
+
instruction: string;
|
|
2126
2106
|
stepId: string;
|
|
2127
2107
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
2128
2108
|
error?: string | undefined;
|
|
@@ -2130,22 +2110,21 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2130
2110
|
healed?: boolean | undefined;
|
|
2131
2111
|
healedCode?: string | undefined;
|
|
2132
2112
|
apiRequest?: {
|
|
2133
|
-
method: string;
|
|
2134
2113
|
url: string;
|
|
2114
|
+
method: string;
|
|
2135
2115
|
headers?: Record<string, string> | undefined;
|
|
2136
2116
|
body?: string | undefined;
|
|
2137
2117
|
} | undefined;
|
|
2138
2118
|
apiResponse?: {
|
|
2139
2119
|
status: number;
|
|
2140
|
-
statusText: string;
|
|
2141
2120
|
duration: number;
|
|
2121
|
+
statusText: string;
|
|
2142
2122
|
headers?: Record<string, string> | undefined;
|
|
2143
2123
|
body?: string | undefined;
|
|
2144
2124
|
} | undefined;
|
|
2145
2125
|
navigatedToUrl?: string | undefined;
|
|
2146
2126
|
auditUrl?: string | undefined;
|
|
2147
2127
|
}[];
|
|
2148
|
-
duration: number;
|
|
2149
2128
|
caseId: string;
|
|
2150
2129
|
caseName: string;
|
|
2151
2130
|
browser: string;
|
|
@@ -2203,11 +2182,12 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2203
2182
|
suiteName: string;
|
|
2204
2183
|
cases: {
|
|
2205
2184
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2185
|
+
duration: number;
|
|
2206
2186
|
steps: {
|
|
2207
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2208
2187
|
code: string;
|
|
2209
|
-
|
|
2188
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2210
2189
|
duration: number;
|
|
2190
|
+
instruction: string;
|
|
2211
2191
|
stepId: string;
|
|
2212
2192
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
2213
2193
|
error?: string | undefined;
|
|
@@ -2215,22 +2195,21 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2215
2195
|
healed?: boolean | undefined;
|
|
2216
2196
|
healedCode?: string | undefined;
|
|
2217
2197
|
apiRequest?: {
|
|
2218
|
-
method: string;
|
|
2219
2198
|
url: string;
|
|
2199
|
+
method: string;
|
|
2220
2200
|
headers?: Record<string, string> | undefined;
|
|
2221
2201
|
body?: string | undefined;
|
|
2222
2202
|
} | undefined;
|
|
2223
2203
|
apiResponse?: {
|
|
2224
2204
|
status: number;
|
|
2225
|
-
statusText: string;
|
|
2226
2205
|
duration: number;
|
|
2206
|
+
statusText: string;
|
|
2227
2207
|
headers?: Record<string, string> | undefined;
|
|
2228
2208
|
body?: string | undefined;
|
|
2229
2209
|
} | undefined;
|
|
2230
2210
|
navigatedToUrl?: string | undefined;
|
|
2231
2211
|
auditUrl?: string | undefined;
|
|
2232
2212
|
}[];
|
|
2233
|
-
duration: number;
|
|
2234
2213
|
caseId: string;
|
|
2235
2214
|
caseName: string;
|
|
2236
2215
|
browser: string;
|
|
@@ -2285,11 +2264,12 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2285
2264
|
suiteName: string;
|
|
2286
2265
|
cases: {
|
|
2287
2266
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2267
|
+
duration: number;
|
|
2288
2268
|
steps: {
|
|
2289
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2290
2269
|
code: string;
|
|
2291
|
-
|
|
2270
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2292
2271
|
duration: number;
|
|
2272
|
+
instruction: string;
|
|
2293
2273
|
stepId: string;
|
|
2294
2274
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
2295
2275
|
error?: string | undefined;
|
|
@@ -2297,22 +2277,21 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2297
2277
|
healed?: boolean | undefined;
|
|
2298
2278
|
healedCode?: string | undefined;
|
|
2299
2279
|
apiRequest?: {
|
|
2300
|
-
method: string;
|
|
2301
2280
|
url: string;
|
|
2281
|
+
method: string;
|
|
2302
2282
|
headers?: Record<string, string> | undefined;
|
|
2303
2283
|
body?: string | undefined;
|
|
2304
2284
|
} | undefined;
|
|
2305
2285
|
apiResponse?: {
|
|
2306
2286
|
status: number;
|
|
2307
|
-
statusText: string;
|
|
2308
2287
|
duration: number;
|
|
2288
|
+
statusText: string;
|
|
2309
2289
|
headers?: Record<string, string> | undefined;
|
|
2310
2290
|
body?: string | undefined;
|
|
2311
2291
|
} | undefined;
|
|
2312
2292
|
navigatedToUrl?: string | undefined;
|
|
2313
2293
|
auditUrl?: string | undefined;
|
|
2314
2294
|
}[];
|
|
2315
|
-
duration: number;
|
|
2316
2295
|
caseId: string;
|
|
2317
2296
|
caseName: string;
|
|
2318
2297
|
browser: string;
|
|
@@ -2368,10 +2347,10 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2368
2347
|
logFilePath: z.ZodOptional<z.ZodString>;
|
|
2369
2348
|
}, "strip", z.ZodTypeAny, {
|
|
2370
2349
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2350
|
+
duration: number;
|
|
2371
2351
|
passed: number;
|
|
2372
2352
|
failed: number;
|
|
2373
2353
|
skipped: number;
|
|
2374
|
-
duration: number;
|
|
2375
2354
|
startedAt: string;
|
|
2376
2355
|
finishedAt: string;
|
|
2377
2356
|
runId: string;
|
|
@@ -2385,11 +2364,12 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2385
2364
|
suiteName: string;
|
|
2386
2365
|
cases: {
|
|
2387
2366
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2367
|
+
duration: number;
|
|
2388
2368
|
steps: {
|
|
2389
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2390
2369
|
code: string;
|
|
2391
|
-
|
|
2370
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2392
2371
|
duration: number;
|
|
2372
|
+
instruction: string;
|
|
2393
2373
|
stepId: string;
|
|
2394
2374
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
2395
2375
|
error?: string | undefined;
|
|
@@ -2397,22 +2377,21 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2397
2377
|
healed?: boolean | undefined;
|
|
2398
2378
|
healedCode?: string | undefined;
|
|
2399
2379
|
apiRequest?: {
|
|
2400
|
-
method: string;
|
|
2401
2380
|
url: string;
|
|
2381
|
+
method: string;
|
|
2402
2382
|
headers?: Record<string, string> | undefined;
|
|
2403
2383
|
body?: string | undefined;
|
|
2404
2384
|
} | undefined;
|
|
2405
2385
|
apiResponse?: {
|
|
2406
2386
|
status: number;
|
|
2407
|
-
statusText: string;
|
|
2408
2387
|
duration: number;
|
|
2388
|
+
statusText: string;
|
|
2409
2389
|
headers?: Record<string, string> | undefined;
|
|
2410
2390
|
body?: string | undefined;
|
|
2411
2391
|
} | undefined;
|
|
2412
2392
|
navigatedToUrl?: string | undefined;
|
|
2413
2393
|
auditUrl?: string | undefined;
|
|
2414
2394
|
}[];
|
|
2415
|
-
duration: number;
|
|
2416
2395
|
caseId: string;
|
|
2417
2396
|
caseName: string;
|
|
2418
2397
|
browser: string;
|
|
@@ -2463,10 +2442,10 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2463
2442
|
logFilePath?: string | undefined;
|
|
2464
2443
|
}, {
|
|
2465
2444
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2445
|
+
duration: number;
|
|
2466
2446
|
passed: number;
|
|
2467
2447
|
failed: number;
|
|
2468
2448
|
skipped: number;
|
|
2469
|
-
duration: number;
|
|
2470
2449
|
startedAt: string;
|
|
2471
2450
|
finishedAt: string;
|
|
2472
2451
|
runId: string;
|
|
@@ -2480,11 +2459,12 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2480
2459
|
suiteName: string;
|
|
2481
2460
|
cases: {
|
|
2482
2461
|
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2462
|
+
duration: number;
|
|
2483
2463
|
steps: {
|
|
2484
|
-
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2485
2464
|
code: string;
|
|
2486
|
-
|
|
2465
|
+
status: "pending" | "running" | "passed" | "failed" | "skipped";
|
|
2487
2466
|
duration: number;
|
|
2467
|
+
instruction: string;
|
|
2488
2468
|
stepId: string;
|
|
2489
2469
|
stepType?: "ui" | "api" | "mock" | undefined;
|
|
2490
2470
|
error?: string | undefined;
|
|
@@ -2492,22 +2472,21 @@ declare const RunResultSchema: z.ZodObject<{
|
|
|
2492
2472
|
healed?: boolean | undefined;
|
|
2493
2473
|
healedCode?: string | undefined;
|
|
2494
2474
|
apiRequest?: {
|
|
2495
|
-
method: string;
|
|
2496
2475
|
url: string;
|
|
2476
|
+
method: string;
|
|
2497
2477
|
headers?: Record<string, string> | undefined;
|
|
2498
2478
|
body?: string | undefined;
|
|
2499
2479
|
} | undefined;
|
|
2500
2480
|
apiResponse?: {
|
|
2501
2481
|
status: number;
|
|
2502
|
-
statusText: string;
|
|
2503
2482
|
duration: number;
|
|
2483
|
+
statusText: string;
|
|
2504
2484
|
headers?: Record<string, string> | undefined;
|
|
2505
2485
|
body?: string | undefined;
|
|
2506
2486
|
} | undefined;
|
|
2507
2487
|
navigatedToUrl?: string | undefined;
|
|
2508
2488
|
auditUrl?: string | undefined;
|
|
2509
2489
|
}[];
|
|
2510
|
-
duration: number;
|
|
2511
2490
|
caseId: string;
|
|
2512
2491
|
caseName: string;
|
|
2513
2492
|
browser: string;
|
|
@@ -2991,7 +2970,16 @@ declare function readGlobalVariables(rootDir: string): Promise<VariableStore>;
|
|
|
2991
2970
|
declare function readEnvVariables(rootDir: string, env: string): Promise<VariableStore>;
|
|
2992
2971
|
/**
|
|
2993
2972
|
* Merges global + env-specific variables, resolving all values to strings.
|
|
2994
|
-
*
|
|
2973
|
+
*
|
|
2974
|
+
* Resolution priority (highest wins):
|
|
2975
|
+
* 1. process.env[KEY] — CI/CD secrets & shell env override stored values
|
|
2976
|
+
* 2. <env>.env.json — environment-specific value
|
|
2977
|
+
* 3. global.json — default value
|
|
2978
|
+
*
|
|
2979
|
+
* This lets a value configured locally run in the local runner, while a CI
|
|
2980
|
+
* pipeline that injects the same key name as a repository secret seamlessly
|
|
2981
|
+
* overrides it — no file changes needed.
|
|
2982
|
+
*
|
|
2995
2983
|
* Secrets are resolved to their plain values (never sent to AI — caller must redact).
|
|
2996
2984
|
*/
|
|
2997
2985
|
declare function resolveVariables(rootDir: string, env?: string): Promise<ResolvedVariables>;
|
|
@@ -3179,7 +3167,7 @@ declare const BaseEnvSchema: z.ZodObject<{
|
|
|
3179
3167
|
AI_TIMEOUT: z.ZodDefault<z.ZodNumber>;
|
|
3180
3168
|
AI_MAX_RETRIES: z.ZodDefault<z.ZodNumber>;
|
|
3181
3169
|
}, "strip", z.ZodTypeAny, {
|
|
3182
|
-
NODE_ENV: "
|
|
3170
|
+
NODE_ENV: "production" | "development" | "test";
|
|
3183
3171
|
LOG_LEVEL: "trace" | "error" | "info" | "fatal" | "warn" | "debug";
|
|
3184
3172
|
AI_PROVIDER: "custom" | "anthropic" | "openai" | "google" | "azure-openai" | "bedrock" | "deepseek" | "groq" | "together" | "qwen" | "perplexity" | "ollama";
|
|
3185
3173
|
AI_TIERED_ENABLED: boolean;
|
|
@@ -3189,7 +3177,7 @@ declare const BaseEnvSchema: z.ZodObject<{
|
|
|
3189
3177
|
AI_TIERED_FAST_MODEL?: string | undefined;
|
|
3190
3178
|
}, {
|
|
3191
3179
|
AI_PROVIDER: "custom" | "anthropic" | "openai" | "google" | "azure-openai" | "bedrock" | "deepseek" | "groq" | "together" | "qwen" | "perplexity" | "ollama";
|
|
3192
|
-
NODE_ENV?: "
|
|
3180
|
+
NODE_ENV?: "production" | "development" | "test" | undefined;
|
|
3193
3181
|
LOG_LEVEL?: "trace" | "error" | "info" | "fatal" | "warn" | "debug" | undefined;
|
|
3194
3182
|
AI_TIERED_ENABLED?: string | undefined;
|
|
3195
3183
|
AI_TIERED_FAST_PROVIDER?: "custom" | "anthropic" | "openai" | "google" | "azure-openai" | "bedrock" | "deepseek" | "groq" | "together" | "qwen" | "perplexity" | "ollama" | undefined;
|