@sungen/driver-mobile 3.2.31 → 3.2.33
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sungen/driver-mobile",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.33",
|
|
4
4
|
"description": "Sungen mobile platform driver (Appium / WebdriverIO) — gesture vocabulary, mobile selector strategies, viewpoint gate, and the WDIO runner. Plugs into @sun-asterisk/sungen via the capability SPI.",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"author": "eqe team (engineer & quality) — Sun Asterisk",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@sun-asterisk/sungen": "3.2.
|
|
16
|
+
"@sun-asterisk/sungen": "3.2.33",
|
|
17
17
|
"@wdio/appium-service": "^9.0.0",
|
|
18
18
|
"@wdio/cli": "^9.0.0",
|
|
19
19
|
"@wdio/local-runner": "^9.0.0",
|
|
@@ -35,8 +35,8 @@ export const gesturePatterns: StepPattern[] = [
|
|
|
35
35
|
// projects too: re-keying it onto "click" made priority 15 outrank the generic `click-element`
|
|
36
36
|
// (10) and it captured every plain click on every web feature. Priority then does the rest — a
|
|
37
37
|
// plain tap lands here, while the forms that mean MORE than a click win on their own priority:
|
|
38
|
-
// `click-with-alert` (21), `table-
|
|
39
|
-
// `mobile-double-tap` (17).
|
|
38
|
+
// `click-with-alert` (21), `table-row-hidden` (19), `table-action-in-row-nth` (18),
|
|
39
|
+
// `tap-top-of-element` (18), `mobile-double-tap` (17).
|
|
40
40
|
name: 'mobile-tap',
|
|
41
41
|
matcher: (step) =>
|
|
42
42
|
/\btap(s)?\b/i.test(step.text) &&
|
|
@@ -239,7 +239,7 @@ export const gesturePatterns: StepPattern[] = [
|
|
|
239
239
|
resolver: (step, context) => {
|
|
240
240
|
let value: string;
|
|
241
241
|
if (step.dataRef) {
|
|
242
|
-
|
|
242
|
+
value = context.dataResolver.resolveData(step.dataRef, context.featureName);
|
|
243
243
|
} else { value = step.value!; }
|
|
244
244
|
return { templateName: 'set-clipboard-action', data: { clipboardValue: value, dataRef: step.dataRef }, comment: 'Set the device clipboard' };
|
|
245
245
|
},
|