@fluentui-react-native/tester 0.133.1 → 0.134.0
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 +16 -1
- package/CHANGELOG.md +10 -2
- package/lib/E2E/src/common/BasePage.d.ts +31 -10
- package/lib/E2E/src/common/BasePage.d.ts.map +1 -1
- package/lib/E2E/src/common/BasePage.js +147 -110
- package/lib/E2E/src/common/BasePage.js.map +1 -1
- package/lib/E2E/src/common/consts.d.ts +2 -0
- package/lib/E2E/src/common/consts.d.ts.map +1 -1
- package/lib/E2E/src/common/consts.js +2 -0
- package/lib/E2E/src/common/consts.js.map +1 -1
- package/lib/fluent-tester/src/FluentTester.js +1 -1
- package/lib/fluent-tester/src/FluentTester.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Avatar/AvatarTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Avatar/AvatarTest.js +7 -5
- package/lib/fluent-tester/src/TestComponents/Avatar/AvatarTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Button/ButtonTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Button/ButtonTest.js +11 -5
- package/lib/fluent-tester/src/TestComponents/Button/ButtonTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Callout/CalloutTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Callout/CalloutTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/Callout/CalloutTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.js +3 -1
- package/lib/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Icon/IconTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Icon/IconTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/Icon/IconTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.js +3 -1
- package/lib/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Menu/MenuTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Menu/MenuTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/Menu/MenuTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.js +3 -1
- package/lib/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js +5 -4
- package/lib/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Switch/SwitchTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Switch/SwitchTest.js +4 -2
- package/lib/fluent-tester/src/TestComponents/Switch/SwitchTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.js +7 -5
- package/lib/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Test.d.ts +2 -1
- package/lib/fluent-tester/src/TestComponents/Test.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Test.js +36 -3
- package/lib/fluent-tester/src/TestComponents/Test.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.js +3 -1
- package/lib/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/TextV1/TextV1Test.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/TextV1/TextV1Test.js +3 -1
- package/lib/fluent-tester/src/TestComponents/TextV1/TextV1Test.js.map +1 -1
- package/lib/fluent-tester/src/theme/ThemePickers.android.d.ts.map +1 -1
- package/lib/fluent-tester/src/theme/ThemePickers.android.js +4 -10
- package/lib/fluent-tester/src/theme/ThemePickers.android.js.map +1 -1
- package/lib-commonjs/E2E/src/common/BasePage.d.ts +31 -10
- package/lib-commonjs/E2E/src/common/BasePage.d.ts.map +1 -1
- package/lib-commonjs/E2E/src/common/BasePage.js +149 -112
- package/lib-commonjs/E2E/src/common/BasePage.js.map +1 -1
- package/lib-commonjs/E2E/src/common/consts.d.ts +2 -0
- package/lib-commonjs/E2E/src/common/consts.d.ts.map +1 -1
- package/lib-commonjs/E2E/src/common/consts.js +3 -1
- package/lib-commonjs/E2E/src/common/consts.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/FluentTester.js +2 -2
- package/lib-commonjs/fluent-tester/src/FluentTester.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/AvatarTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/AvatarTest.js +7 -5
- package/lib-commonjs/fluent-tester/src/TestComponents/Avatar/AvatarTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Button/ButtonTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Button/ButtonTest.js +11 -5
- package/lib-commonjs/fluent-tester/src/TestComponents/Button/ButtonTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Callout/CalloutTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Callout/CalloutTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Callout/CalloutTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/CheckboxV1/CheckboxV1Test.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/ContextualMenu/ContextualMenuTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/FocusZone/FocusZoneTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Icon/IconTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Icon/IconTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Icon/IconTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/LinkLegacy/LinkLegacyTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/LinkV1/LinkV1Test.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Menu/MenuTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Menu/MenuTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Menu/MenuTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/MenuButtonV1/MenuButtonV1Test.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js +5 -4
- package/lib-commonjs/fluent-tester/src/TestComponents/RadioGroupV1/RadioGroupV1Test.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Switch/SwitchTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Switch/SwitchTest.js +4 -2
- package/lib-commonjs/fluent-tester/src/TestComponents/Switch/SwitchTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TabsLegacy/TabsLegacyTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.js +7 -5
- package/lib-commonjs/fluent-tester/src/TestComponents/TabsV1/TabsV1Test.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Test.d.ts +2 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Test.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Test.js +35 -2
- package/lib-commonjs/fluent-tester/src/TestComponents/Test.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TextLegacy/TextLegacyTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TextV1/TextV1Test.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TextV1/TextV1Test.js +3 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/TextV1/TextV1Test.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/theme/ThemePickers.android.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/theme/ThemePickers.android.js +4 -10
- package/lib-commonjs/fluent-tester/src/theme/ThemePickers.android.js.map +1 -1
- package/package.json +1 -1
- package/src/FluentTester.tsx +1 -1
- package/src/TestComponents/Avatar/AvatarTest.tsx +10 -5
- package/src/TestComponents/Button/ButtonTest.tsx +14 -5
- package/src/TestComponents/Callout/CalloutTest.tsx +4 -1
- package/src/TestComponents/CheckboxLegacy/CheckboxLegacyTest.tsx +13 -1
- package/src/TestComponents/CheckboxV1/CheckboxV1Test.tsx +4 -1
- package/src/TestComponents/ContextualMenu/ContextualMenuTest.tsx +12 -1
- package/src/TestComponents/FocusZone/FocusZoneTest.tsx +6 -1
- package/src/TestComponents/Icon/IconTest.tsx +4 -1
- package/src/TestComponents/LinkLegacy/LinkLegacyTest.tsx +4 -1
- package/src/TestComponents/LinkV1/LinkV1Test.tsx +3 -1
- package/src/TestComponents/Menu/MenuTest.tsx +4 -1
- package/src/TestComponents/MenuButtonLegacy/MenuButtonLegacyTest.tsx +6 -1
- package/src/TestComponents/MenuButtonV1/MenuButtonV1Test.tsx +6 -1
- package/src/TestComponents/RadioGroupLegacy/RadioGroupLegacyTest.tsx +6 -1
- package/src/TestComponents/RadioGroupV1/RadioGroupV1Test.tsx +13 -1
- package/src/TestComponents/Switch/SwitchTest.tsx +7 -2
- package/src/TestComponents/TabsLegacy/TabsLegacyTest.tsx +4 -1
- package/src/TestComponents/TabsV1/TabsV1Test.tsx +8 -5
- package/src/TestComponents/Test.tsx +55 -9
- package/src/TestComponents/TextLegacy/TextLegacyTest.tsx +4 -1
- package/src/TestComponents/TextV1/TextV1Test.tsx +4 -1
- package/src/theme/ThemePickers.android.tsx +3 -13
|
@@ -23,6 +23,8 @@ var textSections = [
|
|
|
23
23
|
name: 'Pressable Usage',
|
|
24
24
|
component: PressableUsage_1.PressableUsage,
|
|
25
25
|
},
|
|
26
|
+
];
|
|
27
|
+
var e2eSections = [
|
|
26
28
|
{
|
|
27
29
|
name: 'E2E Text Tests',
|
|
28
30
|
component: TextLegacyE2ETest_1.TextLegacyE2ETest,
|
|
@@ -38,7 +40,7 @@ var TextLegacyTest = function () {
|
|
|
38
40
|
};
|
|
39
41
|
var description = 'Text is a component for displaying text. You can use Text to standardize text across your app.';
|
|
40
42
|
var spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/text/SPEC.md';
|
|
41
|
-
return React.createElement(Test_1.Test, { name: "Text Test", description: description, spec: spec, sections: textSections, status: status });
|
|
43
|
+
return React.createElement(Test_1.Test, { name: "Text Test", description: description, spec: spec, sections: textSections, status: status, e2eSections: e2eSections });
|
|
42
44
|
};
|
|
43
45
|
exports.TextLegacyTest = TextLegacyTest;
|
|
44
46
|
//# sourceMappingURL=TextLegacyTest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextLegacyTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/TextLegacy/TextLegacyTest.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,iDAAgD;AAChD,mDAAkD;AAClD,mDAAkD;AAClD,yDAAwD;AAExD,gCAA+B;AAC/B,iEAAiE;AAEjE,IAAM,YAAY,GAAkB;IAClC;QACE,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,4BAAa;QACrB,SAAS,EAAE,6BAAa;KACzB;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,+BAAc;KAC1B;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,+BAAc;KAC1B;
|
|
1
|
+
{"version":3,"file":"TextLegacyTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/TextLegacy/TextLegacyTest.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,iDAAgD;AAChD,mDAAkD;AAClD,mDAAkD;AAClD,yDAAwD;AAExD,gCAA+B;AAC/B,iEAAiE;AAEjE,IAAM,YAAY,GAAkB;IAClC;QACE,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,4BAAa;QACrB,SAAS,EAAE,6BAAa;KACzB;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,+BAAc;KAC1B;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,+BAAc;KAC1B;CACF,CAAC;AAEF,IAAM,WAAW,GAAkB;IACjC;QACE,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE,qCAAiB;KAC7B;CACF,CAAC;AAEK,IAAM,cAAc,GAA4B;IACrD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,YAAY;QACzB,SAAS,EAAE,cAAc;QACzB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,cAAc;QAC3B,aAAa,EAAE,MAAM;KACtB,CAAC;IAEF,IAAM,WAAW,GAAG,gGAAgG,CAAC;IAErH,IAAM,IAAI,GAAG,+FAA+F,CAAC;IAE7G,OAAO,oBAAC,WAAI,IAAC,IAAI,EAAC,WAAW,EAAC,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI,CAAC;AAC3I,CAAC,CAAC;AAdW,QAAA,cAAc,kBAczB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextV1Test.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/TextV1/TextV1Test.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextV1Test.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/TextV1/TextV1Test.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA0C/B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBAY9B,CAAC"}
|
|
@@ -33,6 +33,8 @@ var textSections = [
|
|
|
33
33
|
name: 'Pressable Usage',
|
|
34
34
|
component: PressableUsage_1.PressableUsage,
|
|
35
35
|
},
|
|
36
|
+
];
|
|
37
|
+
var e2eSections = [
|
|
36
38
|
{
|
|
37
39
|
name: 'E2E Testing for TextV1',
|
|
38
40
|
component: TextV1E2ETest_1.TextV1E2ETest,
|
|
@@ -47,7 +49,7 @@ var TextV1Test = function () {
|
|
|
47
49
|
androidStatus: 'Experimental',
|
|
48
50
|
};
|
|
49
51
|
var description = 'Text is a component for displaying text. You can use Text to standardize text across your app.';
|
|
50
|
-
return React.createElement(Test_1.Test, { name: "TextV1 Test", description: description, sections: textSections, status: status });
|
|
52
|
+
return React.createElement(Test_1.Test, { name: "TextV1 Test", description: description, sections: textSections, status: status, e2eSections: e2eSections });
|
|
51
53
|
};
|
|
52
54
|
exports.TextV1Test = TextV1Test;
|
|
53
55
|
//# sourceMappingURL=TextV1Test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextV1Test.js","sourceRoot":"","sources":["../../../../../src/TestComponents/TextV1/TextV1Test.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,iDAAgD;AAChD,qCAAoC;AACpC,qDAAyD;AACzD,mDAAkD;AAClD,mDAAkD;AAElD,gCAA+B;AAC/B,iDAAgD;AAChD,4DAAoE;AAEpE,IAAM,YAAY,GAAkB;IAClC;QACE,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,wBAAe;QACvB,SAAS,EAAE,6BAAa;KACzB;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,SAAS,EAAE,iBAAO;KACnB;IACD;QACE,IAAI,EAAE,yBAAyB;QAC/B,SAAS,EAAE,sCAAoB;KAChC;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,+BAAc;KAC1B;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,+BAAc;KAC1B;
|
|
1
|
+
{"version":3,"file":"TextV1Test.js","sourceRoot":"","sources":["../../../../../src/TestComponents/TextV1/TextV1Test.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,iDAAgD;AAChD,qCAAoC;AACpC,qDAAyD;AACzD,mDAAkD;AAClD,mDAAkD;AAElD,gCAA+B;AAC/B,iDAAgD;AAChD,4DAAoE;AAEpE,IAAM,YAAY,GAAkB;IAClC;QACE,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,wBAAe;QACvB,SAAS,EAAE,6BAAa;KACzB;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,SAAS,EAAE,iBAAO;KACnB;IACD;QACE,IAAI,EAAE,yBAAyB;QAC/B,SAAS,EAAE,sCAAoB;KAChC;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,+BAAc;KAC1B;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,+BAAc;KAC1B;CACF,CAAC;AAEF,IAAM,WAAW,GAAkB;IACjC;QACE,IAAI,EAAE,wBAAwB;QAC9B,SAAS,EAAE,6BAAa;KACzB;CACF,CAAC;AAEK,IAAM,UAAU,GAA4B;IACjD,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,MAAM;QACnB,SAAS,EAAE,cAAc;QACzB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,cAAc;QAC3B,aAAa,EAAE,cAAc;KAC9B,CAAC;IAEF,IAAM,WAAW,GAAG,gGAAgG,CAAC;IAErH,OAAO,oBAAC,WAAI,IAAC,IAAI,EAAC,aAAa,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI,CAAC;AACjI,CAAC,CAAC;AAZW,QAAA,UAAU,cAYrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemePickers.android.d.ts","sourceRoot":"","sources":["../../../../src/theme/ThemePickers.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ThemePickers.android.d.ts","sourceRoot":"","sources":["../../../../src/theme/ThemePickers.android.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAuC/B,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,iBA+ChC,CAAC"}
|
|
@@ -7,7 +7,6 @@ var react_native_1 = require("react-native");
|
|
|
7
7
|
var text_1 = require("@fluentui-react-native/text");
|
|
8
8
|
var CustomThemes_1 = require("./CustomThemes");
|
|
9
9
|
var applyTheme_1 = require("./applyTheme");
|
|
10
|
-
var applyBrand_1 = require("./applyBrand");
|
|
11
10
|
var framework_1 = require("@fluentui-react-native/framework");
|
|
12
11
|
var themed_stylesheet_1 = require("@fluentui-react-native/themed-stylesheet");
|
|
13
12
|
var picker_1 = require("@react-native-picker/picker");
|
|
@@ -15,15 +14,15 @@ var getThemedDropdownStyles = (0, themed_stylesheet_1.themedStyleSheet)(function
|
|
|
15
14
|
return {
|
|
16
15
|
pickerRoot: {
|
|
17
16
|
flexDirection: 'row',
|
|
17
|
+
width: '100%',
|
|
18
18
|
},
|
|
19
19
|
picker: {
|
|
20
20
|
flexDirection: 'column',
|
|
21
21
|
alignItems: 'center',
|
|
22
|
+
width: '50%',
|
|
22
23
|
padding: 4,
|
|
23
24
|
},
|
|
24
25
|
dropdown: {
|
|
25
|
-
height: 30,
|
|
26
|
-
width: 120,
|
|
27
26
|
fontSize: 12,
|
|
28
27
|
color: t.colors.bodyText,
|
|
29
28
|
},
|
|
@@ -31,14 +30,12 @@ var getThemedDropdownStyles = (0, themed_stylesheet_1.themedStyleSheet)(function
|
|
|
31
30
|
borderStyle: 'solid',
|
|
32
31
|
borderColor: t.colors.disabledBodyText,
|
|
33
32
|
borderWidth: 1,
|
|
33
|
+
width: '100%',
|
|
34
34
|
},
|
|
35
35
|
};
|
|
36
36
|
});
|
|
37
37
|
var PickerLabel = text_1.TextV1.customize({ variant: 'subheaderSemibold' });
|
|
38
38
|
var ThemePickers = function () {
|
|
39
|
-
var onBrandChange = React.useCallback(function (newBrand) {
|
|
40
|
-
CustomThemes_1.testerTheme.brand = newBrand;
|
|
41
|
-
}, []);
|
|
42
39
|
var onThemeSelected = React.useCallback(function (newTheme) {
|
|
43
40
|
CustomThemes_1.testerTheme.themeName = newTheme;
|
|
44
41
|
}, []);
|
|
@@ -62,10 +59,7 @@ var ThemePickers = function () {
|
|
|
62
59
|
React.createElement(Dropdown, { initial: CustomThemes_1.testerTheme.themeName, onValueChange: onThemeSelected, options: applyTheme_1.themeChoices })),
|
|
63
60
|
React.createElement(react_native_1.View, { style: themedPickerStyles.picker },
|
|
64
61
|
React.createElement(PickerLabel, null, "Light/Dark: "),
|
|
65
|
-
React.createElement(Dropdown, { initial: CustomThemes_1.testerTheme.appearance, onValueChange: onAppearanceChange, options: CustomThemes_1.lightnessOptions }))
|
|
66
|
-
React.createElement(react_native_1.View, { style: themedPickerStyles.picker },
|
|
67
|
-
React.createElement(PickerLabel, null, "Brand: "),
|
|
68
|
-
React.createElement(Dropdown, { initial: CustomThemes_1.testerTheme.brand, onValueChange: onBrandChange, options: applyBrand_1.brandOptions }))));
|
|
62
|
+
React.createElement(Dropdown, { initial: CustomThemes_1.testerTheme.appearance, onValueChange: onAppearanceChange, options: CustomThemes_1.lightnessOptions }))));
|
|
69
63
|
};
|
|
70
64
|
exports.ThemePickers = ThemePickers;
|
|
71
65
|
//# sourceMappingURL=ThemePickers.android.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemePickers.android.js","sourceRoot":"","sources":["../../../../src/theme/ThemePickers.android.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,6CAAoC;AACpC,oDAA6D;AAC7D,+CAA+D;AAE/D,2CAA4C;AAE5C,
|
|
1
|
+
{"version":3,"file":"ThemePickers.android.js","sourceRoot":"","sources":["../../../../src/theme/ThemePickers.android.tsx"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
package/src/FluentTester.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Theme } from '@fluentui-react-native/framework';
|
|
2
|
-
import { Separator, Text } from '@fluentui/react-native';
|
|
2
|
+
import { Separator, TextV1 as Text } from '@fluentui/react-native';
|
|
3
3
|
import { ButtonV1 as Button } from '@fluentui-react-native/button';
|
|
4
4
|
import { themedStyleSheet } from '@fluentui-react-native/themed-stylesheet';
|
|
5
5
|
import * as React from 'react';
|
|
@@ -20,14 +20,17 @@ const avatarSections: TestSection[] = [
|
|
|
20
20
|
name: 'Customize Usage',
|
|
21
21
|
component: CustomizeUsage,
|
|
22
22
|
},
|
|
23
|
-
{
|
|
24
|
-
name: 'Avatar E2E',
|
|
25
|
-
component: E2EAvatarTest,
|
|
26
|
-
},
|
|
27
23
|
],
|
|
28
24
|
}),
|
|
29
25
|
];
|
|
30
26
|
|
|
27
|
+
const e2eSections: TestSection[] = [
|
|
28
|
+
{
|
|
29
|
+
name: 'Avatar E2E',
|
|
30
|
+
component: E2EAvatarTest,
|
|
31
|
+
},
|
|
32
|
+
];
|
|
33
|
+
|
|
31
34
|
export const AvatarTest: React.FunctionComponent = () => {
|
|
32
35
|
const status: PlatformStatus = {
|
|
33
36
|
win32Status: 'Production',
|
|
@@ -42,5 +45,7 @@ export const AvatarTest: React.FunctionComponent = () => {
|
|
|
42
45
|
|
|
43
46
|
const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/Avatar/SPEC.md';
|
|
44
47
|
|
|
45
|
-
return
|
|
48
|
+
return (
|
|
49
|
+
<Test name="Avatar Test" description={description} spec={spec} sections={avatarSections} status={status} e2eSections={e2eSections} />
|
|
50
|
+
);
|
|
46
51
|
};
|
|
@@ -61,10 +61,6 @@ const buttonSections: TestSection[] = [
|
|
|
61
61
|
name: 'Deprecated Icon Button',
|
|
62
62
|
component: ButtonIconTest_deprecated,
|
|
63
63
|
},
|
|
64
|
-
{
|
|
65
|
-
name: 'Deprecated E2E Button Testing',
|
|
66
|
-
component: E2EButtonTest_deprecated,
|
|
67
|
-
},
|
|
68
64
|
],
|
|
69
65
|
}),
|
|
70
66
|
{
|
|
@@ -73,6 +69,17 @@ const buttonSections: TestSection[] = [
|
|
|
73
69
|
},
|
|
74
70
|
];
|
|
75
71
|
|
|
72
|
+
const e2eSections: TestSection[] = [
|
|
73
|
+
{
|
|
74
|
+
name: 'E2E Button Testing',
|
|
75
|
+
component: E2EButtonTest,
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'Deprecated E2E Button Testing',
|
|
79
|
+
component: E2EButtonTest_deprecated,
|
|
80
|
+
},
|
|
81
|
+
];
|
|
82
|
+
|
|
76
83
|
export const ButtonTest: React.FunctionComponent = () => {
|
|
77
84
|
const status: PlatformStatus = {
|
|
78
85
|
win32Status: 'Production',
|
|
@@ -87,5 +94,7 @@ export const ButtonTest: React.FunctionComponent = () => {
|
|
|
87
94
|
|
|
88
95
|
const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/Button/SPEC.md';
|
|
89
96
|
|
|
90
|
-
return
|
|
97
|
+
return (
|
|
98
|
+
<Test name="Button Test" description={description} spec={spec} sections={buttonSections} status={status} e2eSections={e2eSections} />
|
|
99
|
+
);
|
|
91
100
|
};
|
|
@@ -418,6 +418,9 @@ const calloutSections: TestSection[] = [
|
|
|
418
418
|
name: 'Customized Usage',
|
|
419
419
|
component: CustomCallout,
|
|
420
420
|
},
|
|
421
|
+
];
|
|
422
|
+
|
|
423
|
+
const e2eSections: TestSection[] = [
|
|
421
424
|
{
|
|
422
425
|
name: 'E2E Testing Callout',
|
|
423
426
|
component: E2ECalloutTest,
|
|
@@ -435,5 +438,5 @@ export const CalloutTest: React.FunctionComponent = () => {
|
|
|
435
438
|
|
|
436
439
|
const description = 'A callout is an anchored tip that can be used to teach people or guide them through the app without blocking them.';
|
|
437
440
|
|
|
438
|
-
return <Test name="Callout Test" description={description} sections={calloutSections} status={status}></Test>;
|
|
441
|
+
return <Test name="Callout Test" description={description} sections={calloutSections} status={status} e2eSections={e2eSections}></Test>;
|
|
439
442
|
};
|
|
@@ -166,6 +166,9 @@ const checkboxSections: TestSection[] = [
|
|
|
166
166
|
name: 'Token Customized Checkboxes',
|
|
167
167
|
component: TokenCheckbox,
|
|
168
168
|
},
|
|
169
|
+
];
|
|
170
|
+
|
|
171
|
+
const e2eSections: TestSection[] = [
|
|
169
172
|
{
|
|
170
173
|
name: 'Checkbox for E2E Testing',
|
|
171
174
|
component: CheckboxLegacyE2ETest,
|
|
@@ -186,5 +189,14 @@ export const CheckboxLegacyTest: React.FunctionComponent = () => {
|
|
|
186
189
|
|
|
187
190
|
const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/Checkbox/SPEC.md';
|
|
188
191
|
|
|
189
|
-
return
|
|
192
|
+
return (
|
|
193
|
+
<Test
|
|
194
|
+
name="Checkbox Legacy Test"
|
|
195
|
+
description={description}
|
|
196
|
+
spec={spec}
|
|
197
|
+
sections={checkboxSections}
|
|
198
|
+
status={status}
|
|
199
|
+
e2eSections={e2eSections}
|
|
200
|
+
/>
|
|
201
|
+
);
|
|
190
202
|
};
|
|
@@ -206,6 +206,9 @@ const checkboxSections: TestSection[] = [
|
|
|
206
206
|
component: TokenCheckbox,
|
|
207
207
|
},
|
|
208
208
|
}),
|
|
209
|
+
];
|
|
210
|
+
|
|
211
|
+
const e2eSections: TestSection[] = [
|
|
209
212
|
{
|
|
210
213
|
name: 'E2E Testing for CheckboxV1',
|
|
211
214
|
component: E2ECheckboxV1Test,
|
|
@@ -224,5 +227,5 @@ export const CheckboxV1Test: React.FunctionComponent = () => {
|
|
|
224
227
|
const description =
|
|
225
228
|
'Checkboxes give people a way to select one or more items from a group, or switch between two mutually exclusive options (checked or unchecked, on or off).';
|
|
226
229
|
|
|
227
|
-
return <Test name="CheckboxV1 Test" description={description} sections={checkboxSections} status={status} />;
|
|
230
|
+
return <Test name="CheckboxV1 Test" description={description} sections={checkboxSections} status={status} e2eSections={e2eSections} />;
|
|
228
231
|
};
|
|
@@ -501,6 +501,9 @@ const contextualMenuSections: TestSection[] = [
|
|
|
501
501
|
name: 'ContextalMenu with ScrollView',
|
|
502
502
|
component: ScrollViewContextualMenu,
|
|
503
503
|
},
|
|
504
|
+
];
|
|
505
|
+
|
|
506
|
+
const e2eSections: TestSection[] = [
|
|
504
507
|
{
|
|
505
508
|
name: 'ContextualMenu E2E Test',
|
|
506
509
|
component: E2EContextualMenuTest,
|
|
@@ -519,5 +522,13 @@ export const ContextualMenuTest: React.FunctionComponent = () => {
|
|
|
519
522
|
const description =
|
|
520
523
|
'ContextualMenus are lists of commands that are based on the context of selection, mouse hover or keyboard focus. They are one of the most effective and highly used command surfaces, and can be used in a variety of places.\n\nThere are variants that originate from a command bar, or from cursor or focus. Those that come from CommandBars use a beak that is horizontally centered on the button. Ones that come from right click and menu button do not have a beak, but appear to the right and below the cursor. ContextualMenus can have submenus from commands, show selection checks, and icons.\n\nOrganize commands in groups divided by rules. This helps users remember command locations, or find less used commands based on proximity to others. One should also group sets of mutually exclusive or multiple selectable options. Use icons sparingly, for high value commands, and don’t mix icons with selection checks, as it makes parsing commands difficult. Avoid submenus of submenus as they can be difficult to invoke or remember.';
|
|
521
524
|
|
|
522
|
-
return
|
|
525
|
+
return (
|
|
526
|
+
<Test
|
|
527
|
+
name="ContextualMenu Test"
|
|
528
|
+
description={description}
|
|
529
|
+
sections={contextualMenuSections}
|
|
530
|
+
status={status}
|
|
531
|
+
e2eSections={e2eSections}
|
|
532
|
+
></Test>
|
|
533
|
+
);
|
|
523
534
|
};
|
|
@@ -188,6 +188,9 @@ const focusZoneSections: TestSection[] = [
|
|
|
188
188
|
name: 'Nested FocusZone',
|
|
189
189
|
component: NestedFocusZone,
|
|
190
190
|
},
|
|
191
|
+
];
|
|
192
|
+
|
|
193
|
+
const e2eSections: TestSection[] = [
|
|
191
194
|
{
|
|
192
195
|
name: '2D Navigation + E2E Testing',
|
|
193
196
|
component: FocusZone2D,
|
|
@@ -203,5 +206,7 @@ export const FocusZoneTest: React.FunctionComponent = () => {
|
|
|
203
206
|
androidStatus: 'Backlog',
|
|
204
207
|
};
|
|
205
208
|
|
|
206
|
-
return
|
|
209
|
+
return (
|
|
210
|
+
<Test name="FocusZone Test" description={'No description.'} sections={focusZoneSections} status={status} e2eSections={e2eSections} />
|
|
211
|
+
);
|
|
207
212
|
};
|
|
@@ -104,6 +104,9 @@ const iconSections: TestSection[] = [
|
|
|
104
104
|
name: 'Default Icon',
|
|
105
105
|
component: IconV1Test,
|
|
106
106
|
},
|
|
107
|
+
];
|
|
108
|
+
|
|
109
|
+
const e2eSections: TestSection[] = [
|
|
107
110
|
{
|
|
108
111
|
name: 'IconV1 for E2E Testing',
|
|
109
112
|
component: IconV1E2ETest,
|
|
@@ -121,5 +124,5 @@ export const IconTest: React.FunctionComponent = () => {
|
|
|
121
124
|
|
|
122
125
|
const description = 'Icons are styled images that can be fonts, svgs, or bitmaps';
|
|
123
126
|
|
|
124
|
-
return <Test name="Icon Test" description={description} sections={iconSections} status={status}></Test>;
|
|
127
|
+
return <Test name="Icon Test" description={description} sections={iconSections} status={status} e2eSections={e2eSections}></Test>;
|
|
125
128
|
};
|
|
@@ -27,6 +27,9 @@ const linkSections: TestSection[] = [
|
|
|
27
27
|
testID: LINK_TESTPAGE,
|
|
28
28
|
component: Links,
|
|
29
29
|
},
|
|
30
|
+
];
|
|
31
|
+
|
|
32
|
+
const e2eSections: TestSection[] = [
|
|
30
33
|
{
|
|
31
34
|
name: 'Link E2E Test',
|
|
32
35
|
component: E2ELinkLegacyTest,
|
|
@@ -45,5 +48,5 @@ export const LinkLegacyTest: React.FunctionComponent = () => {
|
|
|
45
48
|
const description =
|
|
46
49
|
'With a Link, users can navigate to another page, window, or Help topic; display a definition; initiate a command; or choose an option. A Link indicates that it can be clicked, typically by being displayed using the visited or unvisited link system colors. Traditionally, Links are underlined as well, but that approach is often unnecessary and falling out of favor to reduce visual clutter.\n\nA Link is the lightest weight clickable control, and is often used to reduce the visual complexity of a design.';
|
|
47
50
|
|
|
48
|
-
return <Test name="Link Legacy Test" description={description} sections={linkSections} status={status}></Test>;
|
|
51
|
+
return <Test name="Link Legacy Test" description={description} sections={linkSections} status={status} e2eSections={e2eSections}></Test>;
|
|
49
52
|
};
|
|
@@ -169,7 +169,9 @@ const linkSections: TestSection[] = [
|
|
|
169
169
|
component: CustomLinks,
|
|
170
170
|
},
|
|
171
171
|
}),
|
|
172
|
+
];
|
|
172
173
|
|
|
174
|
+
const e2eSections: TestSection[] = [
|
|
173
175
|
{
|
|
174
176
|
name: 'Link E2E Test',
|
|
175
177
|
component: E2ELinkV1Test,
|
|
@@ -188,5 +190,5 @@ export const LinkV1Test: React.FunctionComponent = () => {
|
|
|
188
190
|
const description =
|
|
189
191
|
'With a Link, users can navigate to another page, window, or Help topic; display a definition; initiate a command; or choose an option. A Link indicates that it can be clicked, typically by being displayed using the visited or unvisited link system colors. Traditionally, Links are underlined as well, but that approach is often unnecessary and falling out of favor to reduce visual clutter.\n\nA Link is the lightest weight clickable control, and is often used to reduce the visual complexity of a design.';
|
|
190
192
|
|
|
191
|
-
return <Test name="LinkV1 Test" description={description} sections={linkSections} status={status}></Test>;
|
|
193
|
+
return <Test name="LinkV1 Test" description={description} sections={linkSections} status={status} e2eSections={e2eSections}></Test>;
|
|
192
194
|
};
|
|
@@ -291,6 +291,9 @@ const menuSections: TestSection[] = [
|
|
|
291
291
|
name: 'Menu Refs',
|
|
292
292
|
component: MenuTriggerChildRef,
|
|
293
293
|
},
|
|
294
|
+
];
|
|
295
|
+
|
|
296
|
+
const e2eSections: TestSection[] = [
|
|
294
297
|
{
|
|
295
298
|
name: 'Menu E2E',
|
|
296
299
|
component: E2EMenuTest,
|
|
@@ -311,5 +314,5 @@ export const MenuTest: React.FunctionComponent = () => {
|
|
|
311
314
|
|
|
312
315
|
const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/components/Menu/SPEC.md';
|
|
313
316
|
|
|
314
|
-
return <Test name="Menu Test" description={description} spec={spec} sections={menuSections} status={status} />;
|
|
317
|
+
return <Test name="Menu Test" description={description} spec={spec} sections={menuSections} status={status} e2eSections={e2eSections} />;
|
|
315
318
|
};
|
|
@@ -21,6 +21,9 @@ const menuButtonSections: TestSection[] = [
|
|
|
21
21
|
name: 'MenuButton with customized UI',
|
|
22
22
|
component: CustomizedMenuButton,
|
|
23
23
|
},
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
const e2eSections: TestSection[] = [
|
|
24
27
|
{
|
|
25
28
|
name: 'MenuButton for E2E Testing',
|
|
26
29
|
component: MenuButtonLegacyE2ETest,
|
|
@@ -39,5 +42,7 @@ export const MenuButtonLegacyTest: React.FunctionComponent = () => {
|
|
|
39
42
|
const description =
|
|
40
43
|
'MenuButton is a component which contains ContextualMenu and Button components. This control combines and simplifies the API for customers.\nClicking on MenuButton opens ContextualMenu. It can have Submenu. But selection checks and a beak are not implemented.';
|
|
41
44
|
|
|
42
|
-
return
|
|
45
|
+
return (
|
|
46
|
+
<Test name="MenuButton Legacy Test" description={description} sections={menuButtonSections} status={status} e2eSections={e2eSections} />
|
|
47
|
+
);
|
|
43
48
|
};
|
|
@@ -21,6 +21,9 @@ const menuButtonSections: TestSection[] = [
|
|
|
21
21
|
name: 'MenuButton with customized UI',
|
|
22
22
|
component: CustomizedMenuButton,
|
|
23
23
|
},
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
const e2eSections: TestSection[] = [
|
|
24
27
|
{
|
|
25
28
|
name: 'E2E Testing MenuButton',
|
|
26
29
|
component: MenuButtonV1E2ETest,
|
|
@@ -39,5 +42,7 @@ export const MenuButtonV1Test: React.FunctionComponent = () => {
|
|
|
39
42
|
const description =
|
|
40
43
|
'MenuButton is a component which contains ContextualMenu and Button components. This control combines and simplifies the API for customers.\nClicking on MenuButton opens ContextualMenu. It can have Submenu. But selection checks and a beak are not implemented.';
|
|
41
44
|
|
|
42
|
-
return
|
|
45
|
+
return (
|
|
46
|
+
<Test name="MenuButtonV1 Test" description={description} sections={menuButtonSections} status={status} e2eSections={e2eSections} />
|
|
47
|
+
);
|
|
43
48
|
};
|
|
@@ -59,6 +59,9 @@ const radioGroupSections: TestSection[] = [
|
|
|
59
59
|
testID: RADIOGROUP_TESTPAGE,
|
|
60
60
|
component: BasicRadioGroup,
|
|
61
61
|
},
|
|
62
|
+
];
|
|
63
|
+
|
|
64
|
+
const e2eSections: TestSection[] = [
|
|
62
65
|
{
|
|
63
66
|
name: 'RadioGroup for E2E Testing',
|
|
64
67
|
component: RadioGroupLegacyE2ETest,
|
|
@@ -76,5 +79,7 @@ export const RadioGroupLegacyTest: React.FunctionComponent = () => {
|
|
|
76
79
|
|
|
77
80
|
const description = 'No description.';
|
|
78
81
|
|
|
79
|
-
return
|
|
82
|
+
return (
|
|
83
|
+
<Test name="RadioGroup Legacy Test" description={description} sections={radioGroupSections} status={status} e2eSections={e2eSections} />
|
|
84
|
+
);
|
|
80
85
|
};
|
|
@@ -47,6 +47,9 @@ const radioGroupV1Sections: TestSection[] = [
|
|
|
47
47
|
},
|
|
48
48
|
],
|
|
49
49
|
}),
|
|
50
|
+
];
|
|
51
|
+
|
|
52
|
+
const e2eSections: TestSection[] = [
|
|
50
53
|
{
|
|
51
54
|
name: 'RadioGroup for E2E Testing',
|
|
52
55
|
testID: RADIOGROUPV1_TESTPAGE,
|
|
@@ -68,5 +71,14 @@ export const RadioGroupV1Test: React.FunctionComponent = () => {
|
|
|
68
71
|
|
|
69
72
|
const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/experimental/RadioGroup/SPEC.md';
|
|
70
73
|
|
|
71
|
-
return
|
|
74
|
+
return (
|
|
75
|
+
<Test
|
|
76
|
+
name="RadioGroupV1 Test"
|
|
77
|
+
description={description}
|
|
78
|
+
spec={spec}
|
|
79
|
+
sections={radioGroupV1Sections}
|
|
80
|
+
status={status}
|
|
81
|
+
e2eSections={e2eSections}
|
|
82
|
+
/>
|
|
83
|
+
);
|
|
72
84
|
};
|
|
@@ -133,9 +133,12 @@ const toggleSections: TestSection[] = [
|
|
|
133
133
|
component: () => <CustomizedSwitch />,
|
|
134
134
|
},
|
|
135
135
|
}),
|
|
136
|
+
];
|
|
137
|
+
|
|
138
|
+
const e2eSections: TestSection[] = [
|
|
136
139
|
{
|
|
137
140
|
name: 'Switch E2E Testing',
|
|
138
|
-
component:
|
|
141
|
+
component: E2ESwitchTest,
|
|
139
142
|
},
|
|
140
143
|
];
|
|
141
144
|
|
|
@@ -152,5 +155,7 @@ export const SwitchTest: React.FunctionComponent = () => {
|
|
|
152
155
|
|
|
153
156
|
const spec = 'https://github.com/microsoft/fluentui-react-native/blob/main/packages/experimental/Switch/SPEC.md';
|
|
154
157
|
|
|
155
|
-
return
|
|
158
|
+
return (
|
|
159
|
+
<Test name="Switch Test" description={description} spec={spec} sections={toggleSections} status={status} e2eSections={e2eSections} />
|
|
160
|
+
);
|
|
156
161
|
};
|
|
@@ -269,6 +269,9 @@ const tabsSections: TestSection[] = [
|
|
|
269
269
|
name: 'More Flexibility',
|
|
270
270
|
component: TabsWithFlexibility,
|
|
271
271
|
},
|
|
272
|
+
];
|
|
273
|
+
|
|
274
|
+
const e2eSections: TestSection[] = [
|
|
272
275
|
{
|
|
273
276
|
name: 'E2E Tabs Test',
|
|
274
277
|
component: TabsLegacyE2ETest,
|
|
@@ -293,5 +296,5 @@ export const TabsLegacyTest: React.FunctionComponent = () => {
|
|
|
293
296
|
|
|
294
297
|
const description = 'With Tabs, users can navigate to another view.';
|
|
295
298
|
|
|
296
|
-
return <Test name="Tabs Legacy Test" description={description} sections={tabsSections} status={status} />;
|
|
299
|
+
return <Test name="Tabs Legacy Test" description={description} sections={tabsSections} status={status} e2eSections={e2eSections} />;
|
|
297
300
|
};
|
|
@@ -246,10 +246,6 @@ const tabsSections: TestSection[] = [
|
|
|
246
246
|
name: 'More Flexibility',
|
|
247
247
|
component: TabsWithFlexibility,
|
|
248
248
|
},
|
|
249
|
-
{
|
|
250
|
-
name: 'E2E Testing TabsV1',
|
|
251
|
-
component: TabsV1E2ETest,
|
|
252
|
-
},
|
|
253
249
|
];
|
|
254
250
|
|
|
255
251
|
if (Platform.OS !== 'windows') {
|
|
@@ -259,6 +255,13 @@ if (Platform.OS !== 'windows') {
|
|
|
259
255
|
});
|
|
260
256
|
}
|
|
261
257
|
|
|
258
|
+
const e2eSections: TestSection[] = [
|
|
259
|
+
{
|
|
260
|
+
name: 'E2E Testing TabsV1',
|
|
261
|
+
component: TabsV1E2ETest,
|
|
262
|
+
},
|
|
263
|
+
];
|
|
264
|
+
|
|
262
265
|
export const TabsV1Test: React.FunctionComponent = () => {
|
|
263
266
|
const status: PlatformStatus = {
|
|
264
267
|
win32Status: 'Production',
|
|
@@ -270,5 +273,5 @@ export const TabsV1Test: React.FunctionComponent = () => {
|
|
|
270
273
|
|
|
271
274
|
const description = 'With Tabs, users can navigate to another view.';
|
|
272
275
|
|
|
273
|
-
return <Test name="TabsV1 Test" description={description} sections={tabsSections} status={status} />;
|
|
276
|
+
return <Test name="TabsV1 Test" description={description} sections={tabsSections} status={status} e2eSections={e2eSections} />;
|
|
274
277
|
};
|