doc-detective-common 4.13.0 → 4.14.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.
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * A step in a test.
7
7
  */
8
- export type Step = (Common & CheckLink) | (Common1 & Click) | (Common2 & Find) | (Common3 & GoTo) | (Common4 & HttpRequest) | (Common5 & RunShell) | (Common6 & RunCode) | (Common7 & Type) | (Common8 & Screenshot) | (Common9 & SaveCookie) | (Common10 & Record) | (Common11 & StopRecord) | (Common12 & LoadVariables) | (Common13 & DragAndDrop) | (Common14 & LoadCookie) | (Common15 & Wait);
8
+ export type Step = (Common & CheckLink) | (Common1 & Click) | (Common2 & Find) | (Common3 & GoTo) | (Common4 & HttpRequest) | (Common5 & RunShell) | (Common6 & RunCode) | (Common7 & RunBrowserScript) | (Common8 & Type) | (Common9 & Screenshot) | (Common10 & SaveCookie) | (Common11 & Record) | (Common12 & StopRecord) | (Common13 & LoadVariables) | (Common14 & DragAndDrop) | (Common15 & LoadCookie) | (Common16 & Wait);
9
9
  export type CheckLink1 = CheckLinkDetailed | CheckLinkDetailed1;
10
10
  /**
11
11
  * Check if an HTTP or HTTPS URL returns an acceptable status code from a GET request.
@@ -66,6 +66,14 @@ export type RunShellCommandSimple = string;
66
66
  * Assemble and run code.
67
67
  */
68
68
  export type RunCode1 = RunCodeDetailed;
69
+ /**
70
+ * Execute arbitrary JavaScript in the browser page context. Runs via the WebDriver `executeScript` endpoint, so it has access to the page's `document`, `window`, and DOM. Doc Detective captures the script's return value in the step's `outputs.result`. Distinct from `runCode`, which runs Node/Python/bash on the host machine.
71
+ */
72
+ export type RunBrowserScript1 = RunBrowserScriptSimple | RunBrowserScriptDetailed;
73
+ /**
74
+ * JavaScript to evaluate in the browser page context. Supports `return` to capture a value into `outputs.result`.
75
+ */
76
+ export type RunBrowserScriptSimple = string;
69
77
  /**
70
78
  * Type keys. To type special keys, begin and end the string with `$` and use the special key's keyword. For example, to type the Escape key, enter `$ESCAPE$`.
71
79
  */
@@ -949,6 +957,116 @@ export interface SourceLocation7 {
949
957
  */
950
958
  endIndex: number;
951
959
  }
960
+ export interface RunBrowserScript {
961
+ runBrowserScript: RunBrowserScript1;
962
+ [k: string]: unknown;
963
+ }
964
+ export interface RunBrowserScriptDetailed {
965
+ /**
966
+ * JavaScript to evaluate in the browser page context. Supports `return` to capture a value into `outputs.result`. The script reads arguments supplied in `args` through the `arguments` object (`arguments[0]`, `arguments[1]`, and so on).
967
+ */
968
+ script: string;
969
+ /**
970
+ * Arguments passed positionally to the script and exposed through the `arguments` object. Each item may be any JSON-serializable value (string, number, boolean, null, object, or array), matching what `executeScript` accepts.
971
+ */
972
+ args?: unknown[];
973
+ /**
974
+ * Content expected in the script's serialized return value. Doc Detective serializes non-string return values to JSON before matching. If the serialized return value doesn't contain the expected content, the step fails. Supports strings and regular expressions. To use a regular expression, the string must start and end with a forward slash, like in `/^hello-world.* /`.
975
+ */
976
+ output?: string;
977
+ /**
978
+ * File path to save the script's serialized return value, relative to `directory`.
979
+ */
980
+ path?: string;
981
+ /**
982
+ * Directory to save the script's return value. If the directory doesn't exist, creates the directory. If not specified, the directory is your media directory.
983
+ */
984
+ directory?: string;
985
+ /**
986
+ * Allowed variation as a fraction (0 to 1) of text different between the current return value and previously saved value. For example, 0.1 means 10%. If the difference between the current value and the previous value is greater than `maxVariation`, the step returns a warning. If no output exists at `path`, Doc Detective ignores this value.
987
+ */
988
+ maxVariation?: number;
989
+ /**
990
+ * If `true`, overwrites the existing output at `path` if it exists.
991
+ * If `aboveVariation`, overwrites the existing output at `path` if the difference between the new output and the existing output is greater than `maxVariation`.
992
+ */
993
+ overwrite?: "true" | "false" | "aboveVariation";
994
+ /**
995
+ * Maximum time in milliseconds the script may run. If the script runs longer than this, the step fails.
996
+ */
997
+ timeout?: number;
998
+ }
999
+ export interface Common8 {
1000
+ /**
1001
+ * JSON Schema for this object.
1002
+ */
1003
+ $schema?: "https://raw.githubusercontent.com/doc-detective/common/refs/heads/main/dist/schemas/step_v3.schema.json";
1004
+ /**
1005
+ * ID of the step.
1006
+ */
1007
+ stepId?: string;
1008
+ /**
1009
+ * Description of the step.
1010
+ */
1011
+ description?: string;
1012
+ /**
1013
+ * Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.
1014
+ */
1015
+ unsafe?: boolean;
1016
+ outputs?: OutputsStep8;
1017
+ variables?: VariablesStep8;
1018
+ /**
1019
+ * Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.
1020
+ */
1021
+ breakpoint?: boolean;
1022
+ location?: SourceLocation8;
1023
+ /**
1024
+ * Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.
1025
+ */
1026
+ autoScreenshot?: string;
1027
+ [k: string]: unknown;
1028
+ }
1029
+ /**
1030
+ * Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.
1031
+ */
1032
+ export interface OutputsStep8 {
1033
+ /**
1034
+ * Runtime expression for a user-defined output value.
1035
+ *
1036
+ * This interface was referenced by `OutputsStep8`'s JSON-Schema definition
1037
+ * via the `patternProperty` "^[A-Za-z0-9_]+$".
1038
+ */
1039
+ [k: string]: string;
1040
+ }
1041
+ /**
1042
+ * Environment variables to set from user-defined expressions.
1043
+ */
1044
+ export interface VariablesStep8 {
1045
+ /**
1046
+ * Runtime expression for a user-defined output value.
1047
+ *
1048
+ * This interface was referenced by `VariablesStep8`'s JSON-Schema definition
1049
+ * via the `patternProperty` "^[A-Za-z0-9_]+$".
1050
+ */
1051
+ [k: string]: string;
1052
+ }
1053
+ /**
1054
+ * Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.
1055
+ */
1056
+ export interface SourceLocation8 {
1057
+ /**
1058
+ * 1-indexed line number in the source file where the step was detected.
1059
+ */
1060
+ line: number;
1061
+ /**
1062
+ * 0-indexed character offset from the start of the source file where the step begins.
1063
+ */
1064
+ startIndex: number;
1065
+ /**
1066
+ * 0-indexed character offset from the start of the source file where the step ends (exclusive).
1067
+ */
1068
+ endIndex: number;
1069
+ }
952
1070
  export interface Type {
953
1071
  type: TypeKeys;
954
1072
  [k: string]: unknown;
@@ -990,7 +1108,7 @@ export interface TypeKeysDetailed {
990
1108
  */
991
1109
  elementAria?: string;
992
1110
  }
993
- export interface Common8 {
1111
+ export interface Common9 {
994
1112
  /**
995
1113
  * JSON Schema for this object.
996
1114
  */
@@ -1007,13 +1125,13 @@ export interface Common8 {
1007
1125
  * Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.
1008
1126
  */
1009
1127
  unsafe?: boolean;
1010
- outputs?: OutputsStep8;
1011
- variables?: VariablesStep8;
1128
+ outputs?: OutputsStep9;
1129
+ variables?: VariablesStep9;
1012
1130
  /**
1013
1131
  * Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.
1014
1132
  */
1015
1133
  breakpoint?: boolean;
1016
- location?: SourceLocation8;
1134
+ location?: SourceLocation9;
1017
1135
  /**
1018
1136
  * Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.
1019
1137
  */
@@ -1023,11 +1141,11 @@ export interface Common8 {
1023
1141
  /**
1024
1142
  * Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.
1025
1143
  */
1026
- export interface OutputsStep8 {
1144
+ export interface OutputsStep9 {
1027
1145
  /**
1028
1146
  * Runtime expression for a user-defined output value.
1029
1147
  *
1030
- * This interface was referenced by `OutputsStep8`'s JSON-Schema definition
1148
+ * This interface was referenced by `OutputsStep9`'s JSON-Schema definition
1031
1149
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1032
1150
  */
1033
1151
  [k: string]: string;
@@ -1035,11 +1153,11 @@ export interface OutputsStep8 {
1035
1153
  /**
1036
1154
  * Environment variables to set from user-defined expressions.
1037
1155
  */
1038
- export interface VariablesStep8 {
1156
+ export interface VariablesStep9 {
1039
1157
  /**
1040
1158
  * Runtime expression for a user-defined output value.
1041
1159
  *
1042
- * This interface was referenced by `VariablesStep8`'s JSON-Schema definition
1160
+ * This interface was referenced by `VariablesStep9`'s JSON-Schema definition
1043
1161
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1044
1162
  */
1045
1163
  [k: string]: string;
@@ -1047,7 +1165,7 @@ export interface VariablesStep8 {
1047
1165
  /**
1048
1166
  * Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.
1049
1167
  */
1050
- export interface SourceLocation8 {
1168
+ export interface SourceLocation9 {
1051
1169
  /**
1052
1170
  * 1-indexed line number in the source file where the step was detected.
1053
1171
  */
@@ -1108,7 +1226,7 @@ export interface SourceIntegration {
1108
1226
  */
1109
1227
  contentPath?: string;
1110
1228
  }
1111
- export interface Common9 {
1229
+ export interface Common10 {
1112
1230
  /**
1113
1231
  * JSON Schema for this object.
1114
1232
  */
@@ -1125,13 +1243,13 @@ export interface Common9 {
1125
1243
  * Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.
1126
1244
  */
1127
1245
  unsafe?: boolean;
1128
- outputs?: OutputsStep9;
1129
- variables?: VariablesStep9;
1246
+ outputs?: OutputsStep10;
1247
+ variables?: VariablesStep10;
1130
1248
  /**
1131
1249
  * Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.
1132
1250
  */
1133
1251
  breakpoint?: boolean;
1134
- location?: SourceLocation9;
1252
+ location?: SourceLocation10;
1135
1253
  /**
1136
1254
  * Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.
1137
1255
  */
@@ -1141,11 +1259,11 @@ export interface Common9 {
1141
1259
  /**
1142
1260
  * Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.
1143
1261
  */
1144
- export interface OutputsStep9 {
1262
+ export interface OutputsStep10 {
1145
1263
  /**
1146
1264
  * Runtime expression for a user-defined output value.
1147
1265
  *
1148
- * This interface was referenced by `OutputsStep9`'s JSON-Schema definition
1266
+ * This interface was referenced by `OutputsStep10`'s JSON-Schema definition
1149
1267
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1150
1268
  */
1151
1269
  [k: string]: string;
@@ -1153,11 +1271,11 @@ export interface OutputsStep9 {
1153
1271
  /**
1154
1272
  * Environment variables to set from user-defined expressions.
1155
1273
  */
1156
- export interface VariablesStep9 {
1274
+ export interface VariablesStep10 {
1157
1275
  /**
1158
1276
  * Runtime expression for a user-defined output value.
1159
1277
  *
1160
- * This interface was referenced by `VariablesStep9`'s JSON-Schema definition
1278
+ * This interface was referenced by `VariablesStep10`'s JSON-Schema definition
1161
1279
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1162
1280
  */
1163
1281
  [k: string]: string;
@@ -1165,7 +1283,7 @@ export interface VariablesStep9 {
1165
1283
  /**
1166
1284
  * Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.
1167
1285
  */
1168
- export interface SourceLocation9 {
1286
+ export interface SourceLocation10 {
1169
1287
  /**
1170
1288
  * 1-indexed line number in the source file where the step was detected.
1171
1289
  */
@@ -1183,7 +1301,7 @@ export interface SaveCookie {
1183
1301
  saveCookie: SaveCookie1;
1184
1302
  [k: string]: unknown;
1185
1303
  }
1186
- export interface Common10 {
1304
+ export interface Common11 {
1187
1305
  /**
1188
1306
  * JSON Schema for this object.
1189
1307
  */
@@ -1200,13 +1318,13 @@ export interface Common10 {
1200
1318
  * Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.
1201
1319
  */
1202
1320
  unsafe?: boolean;
1203
- outputs?: OutputsStep10;
1204
- variables?: VariablesStep10;
1321
+ outputs?: OutputsStep11;
1322
+ variables?: VariablesStep11;
1205
1323
  /**
1206
1324
  * Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.
1207
1325
  */
1208
1326
  breakpoint?: boolean;
1209
- location?: SourceLocation10;
1327
+ location?: SourceLocation11;
1210
1328
  /**
1211
1329
  * Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.
1212
1330
  */
@@ -1216,11 +1334,11 @@ export interface Common10 {
1216
1334
  /**
1217
1335
  * Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.
1218
1336
  */
1219
- export interface OutputsStep10 {
1337
+ export interface OutputsStep11 {
1220
1338
  /**
1221
1339
  * Runtime expression for a user-defined output value.
1222
1340
  *
1223
- * This interface was referenced by `OutputsStep10`'s JSON-Schema definition
1341
+ * This interface was referenced by `OutputsStep11`'s JSON-Schema definition
1224
1342
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1225
1343
  */
1226
1344
  [k: string]: string;
@@ -1228,11 +1346,11 @@ export interface OutputsStep10 {
1228
1346
  /**
1229
1347
  * Environment variables to set from user-defined expressions.
1230
1348
  */
1231
- export interface VariablesStep10 {
1349
+ export interface VariablesStep11 {
1232
1350
  /**
1233
1351
  * Runtime expression for a user-defined output value.
1234
1352
  *
1235
- * This interface was referenced by `VariablesStep10`'s JSON-Schema definition
1353
+ * This interface was referenced by `VariablesStep11`'s JSON-Schema definition
1236
1354
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1237
1355
  */
1238
1356
  [k: string]: string;
@@ -1240,7 +1358,7 @@ export interface VariablesStep10 {
1240
1358
  /**
1241
1359
  * Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.
1242
1360
  */
1243
- export interface SourceLocation10 {
1361
+ export interface SourceLocation11 {
1244
1362
  /**
1245
1363
  * 1-indexed line number in the source file where the step was detected.
1246
1364
  */
@@ -1292,7 +1410,7 @@ export interface RecordingEngineDetailed {
1292
1410
  */
1293
1411
  fps?: number;
1294
1412
  }
1295
- export interface Common11 {
1413
+ export interface Common12 {
1296
1414
  /**
1297
1415
  * JSON Schema for this object.
1298
1416
  */
@@ -1309,13 +1427,13 @@ export interface Common11 {
1309
1427
  * Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.
1310
1428
  */
1311
1429
  unsafe?: boolean;
1312
- outputs?: OutputsStep11;
1313
- variables?: VariablesStep11;
1430
+ outputs?: OutputsStep12;
1431
+ variables?: VariablesStep12;
1314
1432
  /**
1315
1433
  * Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.
1316
1434
  */
1317
1435
  breakpoint?: boolean;
1318
- location?: SourceLocation11;
1436
+ location?: SourceLocation12;
1319
1437
  /**
1320
1438
  * Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.
1321
1439
  */
@@ -1325,11 +1443,11 @@ export interface Common11 {
1325
1443
  /**
1326
1444
  * Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.
1327
1445
  */
1328
- export interface OutputsStep11 {
1446
+ export interface OutputsStep12 {
1329
1447
  /**
1330
1448
  * Runtime expression for a user-defined output value.
1331
1449
  *
1332
- * This interface was referenced by `OutputsStep11`'s JSON-Schema definition
1450
+ * This interface was referenced by `OutputsStep12`'s JSON-Schema definition
1333
1451
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1334
1452
  */
1335
1453
  [k: string]: string;
@@ -1337,11 +1455,11 @@ export interface OutputsStep11 {
1337
1455
  /**
1338
1456
  * Environment variables to set from user-defined expressions.
1339
1457
  */
1340
- export interface VariablesStep11 {
1458
+ export interface VariablesStep12 {
1341
1459
  /**
1342
1460
  * Runtime expression for a user-defined output value.
1343
1461
  *
1344
- * This interface was referenced by `VariablesStep11`'s JSON-Schema definition
1462
+ * This interface was referenced by `VariablesStep12`'s JSON-Schema definition
1345
1463
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1346
1464
  */
1347
1465
  [k: string]: string;
@@ -1349,7 +1467,7 @@ export interface VariablesStep11 {
1349
1467
  /**
1350
1468
  * Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.
1351
1469
  */
1352
- export interface SourceLocation11 {
1470
+ export interface SourceLocation12 {
1353
1471
  /**
1354
1472
  * 1-indexed line number in the source file where the step was detected.
1355
1473
  */
@@ -1373,7 +1491,7 @@ export interface StopRecordDetailed {
1373
1491
  */
1374
1492
  name: string;
1375
1493
  }
1376
- export interface Common12 {
1494
+ export interface Common13 {
1377
1495
  /**
1378
1496
  * JSON Schema for this object.
1379
1497
  */
@@ -1390,13 +1508,13 @@ export interface Common12 {
1390
1508
  * Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.
1391
1509
  */
1392
1510
  unsafe?: boolean;
1393
- outputs?: OutputsStep12;
1394
- variables?: VariablesStep12;
1511
+ outputs?: OutputsStep13;
1512
+ variables?: VariablesStep13;
1395
1513
  /**
1396
1514
  * Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.
1397
1515
  */
1398
1516
  breakpoint?: boolean;
1399
- location?: SourceLocation12;
1517
+ location?: SourceLocation13;
1400
1518
  /**
1401
1519
  * Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.
1402
1520
  */
@@ -1406,11 +1524,11 @@ export interface Common12 {
1406
1524
  /**
1407
1525
  * Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.
1408
1526
  */
1409
- export interface OutputsStep12 {
1527
+ export interface OutputsStep13 {
1410
1528
  /**
1411
1529
  * Runtime expression for a user-defined output value.
1412
1530
  *
1413
- * This interface was referenced by `OutputsStep12`'s JSON-Schema definition
1531
+ * This interface was referenced by `OutputsStep13`'s JSON-Schema definition
1414
1532
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1415
1533
  */
1416
1534
  [k: string]: string;
@@ -1418,11 +1536,11 @@ export interface OutputsStep12 {
1418
1536
  /**
1419
1537
  * Environment variables to set from user-defined expressions.
1420
1538
  */
1421
- export interface VariablesStep12 {
1539
+ export interface VariablesStep13 {
1422
1540
  /**
1423
1541
  * Runtime expression for a user-defined output value.
1424
1542
  *
1425
- * This interface was referenced by `VariablesStep12`'s JSON-Schema definition
1543
+ * This interface was referenced by `VariablesStep13`'s JSON-Schema definition
1426
1544
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1427
1545
  */
1428
1546
  [k: string]: string;
@@ -1430,7 +1548,7 @@ export interface VariablesStep12 {
1430
1548
  /**
1431
1549
  * Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.
1432
1550
  */
1433
- export interface SourceLocation12 {
1551
+ export interface SourceLocation13 {
1434
1552
  /**
1435
1553
  * 1-indexed line number in the source file where the step was detected.
1436
1554
  */
@@ -1448,7 +1566,7 @@ export interface LoadVariables {
1448
1566
  loadVariables: LoadVariables1;
1449
1567
  [k: string]: unknown;
1450
1568
  }
1451
- export interface Common13 {
1569
+ export interface Common14 {
1452
1570
  /**
1453
1571
  * JSON Schema for this object.
1454
1572
  */
@@ -1465,13 +1583,13 @@ export interface Common13 {
1465
1583
  * Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.
1466
1584
  */
1467
1585
  unsafe?: boolean;
1468
- outputs?: OutputsStep13;
1469
- variables?: VariablesStep13;
1586
+ outputs?: OutputsStep14;
1587
+ variables?: VariablesStep14;
1470
1588
  /**
1471
1589
  * Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.
1472
1590
  */
1473
1591
  breakpoint?: boolean;
1474
- location?: SourceLocation13;
1592
+ location?: SourceLocation14;
1475
1593
  /**
1476
1594
  * Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.
1477
1595
  */
@@ -1481,11 +1599,11 @@ export interface Common13 {
1481
1599
  /**
1482
1600
  * Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.
1483
1601
  */
1484
- export interface OutputsStep13 {
1602
+ export interface OutputsStep14 {
1485
1603
  /**
1486
1604
  * Runtime expression for a user-defined output value.
1487
1605
  *
1488
- * This interface was referenced by `OutputsStep13`'s JSON-Schema definition
1606
+ * This interface was referenced by `OutputsStep14`'s JSON-Schema definition
1489
1607
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1490
1608
  */
1491
1609
  [k: string]: string;
@@ -1493,11 +1611,11 @@ export interface OutputsStep13 {
1493
1611
  /**
1494
1612
  * Environment variables to set from user-defined expressions.
1495
1613
  */
1496
- export interface VariablesStep13 {
1614
+ export interface VariablesStep14 {
1497
1615
  /**
1498
1616
  * Runtime expression for a user-defined output value.
1499
1617
  *
1500
- * This interface was referenced by `VariablesStep13`'s JSON-Schema definition
1618
+ * This interface was referenced by `VariablesStep14`'s JSON-Schema definition
1501
1619
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1502
1620
  */
1503
1621
  [k: string]: string;
@@ -1505,7 +1623,7 @@ export interface VariablesStep13 {
1505
1623
  /**
1506
1624
  * Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.
1507
1625
  */
1508
- export interface SourceLocation13 {
1626
+ export interface SourceLocation14 {
1509
1627
  /**
1510
1628
  * 1-indexed line number in the source file where the step was detected.
1511
1629
  */
@@ -1541,7 +1659,7 @@ export interface DragAndDrop1 {
1541
1659
  duration?: number;
1542
1660
  [k: string]: unknown;
1543
1661
  }
1544
- export interface Common14 {
1662
+ export interface Common15 {
1545
1663
  /**
1546
1664
  * JSON Schema for this object.
1547
1665
  */
@@ -1558,13 +1676,13 @@ export interface Common14 {
1558
1676
  * Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.
1559
1677
  */
1560
1678
  unsafe?: boolean;
1561
- outputs?: OutputsStep14;
1562
- variables?: VariablesStep14;
1679
+ outputs?: OutputsStep15;
1680
+ variables?: VariablesStep15;
1563
1681
  /**
1564
1682
  * Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.
1565
1683
  */
1566
1684
  breakpoint?: boolean;
1567
- location?: SourceLocation14;
1685
+ location?: SourceLocation15;
1568
1686
  /**
1569
1687
  * Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.
1570
1688
  */
@@ -1574,11 +1692,11 @@ export interface Common14 {
1574
1692
  /**
1575
1693
  * Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.
1576
1694
  */
1577
- export interface OutputsStep14 {
1695
+ export interface OutputsStep15 {
1578
1696
  /**
1579
1697
  * Runtime expression for a user-defined output value.
1580
1698
  *
1581
- * This interface was referenced by `OutputsStep14`'s JSON-Schema definition
1699
+ * This interface was referenced by `OutputsStep15`'s JSON-Schema definition
1582
1700
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1583
1701
  */
1584
1702
  [k: string]: string;
@@ -1586,11 +1704,11 @@ export interface OutputsStep14 {
1586
1704
  /**
1587
1705
  * Environment variables to set from user-defined expressions.
1588
1706
  */
1589
- export interface VariablesStep14 {
1707
+ export interface VariablesStep15 {
1590
1708
  /**
1591
1709
  * Runtime expression for a user-defined output value.
1592
1710
  *
1593
- * This interface was referenced by `VariablesStep14`'s JSON-Schema definition
1711
+ * This interface was referenced by `VariablesStep15`'s JSON-Schema definition
1594
1712
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1595
1713
  */
1596
1714
  [k: string]: string;
@@ -1598,7 +1716,7 @@ export interface VariablesStep14 {
1598
1716
  /**
1599
1717
  * Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.
1600
1718
  */
1601
- export interface SourceLocation14 {
1719
+ export interface SourceLocation15 {
1602
1720
  /**
1603
1721
  * 1-indexed line number in the source file where the step was detected.
1604
1722
  */
@@ -1616,7 +1734,7 @@ export interface LoadCookie {
1616
1734
  loadCookie: LoadCookie1;
1617
1735
  [k: string]: unknown;
1618
1736
  }
1619
- export interface Common15 {
1737
+ export interface Common16 {
1620
1738
  /**
1621
1739
  * JSON Schema for this object.
1622
1740
  */
@@ -1633,13 +1751,13 @@ export interface Common15 {
1633
1751
  * Whether or not the step may be unsafe. Unsafe steps may perform actions that could modify the system or environment in unexpected ways. Unsafe steps are only performed within Docker containers or if unsafe steps are enabled with the `allowUnsafeSteps` config property or the `--allow-unsafe` flag.
1634
1752
  */
1635
1753
  unsafe?: boolean;
1636
- outputs?: OutputsStep15;
1637
- variables?: VariablesStep15;
1754
+ outputs?: OutputsStep16;
1755
+ variables?: VariablesStep16;
1638
1756
  /**
1639
1757
  * Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.
1640
1758
  */
1641
1759
  breakpoint?: boolean;
1642
- location?: SourceLocation15;
1760
+ location?: SourceLocation16;
1643
1761
  /**
1644
1762
  * Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.
1645
1763
  */
@@ -1649,11 +1767,11 @@ export interface Common15 {
1649
1767
  /**
1650
1768
  * Outputs from step processes and user-defined expressions. Use the `outputs` object to reference outputs in subsequent steps. If a user-defined output matches the key for a step-defined output, the user-defined output takes precedence.
1651
1769
  */
1652
- export interface OutputsStep15 {
1770
+ export interface OutputsStep16 {
1653
1771
  /**
1654
1772
  * Runtime expression for a user-defined output value.
1655
1773
  *
1656
- * This interface was referenced by `OutputsStep15`'s JSON-Schema definition
1774
+ * This interface was referenced by `OutputsStep16`'s JSON-Schema definition
1657
1775
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1658
1776
  */
1659
1777
  [k: string]: string;
@@ -1661,11 +1779,11 @@ export interface OutputsStep15 {
1661
1779
  /**
1662
1780
  * Environment variables to set from user-defined expressions.
1663
1781
  */
1664
- export interface VariablesStep15 {
1782
+ export interface VariablesStep16 {
1665
1783
  /**
1666
1784
  * Runtime expression for a user-defined output value.
1667
1785
  *
1668
- * This interface was referenced by `VariablesStep15`'s JSON-Schema definition
1786
+ * This interface was referenced by `VariablesStep16`'s JSON-Schema definition
1669
1787
  * via the `patternProperty` "^[A-Za-z0-9_]+$".
1670
1788
  */
1671
1789
  [k: string]: string;
@@ -1673,7 +1791,7 @@ export interface VariablesStep15 {
1673
1791
  /**
1674
1792
  * Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.
1675
1793
  */
1676
- export interface SourceLocation15 {
1794
+ export interface SourceLocation16 {
1677
1795
  /**
1678
1796
  * 1-indexed line number in the source file where the step was detected.
1679
1797
  */