@appium/fake-driver 5.2.9 → 5.2.11
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.
|
@@ -71,7 +71,6 @@ require("./general");
|
|
|
71
71
|
//rest.post('/wd/hub/session/:sessionId?/appium/device/press_keycode', controller.pressKeyCode);
|
|
72
72
|
//rest.post('/wd/hub/session/:sessionId?/appium/device/long_press_keycode', controller.longPressKeyCode);
|
|
73
73
|
//rest.post('/wd/hub/session/:sessionId?/appium/device/keyevent', controller.keyevent);
|
|
74
|
-
//rest.post('/wd/hub/session/:sessionId?/appium/device/rotate', controller.mobileRotation);
|
|
75
74
|
//rest.get('/wd/hub/session/:sessionId?/appium/device/current_activity', controller.getCurrentActivity);
|
|
76
75
|
//rest.post('/wd/hub/session/:sessionId?/appium/device/install_app', controller.installApp);
|
|
77
76
|
//rest.post('/wd/hub/session/:sessionId?/appium/device/remove_app', controller.removeApp);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;AAEH,mBAAiB;AACjB,sBAAoB;AACpB,qBAAmB;AACnB,kBAAgB;AAChB,qBAAmB;AAEnB
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/commands/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;AAEH,mBAAiB;AACjB,sBAAoB;AACpB,qBAAmB;AACnB,kBAAgB;AAChB,qBAAmB;AAEnB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqFE"}
|
package/lib/commands/index.ts
CHANGED
|
@@ -71,7 +71,6 @@ import './general';
|
|
|
71
71
|
//rest.post('/wd/hub/session/:sessionId?/appium/device/press_keycode', controller.pressKeyCode);
|
|
72
72
|
//rest.post('/wd/hub/session/:sessionId?/appium/device/long_press_keycode', controller.longPressKeyCode);
|
|
73
73
|
//rest.post('/wd/hub/session/:sessionId?/appium/device/keyevent', controller.keyevent);
|
|
74
|
-
//rest.post('/wd/hub/session/:sessionId?/appium/device/rotate', controller.mobileRotation);
|
|
75
74
|
//rest.get('/wd/hub/session/:sessionId?/appium/device/current_activity', controller.getCurrentActivity);
|
|
76
75
|
//rest.post('/wd/hub/session/:sessionId?/appium/device/install_app', controller.installApp);
|
|
77
76
|
//rest.post('/wd/hub/session/:sessionId?/appium/device/remove_app', controller.removeApp);
|
package/lib/driver.js
CHANGED
|
@@ -55,7 +55,7 @@ export class FakeDriver extends BaseDriver {
|
|
|
55
55
|
|
|
56
56
|
constructor(
|
|
57
57
|
opts = /** @type {import('@appium/types').InitialOpts} */ ({}),
|
|
58
|
-
shouldValidateCaps = true
|
|
58
|
+
shouldValidateCaps = true,
|
|
59
59
|
) {
|
|
60
60
|
super(opts, shouldValidateCaps);
|
|
61
61
|
this.curContext = 'NATIVE_APP';
|
|
@@ -113,7 +113,7 @@ export class FakeDriver extends BaseDriver {
|
|
|
113
113
|
if (d.isUnique) {
|
|
114
114
|
throw new errors.SessionNotCreatedError(
|
|
115
115
|
'Cannot start session; another ' +
|
|
116
|
-
'unique session is in progress that requires all resources'
|
|
116
|
+
'unique session is in progress that requires all resources',
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
119
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appium/fake-driver",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.11",
|
|
4
4
|
"description": "Mock driver used internally by Appium for testing. Ignore",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"automation",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"test:unit": "mocha --timeout 10s --slow 5s \"./test/unit/**/*.spec.js\""
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@types/bluebird": "3.5.
|
|
49
|
+
"@types/bluebird": "3.5.42",
|
|
50
50
|
"@xmldom/xmldom": "0.8.10",
|
|
51
|
-
"asyncbox": "
|
|
51
|
+
"asyncbox": "3.0.0",
|
|
52
52
|
"bluebird": "3.7.2",
|
|
53
53
|
"lodash": "4.17.21",
|
|
54
54
|
"source-map-support": "0.5.21",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"entryPoint": "./lib/index.js"
|
|
84
84
|
},
|
|
85
85
|
"types": "./build/lib/index.d.ts",
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "717ec38d8cb63330ac1901eda8ef4489d256678b"
|
|
87
87
|
}
|