@fluentui-react-native/tester 0.170.56 → 0.170.59
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/CHANGELOG.md +67 -0
- package/README.md +21 -2
- package/app.json +0 -13
- package/desktop.config.mts +45 -0
- package/docs/macos.md +1 -1
- package/docs/windows.md +1 -1
- package/metro.config.js +1 -0
- package/package.json +27 -40
- package/react-native.config.js +0 -6
- package/scripts/register-windows-app.ps1 +61 -0
- package/tsconfig.json +9 -3
- package/.buckconfig +0 -6
- package/.cache/tsconfig.tsbuildinfo +0 -1
- package/android/app/build/generated/rnta/src/main/AndroidManifest.xml +0 -16
- package/android/build.gradle +0 -43
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/android/gradle.properties +0 -53
- package/android/gradlew +0 -249
- package/android/gradlew.bat +0 -92
- package/android/settings.gradle +0 -21
- package/assets/drawable/fluent_app_icon_android_background.xml +0 -74
- package/assets/fluent_app_icon_ios.png +0 -0
- package/assets/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
- package/assets/res/mipmap-anydpi-v26/ic_launcher_round.xml +0 -5
- package/assets/res/mipmap-hdpi/fluent_app_icon_android.png +0 -0
- package/assets/res/mipmap-hdpi/fluent_app_icon_android_foreground.png +0 -0
- package/assets/res/mipmap-hdpi/fluent_app_icon_android_round.png +0 -0
- package/assets/res/mipmap-mdpi/fluent_app_icon_android.png +0 -0
- package/assets/res/mipmap-mdpi/fluent_app_icon_android_foreground.png +0 -0
- package/assets/res/mipmap-mdpi/fluent_app_icon_android_round.png +0 -0
- package/assets/res/mipmap-xhdpi/fluent_app_icon_android.png +0 -0
- package/assets/res/mipmap-xhdpi/fluent_app_icon_android_foreground.png +0 -0
- package/assets/res/mipmap-xhdpi/fluent_app_icon_android_round.png +0 -0
- package/assets/res/mipmap-xxhdpi/fluent_app_icon_android.png +0 -0
- package/assets/res/mipmap-xxhdpi/fluent_app_icon_android_foreground.png +0 -0
- package/assets/res/mipmap-xxhdpi/fluent_app_icon_android_round.png +0 -0
- package/assets/res/mipmap-xxxhdpi/fluent_app_icon_android.png +0 -0
- package/assets/res/mipmap-xxxhdpi/fluent_app_icon_android_foreground.png +0 -0
- package/assets/res/mipmap-xxxhdpi/fluent_app_icon_android_round.png +0 -0
- package/docs/android.md +0 -84
- package/docs/ios.md +0 -69
- package/ios/Podfile +0 -45
- package/ios/Podfile.lock +0 -2801
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,72 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
+
## 0.170.59
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fe236bf: FluentTester runs its macOS and Windows end-to-end tests through `desktop-test`: `yarn e2eprep:<platform>` prepares
|
|
8
|
+
the app and `yarn e2etest:<platform>` runs the `legacy` suite from `apps/E2E`. The Windows build also registers the
|
|
9
|
+
Debug package with `scripts/register-windows-app.ps1`. The Appium and WinAppDriver lanes are removed.
|
|
10
|
+
- e8f017c: FluentTester now hosts only macOS and Windows. Its iOS and Android host,
|
|
11
|
+
native projects, and assets move to the private `legacy-mobile` app, and the
|
|
12
|
+
mobile Appium E2E configurations are retired.
|
|
13
|
+
- fe236bf: Expose authoritative Windows accessibility help text for legacy desktop tests
|
|
14
|
+
and align the FluentTester Windows SDK and launch title across native dependencies
|
|
15
|
+
and the desktop harness.
|
|
16
|
+
- 5681dd6: Point the `react-native` export condition at `./src/index.tsx`; it referenced `./src/index.ts`, which does not exist.
|
|
17
|
+
- @fluentui-react-native/native-core@0.2.0
|
|
18
|
+
|
|
19
|
+
## 0.170.58
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- cfa4c66: Write TypeScript build information to `node_modules/.cache` instead of `.cache`, so
|
|
24
|
+
incremental build state is no longer included in published packages.
|
|
25
|
+
- d690e1c: Add an application-neutral desktop-test harness with canonical app/suite
|
|
26
|
+
configuration, native lifecycle ownership, standalone WDIO/Jasmine execution,
|
|
27
|
+
and shared event, JSON, JUnit, console, and GitHub Actions reporting.
|
|
28
|
+
|
|
29
|
+
Make Storybook an optional integration while preserving isolated callbacks,
|
|
30
|
+
authenticated readiness, platform exclusions, and owned PowerShell services.
|
|
31
|
+
Bind native visibility/focus to existing WDIO browsers, retain delayed-render
|
|
32
|
+
waits, strengthen Windows attach identity, and forward trusted launch timeouts
|
|
33
|
+
and unpackaged working directories.
|
|
34
|
+
|
|
35
|
+
Expose authoritative UI Automation required-form state, preserving unsupported
|
|
36
|
+
results on other providers. Adapt native checkbox/switch reads to checked state
|
|
37
|
+
without changing selected semantics or legacy Appium behavior.
|
|
38
|
+
|
|
39
|
+
Expose the FluentTester application's canonical desktop targets for referenced
|
|
40
|
+
standalone suites without importing test or Storybook tooling into the app.
|
|
41
|
+
|
|
42
|
+
Legacy desktop Appium and mobile lanes remain until native semantic parity and
|
|
43
|
+
multi-day reliability qualification are complete.
|
|
44
|
+
- Updated dependencies [cfa4c66]
|
|
45
|
+
- Updated dependencies [cfa4c66]
|
|
46
|
+
- Updated dependencies [f550cfb]
|
|
47
|
+
- Updated dependencies [f550cfb]
|
|
48
|
+
- Updated dependencies [60121de]
|
|
49
|
+
- Updated dependencies [60121de]
|
|
50
|
+
- Updated dependencies [e2092f9]
|
|
51
|
+
- Updated dependencies [e2092f9]
|
|
52
|
+
- Updated dependencies [60121de]
|
|
53
|
+
- Updated dependencies [60121de]
|
|
54
|
+
- Updated dependencies [f550cfb]
|
|
55
|
+
- Updated dependencies [27dc8eb]
|
|
56
|
+
- Updated dependencies [60121de]
|
|
57
|
+
- Updated dependencies [60121de]
|
|
58
|
+
- @fluentui-react-native/native-core@0.2.0
|
|
59
|
+
|
|
60
|
+
## 0.170.57
|
|
61
|
+
|
|
62
|
+
### Patch Changes
|
|
63
|
+
|
|
64
|
+
- c547395: Move Callout and FocusZone implementations into native-core and retain the existing packages as JS-only compatibility shims under packages/shim. Native applications must directly depend on native-core and regenerate native autolinking/Pods; macOS now uses the shared FRNNativeCore pod and Windows uses one Fabric library for both components. Public APIs and native registration names are unchanged.
|
|
65
|
+
- Updated dependencies [c547395]
|
|
66
|
+
- Updated dependencies [c547395]
|
|
67
|
+
- Updated dependencies [c547395]
|
|
68
|
+
- @fluentui-react-native/native-core@0.1.0
|
|
69
|
+
|
|
3
70
|
## 0.170.56
|
|
4
71
|
|
|
5
72
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -2,8 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
## `FluentUI Tester` instructions to launch each platform's test app
|
|
4
4
|
|
|
5
|
-
- [iOS](
|
|
6
|
-
- [Android](./docs/android.md)
|
|
5
|
+
- [iOS and Android](../legacy-mobile/README.md)
|
|
7
6
|
- [macOS](./docs/macos.md)
|
|
8
7
|
- [Windows](./docs/windows.md)
|
|
9
8
|
- [Win32](./../win32/README.md)
|
|
9
|
+
|
|
10
|
+
## End-to-end tests
|
|
11
|
+
|
|
12
|
+
The macOS and Windows end-to-end tests run from this directory through `desktop-test`. Run `e2eprep` once per
|
|
13
|
+
renderer or native change, then `e2etest`:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
yarn e2eprep:macos && yarn e2etest:macos
|
|
17
|
+
yarn e2eprep:windows && yarn e2etest:windows
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`e2eprep` builds the desktop driver helper, bundles, prepares, and builds the app; `e2etest` runs the `legacy` suite
|
|
21
|
+
from [`apps/E2E`](../E2E/README.md), which covers prerequisites, suites, and debugging failures. For the harness
|
|
22
|
+
itself, see the `@fluentui-react-native/desktop-test` package guide at `packages/agentic/desktop-test/README.md`.
|
|
23
|
+
|
|
24
|
+
Windows preparation requires Windows App Runtime 1.8 and Windows SDK 10.0.22621.0, or the SDK named by the
|
|
25
|
+
`WindowsTargetPlatformVersion` environment variable (the PR workflow sets 10.0.26100.0).
|
|
26
|
+
The target uses the SDK consistently for the app and its native dependencies,
|
|
27
|
+
registers the Debug package, and matches its exact `FluentTester` window title.
|
|
28
|
+
The test run owns Metro and stops it on completion.
|
package/app.json
CHANGED
|
@@ -3,17 +3,6 @@
|
|
|
3
3
|
"displayName": "FluentTester",
|
|
4
4
|
"singleApp": "fluent-tester",
|
|
5
5
|
"components": [{ "appKey": "FluentTester", "displayName": "Fluent Tester", "slug": "fluent-tester" }],
|
|
6
|
-
"android": {
|
|
7
|
-
"icons": "assets/res"
|
|
8
|
-
},
|
|
9
|
-
"ios": {
|
|
10
|
-
"icons": {
|
|
11
|
-
"primaryIcon": {
|
|
12
|
-
"filename": "assets/fluent_app_icon_ios.png",
|
|
13
|
-
"prerendered": true
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
6
|
"macos": {
|
|
18
7
|
"icons": {
|
|
19
8
|
"primaryIcon": {
|
|
@@ -27,8 +16,6 @@
|
|
|
27
16
|
}
|
|
28
17
|
},
|
|
29
18
|
"resources": {
|
|
30
|
-
"android": ["dist/res", "dist/index.android.bundle"],
|
|
31
|
-
"ios": ["dist/assets", "dist/index.ios.jsbundle"],
|
|
32
19
|
"macos": ["dist/assets", "dist/index.macos.jsbundle"],
|
|
33
20
|
"windows": ["dist/assets", "dist/index.windows.bundle"]
|
|
34
21
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineDesktopConfig } from '@fluentui-react-native/desktop-test/config';
|
|
2
|
+
|
|
3
|
+
const metroPort = 8081;
|
|
4
|
+
// Hosted runners set the installed SDK (the Windows Server 2025 image ships only 10.0.26100.0).
|
|
5
|
+
const windowsSdkVersion = process.env.WindowsTargetPlatformVersion || '10.0.22621.0';
|
|
6
|
+
|
|
7
|
+
export default defineDesktopConfig({
|
|
8
|
+
schemaVersion: 1,
|
|
9
|
+
projectRoot: new URL('.', import.meta.url),
|
|
10
|
+
targets: {
|
|
11
|
+
macos: { host: { kind: 'react-native-test-app', renderer: 'fabric' }, launchTimeoutMs: 180_000 },
|
|
12
|
+
windows: {
|
|
13
|
+
// Windows uses the app displayName, not the component displayName used by macOS.
|
|
14
|
+
host: { kind: 'react-native-test-app', renderer: 'fabric', application: { windowTitle: 'FluentTester' } },
|
|
15
|
+
launchTimeoutMs: 180_000,
|
|
16
|
+
commands: {
|
|
17
|
+
// The default build stage does not register the package that the harness launches by AUMID.
|
|
18
|
+
build: [
|
|
19
|
+
{
|
|
20
|
+
command: 'yarn',
|
|
21
|
+
args: [
|
|
22
|
+
'windows',
|
|
23
|
+
'--no-deploy',
|
|
24
|
+
'--no-launch',
|
|
25
|
+
'--no-packager',
|
|
26
|
+
// One SDK for the whole solution; RNSVG otherwise chooses the newest SDK and its WinMD is rejected by the RN Test App.
|
|
27
|
+
'--msbuildprops',
|
|
28
|
+
`WindowsTargetPlatformVersion=${windowsSdkVersion}`,
|
|
29
|
+
],
|
|
30
|
+
},
|
|
31
|
+
{ command: 'pwsh', args: ['-NoProfile', '-File', 'scripts/register-windows-app.ps1'] },
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
// Debug builds of the RN Test App load their JavaScript from Metro.
|
|
35
|
+
services: [
|
|
36
|
+
{
|
|
37
|
+
id: 'metro',
|
|
38
|
+
command: { command: 'yarn', args: ['exec', 'rnx-cli', 'start', '--no-interactive', '--port', String(metroPort)] },
|
|
39
|
+
// eslint-disable-next-line @microsoft/sdl/no-insecure-url -- React Native Test App connects to loopback Metro
|
|
40
|
+
readyUrl: `http://127.0.0.1:${metroPort}/status`,
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
});
|
package/docs/macos.md
CHANGED
|
@@ -51,7 +51,7 @@ yarn rnx-align-deps --set-version
|
|
|
51
51
|
This command will ensure that all relevant packages are bumped correctly.
|
|
52
52
|
|
|
53
53
|
You can read more about this tool here:
|
|
54
|
-
[`@rnx-kit/align-deps` design document](https://github.com/microsoft/rnx-kit/blob/main/docsite/docs/architecture/dependency-management.md)
|
|
54
|
+
[`@rnx-kit/align-deps` design document](https://github.com/microsoft/rnx-kit/blob/main/docsite/src/content/docs/docs/architecture/dependency-management.md)
|
|
55
55
|
|
|
56
56
|
## Troubleshooting
|
|
57
57
|
|
package/docs/windows.md
CHANGED
|
@@ -41,7 +41,7 @@ yarn rnx-align-deps --set-version
|
|
|
41
41
|
This command will ensure that all relevant packages are bumped correctly.
|
|
42
42
|
|
|
43
43
|
You can read more about this tool here:
|
|
44
|
-
[`@rnx-kit/align-deps` design document](https://github.com/microsoft/rnx-kit/blob/main/docsite/docs/architecture/dependency-management.md)
|
|
44
|
+
[`@rnx-kit/align-deps` design document](https://github.com/microsoft/rnx-kit/blob/main/docsite/src/content/docs/docs/architecture/dependency-management.md)
|
|
45
45
|
|
|
46
46
|
## Troubleshooting
|
|
47
47
|
|
package/metro.config.js
CHANGED
|
@@ -13,6 +13,7 @@ function pathForRegex(...parts) {
|
|
|
13
13
|
|
|
14
14
|
const blockList = exclusionList([
|
|
15
15
|
// Exclude other test apps
|
|
16
|
+
new RegExp(pathForRegex(__dirname, '../legacy-mobile')),
|
|
16
17
|
new RegExp(pathForRegex(__dirname, '../win32')),
|
|
17
18
|
new RegExp(pathForRegex(__dirname, '../win32-81')),
|
|
18
19
|
// Exclude build output directory
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.170.
|
|
3
|
+
"version": "0.170.59",
|
|
4
4
|
"description": "A test app to test FluentUI React Native Components during development",
|
|
5
5
|
"homepage": "https://github.com/microsoft/fluentui-react-native",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,28 +16,30 @@
|
|
|
16
16
|
"exports": {
|
|
17
17
|
".": {
|
|
18
18
|
"types": "./lib/index.d.ts",
|
|
19
|
-
"react-native": "./src/index.
|
|
19
|
+
"react-native": "./src/index.tsx",
|
|
20
20
|
"import": "./lib/index.js",
|
|
21
21
|
"default": "./src/index.tsx"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
|
-
"android": "rnx-cli run --platform android",
|
|
26
25
|
"build": "tsc -b",
|
|
27
26
|
"bundle": "rnx-cli bundle --dev false",
|
|
28
|
-
"bundle:android": "rnx-cli bundle --dev false --platform android",
|
|
29
|
-
"bundle:ios": "rnx-cli bundle --dev false --platform ios",
|
|
30
27
|
"bundle:macos": "rnx-cli bundle --dev false --platform macos",
|
|
31
28
|
"bundle:windows": "rnx-cli bundle --dev false --platform windows",
|
|
32
29
|
"clean": "fluentui-scripts clean",
|
|
30
|
+
"desktop-test": "desktop-test",
|
|
31
|
+
"e2eprep:macos": "desktop-test --target macos build-driver && desktop-test --target macos bundle && desktop-test --target macos prep && desktop-test --target macos build",
|
|
32
|
+
"e2eprep:windows": "desktop-test --target windows build-driver && desktop-test --target windows bundle && desktop-test --target windows prep && desktop-test --target windows build",
|
|
33
|
+
"e2etest:macos": "desktop-test --config ../E2E/desktop.config.mts --target macos test --suite legacy",
|
|
34
|
+
"e2etest:windows": "desktop-test --config ../E2E/desktop.config.mts --target windows test --suite legacy",
|
|
33
35
|
"format": "fluentui-scripts format",
|
|
34
|
-
"ios": "rnx-cli run --platform ios",
|
|
35
36
|
"lint": "fluentui-scripts lint",
|
|
36
37
|
"macos": "rnx-cli run --platform macos",
|
|
37
38
|
"start": "rnx-cli start",
|
|
38
39
|
"windows": "react-native run-windows --arch x64 --sln windows/FluentTester.sln"
|
|
39
40
|
},
|
|
40
41
|
"dependencies": {
|
|
42
|
+
"@fluentui-react-native/native-core": "0.2.0",
|
|
41
43
|
"@types/node": "^22.19.7",
|
|
42
44
|
"@types/react": "~19.1.4",
|
|
43
45
|
"react": "19.1.4",
|
|
@@ -49,22 +51,22 @@
|
|
|
49
51
|
"devDependencies": {
|
|
50
52
|
"@babel/core": "^7.20.0",
|
|
51
53
|
"@babel/runtime": "^7.20.0",
|
|
52
|
-
"@fluentui-react-native/callout": "0.29.
|
|
53
|
-
"@fluentui-react-native/
|
|
54
|
-
"@fluentui-react-native/experimental-
|
|
55
|
-
"@fluentui-react-native/experimental-
|
|
56
|
-
"@fluentui-react-native/experimental-
|
|
57
|
-
"@fluentui-react-native/experimental-native-
|
|
58
|
-
"@fluentui-react-native/experimental-
|
|
59
|
-
"@fluentui-react-native/
|
|
60
|
-
"@fluentui-react-native/
|
|
61
|
-
"@fluentui-react-native/
|
|
54
|
+
"@fluentui-react-native/callout": "0.29.8",
|
|
55
|
+
"@fluentui-react-native/desktop-test": "0.2.1",
|
|
56
|
+
"@fluentui-react-native/experimental-appearance-additions": "0.8.12",
|
|
57
|
+
"@fluentui-react-native/experimental-avatar": "0.22.15",
|
|
58
|
+
"@fluentui-react-native/experimental-checkbox": "0.18.16",
|
|
59
|
+
"@fluentui-react-native/experimental-native-date-picker": "0.12.8",
|
|
60
|
+
"@fluentui-react-native/experimental-native-font-metrics": "0.7.8",
|
|
61
|
+
"@fluentui-react-native/experimental-shimmer": "0.15.10",
|
|
62
|
+
"@fluentui-react-native/focus-zone": "0.23.8",
|
|
63
|
+
"@fluentui-react-native/menu-button": "0.15.12",
|
|
64
|
+
"@fluentui-react-native/radio-group": "0.22.17",
|
|
62
65
|
"@fluentui-react-native/scripts": "0.1.0",
|
|
63
66
|
"@fluentui-react-native/tester-core": "0.1.0",
|
|
64
|
-
"@fluentui-react-native/tooltip": "0.5.
|
|
65
|
-
"@fluentui-react-native/vibrancy-view": "0.4.
|
|
67
|
+
"@fluentui-react-native/tooltip": "0.5.15",
|
|
68
|
+
"@fluentui-react-native/vibrancy-view": "0.4.8",
|
|
66
69
|
"@react-native-community/cli": "^20.0.0",
|
|
67
|
-
"@react-native-community/cli-platform-android": "^20.0.0",
|
|
68
70
|
"@react-native-community/cli-platform-ios": "^20.0.0",
|
|
69
71
|
"@react-native-windows/cli": "^0.81.0",
|
|
70
72
|
"@react-native/babel-preset": "^0.81.0",
|
|
@@ -80,12 +82,11 @@
|
|
|
80
82
|
"@svgr/plugin-svgo": "^8.1.0",
|
|
81
83
|
"@types/jasmine": "5.1.13",
|
|
82
84
|
"@types/react-test-renderer": "^19.1.0",
|
|
83
|
-
"@wdio/cli": "^
|
|
84
|
-
"@wdio/globals": "^
|
|
85
|
-
"@wdio/jasmine-framework": "^
|
|
86
|
-
"@wdio/
|
|
87
|
-
"
|
|
88
|
-
"expect-webdriverio": "^5.6.1",
|
|
85
|
+
"@wdio/cli": "^10.1.0",
|
|
86
|
+
"@wdio/globals": "^10.1.0",
|
|
87
|
+
"@wdio/jasmine-framework": "^10.1.0",
|
|
88
|
+
"@wdio/runner": "^10.1.0",
|
|
89
|
+
"expect-webdriverio": "^8.0.0",
|
|
89
90
|
"flow-bin": "^0.113.0",
|
|
90
91
|
"metro": "^0.83.8",
|
|
91
92
|
"metro-config": "0.83.8",
|
|
@@ -96,7 +97,7 @@
|
|
|
96
97
|
"react-native-svg-transformer": "^1.0.0",
|
|
97
98
|
"react-native-test-app": "^5.3.3",
|
|
98
99
|
"react-test-renderer": "19.1.4",
|
|
99
|
-
"webdriverio": "^
|
|
100
|
+
"webdriverio": "^10.1.0"
|
|
100
101
|
},
|
|
101
102
|
"jest": {
|
|
102
103
|
"preset": "react-native"
|
|
@@ -109,8 +110,6 @@
|
|
|
109
110
|
"entryFile": "index.js",
|
|
110
111
|
"assetsDest": "dist",
|
|
111
112
|
"targets": [
|
|
112
|
-
"android",
|
|
113
|
-
"ios",
|
|
114
113
|
"macos",
|
|
115
114
|
"windows"
|
|
116
115
|
],
|
|
@@ -129,15 +128,6 @@
|
|
|
129
128
|
]
|
|
130
129
|
],
|
|
131
130
|
"platforms": {
|
|
132
|
-
"android": {
|
|
133
|
-
"bundleOutput": "dist/index.android.bundle",
|
|
134
|
-
"sourcemapOutput": "dist/index.android.bundle.map",
|
|
135
|
-
"assetsDest": "dist/res"
|
|
136
|
-
},
|
|
137
|
-
"ios": {
|
|
138
|
-
"bundleOutput": "dist/index.ios.jsbundle",
|
|
139
|
-
"sourcemapOutput": "dist/index.ios.jsbundle.map"
|
|
140
|
-
},
|
|
141
131
|
"macos": {
|
|
142
132
|
"bundleOutput": "dist/index.macos.jsbundle",
|
|
143
133
|
"sourcemapOutput": "dist/index.macos.jsbundle.map"
|
|
@@ -157,9 +147,6 @@
|
|
|
157
147
|
},
|
|
158
148
|
"capabilities": [
|
|
159
149
|
"babel-preset-react-native",
|
|
160
|
-
"community/cli",
|
|
161
|
-
"core-android",
|
|
162
|
-
"core-ios",
|
|
163
150
|
"core-macos",
|
|
164
151
|
"core-windows",
|
|
165
152
|
"core/metro-config",
|
package/react-native.config.js
CHANGED
|
@@ -2,12 +2,6 @@ const project = (() => {
|
|
|
2
2
|
try {
|
|
3
3
|
const { configureProjects } = require('react-native-test-app');
|
|
4
4
|
return configureProjects({
|
|
5
|
-
android: {
|
|
6
|
-
sourceDir: 'android',
|
|
7
|
-
},
|
|
8
|
-
ios: {
|
|
9
|
-
sourceDir: 'ios',
|
|
10
|
-
},
|
|
11
5
|
windows: {
|
|
12
6
|
sourceDir: 'windows',
|
|
13
7
|
solutionFile: 'windows/FluentTester.sln',
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Registers the Debug package that `rnx-cli build` produced so desktop-test can launch it by AUMID.
|
|
2
|
+
$ErrorActionPreference = 'Stop'
|
|
3
|
+
|
|
4
|
+
function Install-FrameworkPackage {
|
|
5
|
+
param(
|
|
6
|
+
[Parameter(Mandatory)][string]$PackageName,
|
|
7
|
+
[Parameter(Mandatory)][Version]$MinimumVersion,
|
|
8
|
+
[Parameter(Mandatory)][string]$SdkName,
|
|
9
|
+
[Parameter(Mandatory)][string]$FileName
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
$installed = Get-AppxPackage -Name $PackageName |
|
|
13
|
+
Where-Object { $_.Architecture -eq 'X64' -and [Version]$_.Version -ge $MinimumVersion } |
|
|
14
|
+
Select-Object -First 1
|
|
15
|
+
if ($installed) {
|
|
16
|
+
return
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
$sdkRoot = Join-Path ${env:ProgramFiles(x86)} "Microsoft SDKs\Windows Kits\10\ExtensionSDKs\$SdkName"
|
|
20
|
+
$framework = Get-ChildItem -LiteralPath $sdkRoot -Filter $FileName -Recurse -ErrorAction SilentlyContinue |
|
|
21
|
+
Sort-Object FullName -Descending |
|
|
22
|
+
Select-Object -First 1
|
|
23
|
+
if (-not $framework) {
|
|
24
|
+
throw "Could not find the $PackageName framework beneath '$sdkRoot'."
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
Add-AppxPackage -Path $framework.FullName
|
|
28
|
+
$installed = Get-AppxPackage -Name $PackageName |
|
|
29
|
+
Where-Object { $_.Architecture -eq 'X64' -and [Version]$_.Version -ge $MinimumVersion } |
|
|
30
|
+
Select-Object -First 1
|
|
31
|
+
if (-not $installed) {
|
|
32
|
+
throw "$PackageName $MinimumVersion or newer was not registered for the current user."
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
$manifestPath = Join-Path $PSScriptRoot '..\windows\ReactApp.Package\bin\x64\Debug\AppxManifest.xml'
|
|
37
|
+
if (-not (Test-Path -LiteralPath $manifestPath)) {
|
|
38
|
+
throw "Debug manifest not found at '$manifestPath'. Build the app first."
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[xml]$manifest = Get-Content -LiteralPath $manifestPath
|
|
42
|
+
$identityName = [string]$manifest.Package.Identity.Name
|
|
43
|
+
foreach ($existing in @(Get-AppxPackage -Name $identityName)) {
|
|
44
|
+
Remove-AppxPackage -Package $existing.PackageFullName
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
Install-FrameworkPackage -PackageName 'Microsoft.VCLibs.140.00.Debug' `
|
|
48
|
+
-MinimumVersion ([Version]'14.0.33519.0') `
|
|
49
|
+
-SdkName 'Microsoft.VCLibs' `
|
|
50
|
+
-FileName 'Microsoft.VCLibs.x64.Debug.14.00.appx'
|
|
51
|
+
Install-FrameworkPackage -PackageName 'Microsoft.VCLibs.140.00.Debug.UWPDesktop' `
|
|
52
|
+
-MinimumVersion ([Version]'14.0.33728.0') `
|
|
53
|
+
-SdkName 'Microsoft.VCLibs.Desktop' `
|
|
54
|
+
-FileName 'Microsoft.VCLibs.x64.Debug.14.00.Desktop.appx'
|
|
55
|
+
Add-AppxPackage -Register $manifestPath
|
|
56
|
+
|
|
57
|
+
$registered = @(Get-AppxPackage -Name $identityName)
|
|
58
|
+
if ($registered.Count -ne 1) {
|
|
59
|
+
throw "Expected one registered '$identityName' package but found $($registered.Count)."
|
|
60
|
+
}
|
|
61
|
+
Write-Host "Registered $($registered[0].PackageFullName)"
|
package/tsconfig.json
CHANGED
|
@@ -6,12 +6,15 @@
|
|
|
6
6
|
"types": ["@types/jasmine", "@wdio/globals/types", "@wdio/jasmine-framework", "node"],
|
|
7
7
|
"rootDir": "src",
|
|
8
8
|
"composite": true,
|
|
9
|
-
"tsBuildInfoFile": "
|
|
9
|
+
"tsBuildInfoFile": "node_modules/.cache/tsconfig.tsbuildinfo"
|
|
10
10
|
},
|
|
11
11
|
"include": ["src"],
|
|
12
12
|
"references": [
|
|
13
13
|
{
|
|
14
|
-
"path": "../../packages/
|
|
14
|
+
"path": "../../packages/shim/callout/tsconfig.json"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"path": "../../packages/agentic/desktop-test/tsconfig.json"
|
|
15
18
|
},
|
|
16
19
|
{
|
|
17
20
|
"path": "../../packages/experimental/AppearanceAdditions/tsconfig.json"
|
|
@@ -32,11 +35,14 @@
|
|
|
32
35
|
"path": "../../packages/experimental/Shimmer/tsconfig.json"
|
|
33
36
|
},
|
|
34
37
|
{
|
|
35
|
-
"path": "../../packages/
|
|
38
|
+
"path": "../../packages/shim/focus-zone/tsconfig.json"
|
|
36
39
|
},
|
|
37
40
|
{
|
|
38
41
|
"path": "../../packages/components/MenuButton/tsconfig.json"
|
|
39
42
|
},
|
|
43
|
+
{
|
|
44
|
+
"path": "../../packages/agentic/native-core/tsconfig.json"
|
|
45
|
+
},
|
|
40
46
|
{
|
|
41
47
|
"path": "../../packages/components/RadioGroup/tsconfig.json"
|
|
42
48
|
},
|