@react-native-windows/automation 0.3.32 → 0.3.34
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.
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* See https://github.com/microsoft/WinAppDriver/blob/master/Docs/SupportedAPIs.md
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type AutomationElement = Pick<WebdriverIO.Element, 'addValue' | 'clearValue' | 'click' | 'doubleClick' | 'findElements' | 'getAttribute' | 'getLocation' | 'getSize' | 'getText' | 'getValue' | 'isDisplayed' | 'isDisplayedInViewport' | 'isEnabled' | 'isEqual' | 'isSelected' | 'moveTo' | 'saveScreenshot' | 'sendKeys' | 'selectByVisibleText' | 'setValue' | 'touchAction' | 'waitForDisplayed' | 'waitForExist'>;
|
|
15
15
|
/**
|
|
16
16
|
* A subset of WebDriver functionality that will work with Windows applications
|
|
17
17
|
*/
|
|
@@ -9,7 +9,7 @@ import NodeEnvironment from 'jest-environment-node';
|
|
|
9
9
|
import { RemoteOptions } from 'webdriverio';
|
|
10
10
|
import { JestEnvironmentConfig } from '@jest/environment';
|
|
11
11
|
import type { EnvironmentContext } from '@jest/environment';
|
|
12
|
-
export
|
|
12
|
+
export type EnvironmentOptions = {
|
|
13
13
|
/**
|
|
14
14
|
* The application to launch. Can be a path to an exe, or a package identity
|
|
15
15
|
* name (e.g. Microsoft.WindowsAlarms)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-windows/automation",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.34",
|
|
4
4
|
"description": "UI Automation Suite for React Native Windows Applications",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"watch": "rnw-scripts watch"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@react-native-windows/automation-channel": "^0.
|
|
22
|
-
"@react-native-windows/fs": "^0.0.0-canary.
|
|
21
|
+
"@react-native-windows/automation-channel": "^0.9.1",
|
|
22
|
+
"@react-native-windows/fs": "^0.0.0-canary.14",
|
|
23
23
|
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
24
24
|
"@typescript-eslint/parser": "^5.30.5",
|
|
25
25
|
"chalk": "^4.1.2",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@types/readline-sync": "^1.4.4",
|
|
39
39
|
"eslint": "^8.19.0",
|
|
40
40
|
"prettier": "^2.4.1",
|
|
41
|
-
"typescript": "^4.
|
|
41
|
+
"typescript": "^4.9.5"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"jest": ">=29.0.3",
|