@fluentui-react-native/tester 0.167.33 → 0.168.1
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.json +30 -0
- package/CHANGELOG.md +17 -1
- package/android/build.gradle +21 -5
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +3 -1
- package/android/gradle.properties +25 -10
- package/android/gradlew +28 -13
- package/android/gradlew.bat +19 -16
- package/android/settings.gradle +11 -2
- package/babel.config.js +1 -1
- package/index.js +5 -1
- package/ios/Podfile.lock +922 -254
- package/lib/E2E/src/FocusZone/pages/FocusZonePageObject.d.ts +8 -9
- package/lib/E2E/src/FocusZone/pages/FocusZonePageObject.d.ts.map +1 -1
- package/lib/E2E/src/common/BasePage.d.ts +5 -6
- package/lib/E2E/src/common/BasePage.d.ts.map +1 -1
- package/lib/E2E/src/common/BasePage.js +85 -23
- package/lib/E2E/src/common/BasePage.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Button/E2EButtonTest.js.map +1 -1
- package/lib-commonjs/E2E/src/FocusZone/pages/FocusZonePageObject.d.ts +8 -9
- package/lib-commonjs/E2E/src/FocusZone/pages/FocusZonePageObject.d.ts.map +1 -1
- package/lib-commonjs/E2E/src/common/BasePage.d.ts +5 -6
- package/lib-commonjs/E2E/src/common/BasePage.d.ts.map +1 -1
- package/lib-commonjs/E2E/src/common/BasePage.js +85 -23
- package/lib-commonjs/E2E/src/common/BasePage.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Button/E2EButtonTest.js.map +1 -1
- package/macos/Podfile.lock +915 -253
- package/package.json +59 -58
- package/src/TestComponents/Button/E2EButtonTest.tsx +1 -1
- package/tsconfig.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"date": "Fri, 12 Apr 2024 21:00:10 GMT",
|
|
6
|
+
"version": "0.168.1",
|
|
7
|
+
"tag": "@fluentui-react-native/tester_v0.168.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "sanajmi@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"commit": "055bddda6b613c5c2045cc20a455a94c5a4b53dd",
|
|
14
|
+
"comment": "chore: Update react-native-svg to 15.1.0"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Thu, 11 Apr 2024 18:08:39 GMT",
|
|
21
|
+
"version": "0.168.0",
|
|
22
|
+
"tag": "@fluentui-react-native/tester_v0.168.0",
|
|
23
|
+
"comments": {
|
|
24
|
+
"minor": [
|
|
25
|
+
{
|
|
26
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
27
|
+
"package": "@fluentui-react-native/tester",
|
|
28
|
+
"commit": "6164473627c321b03d301376c48227f4abd8e947",
|
|
29
|
+
"comment": "Update to RN 0.73"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
4
34
|
{
|
|
5
35
|
"date": "Fri, 29 Mar 2024 18:07:00 GMT",
|
|
6
36
|
"version": "0.167.32",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on Fri,
|
|
3
|
+
This log was last generated on Fri, 12 Apr 2024 21:00:10 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.168.1
|
|
8
|
+
|
|
9
|
+
Fri, 12 Apr 2024 21:00:10 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- chore: Update react-native-svg to 15.1.0 (sanajmi@microsoft.com)
|
|
14
|
+
|
|
15
|
+
## 0.168.0
|
|
16
|
+
|
|
17
|
+
Thu, 11 Apr 2024 18:08:39 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- Update to RN 0.73 (30809111+acoates-ms@users.noreply.github.com)
|
|
22
|
+
|
|
7
23
|
## 0.167.32
|
|
8
24
|
|
|
9
25
|
Fri, 29 Mar 2024 18:07:00 GMT
|
package/android/build.gradle
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
buildscript {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
apply(from: {
|
|
3
|
+
def searchDir = rootDir.toPath()
|
|
4
|
+
do {
|
|
5
|
+
def p = searchDir.resolve("node_modules/react-native-test-app/android/dependencies.gradle")
|
|
6
|
+
if (p.toFile().exists()) {
|
|
7
|
+
return p.toRealPath().toString()
|
|
8
|
+
}
|
|
9
|
+
} while (searchDir = searchDir.getParent())
|
|
10
|
+
throw new GradleException("Could not find `react-native-test-app`");
|
|
11
|
+
}())
|
|
5
12
|
|
|
6
13
|
repositories {
|
|
7
14
|
mavenCentral()
|
|
@@ -10,7 +17,7 @@ buildscript {
|
|
|
10
17
|
|
|
11
18
|
dependencies {
|
|
12
19
|
getReactNativeDependencies().each { dependency ->
|
|
13
|
-
|
|
20
|
+
classpath(dependency)
|
|
14
21
|
}
|
|
15
22
|
}
|
|
16
23
|
}
|
|
@@ -19,7 +26,16 @@ allprojects {
|
|
|
19
26
|
repositories {
|
|
20
27
|
maven {
|
|
21
28
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
22
|
-
url(
|
|
29
|
+
url({
|
|
30
|
+
def searchDir = rootDir.toPath()
|
|
31
|
+
do {
|
|
32
|
+
def p = searchDir.resolve("node_modules/react-native/android")
|
|
33
|
+
if (p.toFile().exists()) {
|
|
34
|
+
return p.toRealPath().toString()
|
|
35
|
+
}
|
|
36
|
+
} while (searchDir = searchDir.getParent())
|
|
37
|
+
throw new GradleException("Could not find `react-native`");
|
|
38
|
+
}())
|
|
23
39
|
}
|
|
24
40
|
mavenCentral()
|
|
25
41
|
google()
|
|
Binary file
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
|
|
4
|
+
networkTimeout=10000
|
|
5
|
+
validateDistributionUrl=true
|
|
4
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
5
7
|
zipStorePath=wrapper/dists
|
|
@@ -26,13 +26,28 @@ org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryEr
|
|
|
26
26
|
android.useAndroidX=true
|
|
27
27
|
# Automatically convert third-party libraries to use AndroidX
|
|
28
28
|
android.enableJetifier=true
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
#
|
|
33
|
-
|
|
34
|
-
#
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
#
|
|
38
|
-
#
|
|
29
|
+
# Jetifier randomly fails on these libraries
|
|
30
|
+
android.jetifier.ignorelist=hermes-android
|
|
31
|
+
|
|
32
|
+
# Use this property to specify which architecture you want to build.
|
|
33
|
+
# You can also override it from the CLI using
|
|
34
|
+
# ./gradlew <task> -PreactNativeArchitectures=x86_64
|
|
35
|
+
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|
36
|
+
|
|
37
|
+
# Use this property to enable support to the new architecture.
|
|
38
|
+
# This will allow you to use TurboModules and the Fabric render in
|
|
39
|
+
# your application. You should enable this flag either if you want
|
|
40
|
+
# to write custom TurboModules/Fabric components OR use libraries that
|
|
41
|
+
# are providing them.
|
|
42
|
+
# Note that this is incompatible with web debugging.
|
|
43
|
+
#newArchEnabled=true
|
|
44
|
+
#bridgelessEnabled=true
|
|
45
|
+
|
|
46
|
+
# Uncomment the line below to build React Native from source.
|
|
47
|
+
#react.buildFromSource=true
|
|
48
|
+
|
|
49
|
+
# Version of Android NDK to build against.
|
|
50
|
+
#ANDROID_NDK_VERSION=26.1.10909125
|
|
51
|
+
|
|
52
|
+
# Version of Kotlin to build against.
|
|
53
|
+
#KOTLIN_VERSION=1.8.22
|
package/android/gradlew
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
# Darwin, MinGW, and NonStop.
|
|
56
56
|
#
|
|
57
57
|
# (3) This script is generated from the Groovy template
|
|
58
|
-
# https://github.com/gradle/gradle/blob/
|
|
58
|
+
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
|
|
59
59
|
# within the Gradle project.
|
|
60
60
|
#
|
|
61
61
|
# You can find Gradle at https://github.com/gradle/gradle/.
|
|
@@ -80,13 +80,11 @@ do
|
|
|
80
80
|
esac
|
|
81
81
|
done
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
APP_NAME="Gradle"
|
|
83
|
+
# This is normally unused
|
|
84
|
+
# shellcheck disable=SC2034
|
|
86
85
|
APP_BASE_NAME=${0##*/}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
86
|
+
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
|
|
87
|
+
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
|
|
90
88
|
|
|
91
89
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
|
92
90
|
MAX_FD=maximum
|
|
@@ -133,22 +131,29 @@ location of your Java installation."
|
|
|
133
131
|
fi
|
|
134
132
|
else
|
|
135
133
|
JAVACMD=java
|
|
136
|
-
|
|
134
|
+
if ! command -v java >/dev/null 2>&1
|
|
135
|
+
then
|
|
136
|
+
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
137
137
|
|
|
138
138
|
Please set the JAVA_HOME variable in your environment to match the
|
|
139
139
|
location of your Java installation."
|
|
140
|
+
fi
|
|
140
141
|
fi
|
|
141
142
|
|
|
142
143
|
# Increase the maximum file descriptors if we can.
|
|
143
144
|
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
|
|
144
145
|
case $MAX_FD in #(
|
|
145
146
|
max*)
|
|
147
|
+
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
|
|
148
|
+
# shellcheck disable=SC2039,SC3045
|
|
146
149
|
MAX_FD=$( ulimit -H -n ) ||
|
|
147
150
|
warn "Could not query maximum file descriptor limit"
|
|
148
151
|
esac
|
|
149
152
|
case $MAX_FD in #(
|
|
150
153
|
'' | soft) :;; #(
|
|
151
154
|
*)
|
|
155
|
+
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
|
|
156
|
+
# shellcheck disable=SC2039,SC3045
|
|
152
157
|
ulimit -n "$MAX_FD" ||
|
|
153
158
|
warn "Could not set maximum file descriptor limit to $MAX_FD"
|
|
154
159
|
esac
|
|
@@ -193,11 +198,15 @@ if "$cygwin" || "$msys" ; then
|
|
|
193
198
|
done
|
|
194
199
|
fi
|
|
195
200
|
|
|
196
|
-
|
|
197
|
-
#
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
#
|
|
201
|
+
|
|
202
|
+
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
203
|
+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
204
|
+
|
|
205
|
+
# Collect all arguments for the java command:
|
|
206
|
+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
|
207
|
+
# and any embedded shellness will be escaped.
|
|
208
|
+
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
|
209
|
+
# treated as '${Hostname}' itself on the command line.
|
|
201
210
|
|
|
202
211
|
set -- \
|
|
203
212
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
|
@@ -205,6 +214,12 @@ set -- \
|
|
|
205
214
|
org.gradle.wrapper.GradleWrapperMain \
|
|
206
215
|
"$@"
|
|
207
216
|
|
|
217
|
+
# Stop when "xargs" is not available.
|
|
218
|
+
if ! command -v xargs >/dev/null 2>&1
|
|
219
|
+
then
|
|
220
|
+
die "xargs is not available"
|
|
221
|
+
fi
|
|
222
|
+
|
|
208
223
|
# Use "xargs" to parse quoted args.
|
|
209
224
|
#
|
|
210
225
|
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
package/android/gradlew.bat
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@rem limitations under the License.
|
|
15
15
|
@rem
|
|
16
16
|
|
|
17
|
-
@if "%DEBUG%"
|
|
17
|
+
@if "%DEBUG%"=="" @echo off
|
|
18
18
|
@rem ##########################################################################
|
|
19
19
|
@rem
|
|
20
20
|
@rem Gradle startup script for Windows
|
|
@@ -25,7 +25,8 @@
|
|
|
25
25
|
if "%OS%"=="Windows_NT" setlocal
|
|
26
26
|
|
|
27
27
|
set DIRNAME=%~dp0
|
|
28
|
-
if "%DIRNAME%"
|
|
28
|
+
if "%DIRNAME%"=="" set DIRNAME=.
|
|
29
|
+
@rem This is normally unused
|
|
29
30
|
set APP_BASE_NAME=%~n0
|
|
30
31
|
set APP_HOME=%DIRNAME%
|
|
31
32
|
|
|
@@ -40,13 +41,13 @@ if defined JAVA_HOME goto findJavaFromJavaHome
|
|
|
40
41
|
|
|
41
42
|
set JAVA_EXE=java.exe
|
|
42
43
|
%JAVA_EXE% -version >NUL 2>&1
|
|
43
|
-
if
|
|
44
|
+
if %ERRORLEVEL% equ 0 goto execute
|
|
44
45
|
|
|
45
|
-
echo.
|
|
46
|
-
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
|
47
|
-
echo.
|
|
48
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
49
|
-
echo location of your Java installation.
|
|
46
|
+
echo. 1>&2
|
|
47
|
+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
|
|
48
|
+
echo. 1>&2
|
|
49
|
+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
|
50
|
+
echo location of your Java installation. 1>&2
|
|
50
51
|
|
|
51
52
|
goto fail
|
|
52
53
|
|
|
@@ -56,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
|
|
56
57
|
|
|
57
58
|
if exist "%JAVA_EXE%" goto execute
|
|
58
59
|
|
|
59
|
-
echo.
|
|
60
|
-
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
|
61
|
-
echo.
|
|
62
|
-
echo Please set the JAVA_HOME variable in your environment to match the
|
|
63
|
-
echo location of your Java installation.
|
|
60
|
+
echo. 1>&2
|
|
61
|
+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
|
|
62
|
+
echo. 1>&2
|
|
63
|
+
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
|
|
64
|
+
echo location of your Java installation. 1>&2
|
|
64
65
|
|
|
65
66
|
goto fail
|
|
66
67
|
|
|
@@ -75,13 +76,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
|
|
75
76
|
|
|
76
77
|
:end
|
|
77
78
|
@rem End local scope for the variables with windows NT shell
|
|
78
|
-
if
|
|
79
|
+
if %ERRORLEVEL% equ 0 goto mainEnd
|
|
79
80
|
|
|
80
81
|
:fail
|
|
81
82
|
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
|
82
83
|
rem the _cmd.exe /c_ return code!
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
set EXIT_CODE=%ERRORLEVEL%
|
|
85
|
+
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
|
86
|
+
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
|
87
|
+
exit /b %EXIT_CODE%
|
|
85
88
|
|
|
86
89
|
:mainEnd
|
|
87
90
|
if "%OS%"=="Windows_NT" endlocal
|
package/android/settings.gradle
CHANGED
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
pluginManagement {
|
|
2
2
|
repositories {
|
|
3
3
|
gradlePluginPortal()
|
|
4
|
-
|
|
4
|
+
mavenCentral()
|
|
5
5
|
google()
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
rootProject.name = "FluentTester"
|
|
10
10
|
|
|
11
|
-
apply(from:
|
|
11
|
+
apply(from: {
|
|
12
|
+
def searchDir = rootDir.toPath()
|
|
13
|
+
do {
|
|
14
|
+
def p = searchDir.resolve("node_modules/react-native-test-app/test-app.gradle")
|
|
15
|
+
if (p.toFile().exists()) {
|
|
16
|
+
return p.toRealPath().toString()
|
|
17
|
+
}
|
|
18
|
+
} while (searchDir = searchDir.getParent())
|
|
19
|
+
throw new GradleException("Could not find `react-native-test-app`");
|
|
20
|
+
}())
|
|
12
21
|
applyTestAppSettings(settings)
|
package/babel.config.js
CHANGED
package/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
import { AppRegistry } from 'react-native';
|
|
3
|
+
import { AppRegistry, LogBox } from 'react-native';
|
|
4
4
|
|
|
5
5
|
import { FluentTesterApp } from './src/FluentTesterApp';
|
|
6
6
|
|
|
7
|
+
// When selecting a test page, the test page button might be under the yellowbox,
|
|
8
|
+
//so we have to ensure that no yellowboxes are shown on boot that could affect test selection
|
|
9
|
+
LogBox.ignoreLogs([/.*deprecated.*/, /.*Platform is not supported.*/])
|
|
10
|
+
|
|
7
11
|
AppRegistry.registerComponent('FluentTester', () => FluentTesterApp);
|
|
8
12
|
|
|
9
13
|
export default FluentTesterApp;
|