regressify 1.2.29 → 1.2.30
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.
|
@@ -49,6 +49,11 @@ module.exports = async (context) => {
|
|
|
49
49
|
el.focus();
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
if (!!action.goto) {
|
|
53
|
+
console.log(logPrefix + 'Goto:', action.goto);
|
|
54
|
+
await page.goto(action.goto);
|
|
55
|
+
}
|
|
56
|
+
|
|
52
57
|
if (!!action.hide) {
|
|
53
58
|
console.log(logPrefix + 'Hide:', action.hide);
|
|
54
59
|
await page.waitForSelector(action.hide);
|
package/common/test-schema.json
CHANGED
|
@@ -189,6 +189,9 @@
|
|
|
189
189
|
{
|
|
190
190
|
"$ref": "#/definitions/ClickAction"
|
|
191
191
|
},
|
|
192
|
+
{
|
|
193
|
+
"$ref": "#/definitions/GoToAction"
|
|
194
|
+
},
|
|
192
195
|
{
|
|
193
196
|
"$ref": "#/definitions/HideAction"
|
|
194
197
|
},
|
|
@@ -288,7 +291,10 @@
|
|
|
288
291
|
}
|
|
289
292
|
]
|
|
290
293
|
}
|
|
291
|
-
}
|
|
294
|
+
},
|
|
295
|
+
"required": [
|
|
296
|
+
"check"
|
|
297
|
+
]
|
|
292
298
|
},
|
|
293
299
|
"ClickAction": {
|
|
294
300
|
"type": "object",
|
|
@@ -310,7 +316,10 @@
|
|
|
310
316
|
}
|
|
311
317
|
]
|
|
312
318
|
}
|
|
313
|
-
}
|
|
319
|
+
},
|
|
320
|
+
"required": [
|
|
321
|
+
"click"
|
|
322
|
+
]
|
|
314
323
|
},
|
|
315
324
|
"HideAction": {
|
|
316
325
|
"type": "object",
|
|
@@ -337,6 +346,31 @@
|
|
|
337
346
|
"hide"
|
|
338
347
|
]
|
|
339
348
|
},
|
|
349
|
+
"GotoAction": {
|
|
350
|
+
"type": "object",
|
|
351
|
+
"additionalProperties": false,
|
|
352
|
+
"properties": {
|
|
353
|
+
"goto": {
|
|
354
|
+
"type": "string"
|
|
355
|
+
},
|
|
356
|
+
"frame": {
|
|
357
|
+
"oneOf": [
|
|
358
|
+
{
|
|
359
|
+
"type": "string"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"type": "array",
|
|
363
|
+
"items": {
|
|
364
|
+
"type": "string"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
]
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"required": [
|
|
371
|
+
"goto"
|
|
372
|
+
]
|
|
373
|
+
},
|
|
340
374
|
"HoverAction": {
|
|
341
375
|
"type": "object",
|
|
342
376
|
"additionalProperties": false,
|
|
@@ -613,7 +647,10 @@
|
|
|
613
647
|
}
|
|
614
648
|
]
|
|
615
649
|
}
|
|
616
|
-
}
|
|
650
|
+
},
|
|
651
|
+
"required": [
|
|
652
|
+
"uncheck"
|
|
653
|
+
]
|
|
617
654
|
},
|
|
618
655
|
"WaitAction": {
|
|
619
656
|
"type": "object",
|
|
@@ -671,7 +708,10 @@
|
|
|
671
708
|
}
|
|
672
709
|
]
|
|
673
710
|
}
|
|
674
|
-
}
|
|
711
|
+
},
|
|
712
|
+
"required": [
|
|
713
|
+
"persist"
|
|
714
|
+
]
|
|
675
715
|
}
|
|
676
716
|
}
|
|
677
717
|
}
|