@fluentui-react-native/tester 0.54.0 → 0.56.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 +339 -1
- package/CHANGELOG.md +79 -2
- package/lib/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.d.ts +9 -0
- package/lib/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.d.ts.map +1 -1
- package/lib/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.js +26 -1
- package/lib/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.js.map +1 -1
- package/lib/E2E/ButtonExperimental/specs/ButtonExperimental.spec.win.js +24 -0
- package/lib/E2E/ButtonExperimental/specs/ButtonExperimental.spec.win.js.map +1 -1
- package/lib/FluentTester/TestComponents/ActivityIndicator/consts.d.ts +3 -3
- package/lib/FluentTester/TestComponents/ActivityIndicator/consts.d.ts.map +1 -1
- package/lib/FluentTester/TestComponents/ActivityIndicator/consts.js +3 -3
- package/lib/FluentTester/TestComponents/ActivityIndicator/consts.js.map +1 -1
- package/lib/FluentTester/TestComponents/CheckboxExperimental/consts.d.ts +1 -1
- package/lib/FluentTester/TestComponents/CheckboxExperimental/consts.d.ts.map +1 -1
- package/lib/FluentTester/TestComponents/CheckboxExperimental/consts.js +1 -1
- package/lib/FluentTester/TestComponents/CheckboxExperimental/consts.js.map +1 -1
- package/lib/FluentTester/TestComponents/TextExperimental/consts.d.ts +2 -2
- package/lib/FluentTester/TestComponents/TextExperimental/consts.d.ts.map +1 -1
- package/lib/FluentTester/TestComponents/TextExperimental/consts.js +2 -2
- package/lib/FluentTester/TestComponents/TextExperimental/consts.js.map +1 -1
- package/lib-commonjs/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.d.ts +9 -0
- package/lib-commonjs/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.d.ts.map +1 -1
- package/lib-commonjs/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.js +25 -0
- package/lib-commonjs/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.js.map +1 -1
- package/lib-commonjs/E2E/ButtonExperimental/specs/ButtonExperimental.spec.win.js +24 -0
- package/lib-commonjs/E2E/ButtonExperimental/specs/ButtonExperimental.spec.win.js.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/ActivityIndicator/consts.d.ts +3 -3
- package/lib-commonjs/FluentTester/TestComponents/ActivityIndicator/consts.d.ts.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/ActivityIndicator/consts.js +3 -3
- package/lib-commonjs/FluentTester/TestComponents/ActivityIndicator/consts.js.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/CheckboxExperimental/consts.d.ts +1 -1
- package/lib-commonjs/FluentTester/TestComponents/CheckboxExperimental/consts.d.ts.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/CheckboxExperimental/consts.js +1 -1
- package/lib-commonjs/FluentTester/TestComponents/CheckboxExperimental/consts.js.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/TextExperimental/consts.d.ts +2 -2
- package/lib-commonjs/FluentTester/TestComponents/TextExperimental/consts.d.ts.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/TextExperimental/consts.js +2 -2
- package/lib-commonjs/FluentTester/TestComponents/TextExperimental/consts.js.map +1 -1
- package/package.json +24 -26
- package/src/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.ts +38 -0
- package/src/E2E/ButtonExperimental/specs/ButtonExperimental.spec.win.ts +32 -2
- package/src/E2E/README.md +7 -0
- package/src/FluentTester/TestComponents/ActivityIndicator/consts.ts +3 -3
- package/src/FluentTester/TestComponents/CheckboxExperimental/consts.ts +1 -1
- package/src/FluentTester/TestComponents/TextExperimental/consts.ts +2 -2
- package/__tests__/App-test.js +0 -14
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,345 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 18 Feb 2022 23:25:55 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.56.0",
|
|
7
|
+
"version": "0.56.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "safreibe@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"commit": "016e0dbc7a169ae9cef00451fc2dd3b676cc6e36",
|
|
14
|
+
"comment": "Fix ActivityIndicator test constants"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/tester",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/badge to v0.0.13",
|
|
20
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/tester",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/button to v0.22.3",
|
|
26
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui-react-native/tester",
|
|
31
|
+
"comment": "Bump @fluentui-react-native/experimental-activity-indicator to v0.5.13",
|
|
32
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui-react-native/tester",
|
|
37
|
+
"comment": "Bump @fluentui-react-native/experimental-avatar to v0.14.5",
|
|
38
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui-react-native/tester",
|
|
43
|
+
"comment": "Bump @fluentui-react-native/experimental-button to v0.15.3",
|
|
44
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@fluentui-react-native/tester",
|
|
49
|
+
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.6.9",
|
|
50
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "beachball",
|
|
54
|
+
"package": "@fluentui-react-native/tester",
|
|
55
|
+
"comment": "Bump @fluentui-react-native/experimental-expander to v0.3.14",
|
|
56
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "beachball",
|
|
60
|
+
"package": "@fluentui-react-native/tester",
|
|
61
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.3.12",
|
|
62
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "beachball",
|
|
66
|
+
"package": "@fluentui-react-native/tester",
|
|
67
|
+
"comment": "Bump @fluentui-react-native/experimental-shimmer to v0.6.16",
|
|
68
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "beachball",
|
|
72
|
+
"package": "@fluentui-react-native/tester",
|
|
73
|
+
"comment": "Bump @fluentui-react-native/experimental-tabs to v0.4.23",
|
|
74
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "beachball",
|
|
78
|
+
"package": "@fluentui-react-native/tester",
|
|
79
|
+
"comment": "Bump @fluentui-react-native/experimental-text to v0.7.14",
|
|
80
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"author": "beachball",
|
|
84
|
+
"package": "@fluentui-react-native/tester",
|
|
85
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.14",
|
|
86
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"author": "beachball",
|
|
90
|
+
"package": "@fluentui-react-native/tester",
|
|
91
|
+
"comment": "Bump @fluentui-react-native/icon to v0.11.9",
|
|
92
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"author": "beachball",
|
|
96
|
+
"package": "@fluentui-react-native/tester",
|
|
97
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.13.3",
|
|
98
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"author": "beachball",
|
|
102
|
+
"package": "@fluentui-react-native/tester",
|
|
103
|
+
"comment": "Bump @fluentui-react-native/stack to v0.6.14",
|
|
104
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"author": "beachball",
|
|
108
|
+
"package": "@fluentui-react-native/tester",
|
|
109
|
+
"comment": "Bump @fluentui/react-native to v0.27.33",
|
|
110
|
+
"commit": "597b1e6bd7b3791df8fad2e0ec83810872261c54"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"date": "Thu, 17 Feb 2022 02:13:07 GMT",
|
|
117
|
+
"tag": "@fluentui-react-native/tester_v0.55.2",
|
|
118
|
+
"version": "0.55.2",
|
|
119
|
+
"comments": {
|
|
120
|
+
"patch": [
|
|
121
|
+
{
|
|
122
|
+
"author": "ruaraki@microsoft.com",
|
|
123
|
+
"package": "@fluentui-react-native/tester",
|
|
124
|
+
"commit": "616c894f75769553fe97f8f2d4550bbd615f2396",
|
|
125
|
+
"comment": "Update svg-transformer version"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"author": "beachball",
|
|
129
|
+
"package": "@fluentui-react-native/tester",
|
|
130
|
+
"comment": "Bump @fluentui-react-native/badge to v0.0.12",
|
|
131
|
+
"commit": "616c894f75769553fe97f8f2d4550bbd615f2396"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"author": "beachball",
|
|
135
|
+
"package": "@fluentui-react-native/tester",
|
|
136
|
+
"comment": "Bump @fluentui-react-native/button to v0.22.2",
|
|
137
|
+
"commit": "616c894f75769553fe97f8f2d4550bbd615f2396"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"author": "beachball",
|
|
141
|
+
"package": "@fluentui-react-native/tester",
|
|
142
|
+
"comment": "Bump @fluentui-react-native/experimental-button to v0.15.2",
|
|
143
|
+
"commit": "616c894f75769553fe97f8f2d4550bbd615f2396"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"author": "beachball",
|
|
147
|
+
"package": "@fluentui-react-native/tester",
|
|
148
|
+
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.6.8",
|
|
149
|
+
"commit": "616c894f75769553fe97f8f2d4550bbd615f2396"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"author": "beachball",
|
|
153
|
+
"package": "@fluentui-react-native/tester",
|
|
154
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.3.11",
|
|
155
|
+
"commit": "616c894f75769553fe97f8f2d4550bbd615f2396"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"author": "beachball",
|
|
159
|
+
"package": "@fluentui-react-native/tester",
|
|
160
|
+
"comment": "Bump @fluentui-react-native/experimental-tabs to v0.4.22",
|
|
161
|
+
"commit": "616c894f75769553fe97f8f2d4550bbd615f2396"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"author": "beachball",
|
|
165
|
+
"package": "@fluentui-react-native/tester",
|
|
166
|
+
"comment": "Bump @fluentui-react-native/icon to v0.11.8",
|
|
167
|
+
"commit": "616c894f75769553fe97f8f2d4550bbd615f2396"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"author": "beachball",
|
|
171
|
+
"package": "@fluentui-react-native/tester",
|
|
172
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.13.2",
|
|
173
|
+
"commit": "616c894f75769553fe97f8f2d4550bbd615f2396"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"author": "beachball",
|
|
177
|
+
"package": "@fluentui-react-native/tester",
|
|
178
|
+
"comment": "Bump @fluentui/react-native to v0.27.32",
|
|
179
|
+
"commit": "616c894f75769553fe97f8f2d4550bbd615f2396"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"date": "Thu, 17 Feb 2022 01:22:01 GMT",
|
|
186
|
+
"tag": "@fluentui-react-native/tester_v0.55.1",
|
|
187
|
+
"version": "0.55.1",
|
|
188
|
+
"comments": {
|
|
189
|
+
"patch": [
|
|
190
|
+
{
|
|
191
|
+
"author": "sanajmi@microsoft.com",
|
|
192
|
+
"package": "@fluentui-react-native/tester",
|
|
193
|
+
"commit": "4d8e48b86b070b200040b1471df4173f2da1a07b",
|
|
194
|
+
"comment": "Update RNTA dependency"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"author": "beachball",
|
|
198
|
+
"package": "@fluentui-react-native/tester",
|
|
199
|
+
"comment": "Bump @fluentui-react-native/apple-theme to v0.9.10",
|
|
200
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"author": "beachball",
|
|
204
|
+
"package": "@fluentui-react-native/tester",
|
|
205
|
+
"comment": "Bump @fluentui-react-native/badge to v0.0.11",
|
|
206
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"author": "beachball",
|
|
210
|
+
"package": "@fluentui-react-native/tester",
|
|
211
|
+
"comment": "Bump @fluentui-react-native/button to v0.22.1",
|
|
212
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"author": "beachball",
|
|
216
|
+
"package": "@fluentui-react-native/tester",
|
|
217
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.9.10",
|
|
218
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"author": "beachball",
|
|
222
|
+
"package": "@fluentui-react-native/tester",
|
|
223
|
+
"comment": "Bump @fluentui-react-native/experimental-activity-indicator to v0.5.12",
|
|
224
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"author": "beachball",
|
|
228
|
+
"package": "@fluentui-react-native/tester",
|
|
229
|
+
"comment": "Bump @fluentui-react-native/experimental-avatar to v0.14.4",
|
|
230
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"author": "beachball",
|
|
234
|
+
"package": "@fluentui-react-native/tester",
|
|
235
|
+
"comment": "Bump @fluentui-react-native/experimental-button to v0.15.1",
|
|
236
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"author": "beachball",
|
|
240
|
+
"package": "@fluentui-react-native/tester",
|
|
241
|
+
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.6.7",
|
|
242
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"author": "beachball",
|
|
246
|
+
"package": "@fluentui-react-native/tester",
|
|
247
|
+
"comment": "Bump @fluentui-react-native/experimental-expander to v0.3.13",
|
|
248
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"author": "beachball",
|
|
252
|
+
"package": "@fluentui-react-native/tester",
|
|
253
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.3.10",
|
|
254
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"author": "beachball",
|
|
258
|
+
"package": "@fluentui-react-native/tester",
|
|
259
|
+
"comment": "Bump @fluentui-react-native/experimental-shimmer to v0.6.15",
|
|
260
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"author": "beachball",
|
|
264
|
+
"package": "@fluentui-react-native/tester",
|
|
265
|
+
"comment": "Bump @fluentui-react-native/experimental-tabs to v0.4.21",
|
|
266
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"author": "beachball",
|
|
270
|
+
"package": "@fluentui-react-native/tester",
|
|
271
|
+
"comment": "Bump @fluentui-react-native/experimental-text to v0.7.13",
|
|
272
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"author": "beachball",
|
|
276
|
+
"package": "@fluentui-react-native/tester",
|
|
277
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.13",
|
|
278
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"author": "beachball",
|
|
282
|
+
"package": "@fluentui-react-native/tester",
|
|
283
|
+
"comment": "Bump @fluentui-react-native/icon to v0.11.7",
|
|
284
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"author": "beachball",
|
|
288
|
+
"package": "@fluentui-react-native/tester",
|
|
289
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.13.1",
|
|
290
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"author": "beachball",
|
|
294
|
+
"package": "@fluentui-react-native/tester",
|
|
295
|
+
"comment": "Bump @fluentui-react-native/stack to v0.6.13",
|
|
296
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"author": "beachball",
|
|
300
|
+
"package": "@fluentui-react-native/tester",
|
|
301
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.8.10",
|
|
302
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"author": "beachball",
|
|
306
|
+
"package": "@fluentui-react-native/tester",
|
|
307
|
+
"comment": "Bump @fluentui-react-native/win32-theme to v0.14.11",
|
|
308
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"author": "beachball",
|
|
312
|
+
"package": "@fluentui-react-native/tester",
|
|
313
|
+
"comment": "Bump @fluentui/react-native to v0.27.31",
|
|
314
|
+
"commit": "039a993d13ae01ff2212e8b91295d1ed5676c82d"
|
|
315
|
+
}
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"date": "Wed, 16 Feb 2022 21:58:21 GMT",
|
|
321
|
+
"tag": "@fluentui-react-native/tester_v0.55.0",
|
|
322
|
+
"version": "0.55.0",
|
|
323
|
+
"comments": {
|
|
324
|
+
"none": [
|
|
325
|
+
{
|
|
326
|
+
"author": "ruaraki@microsoft.com",
|
|
327
|
+
"package": "@fluentui-react-native/tester",
|
|
328
|
+
"commit": "fc506e0ea21def220cd2e7b4fe36361446c5f8c6",
|
|
329
|
+
"comment": "Fix tests"
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"minor": [
|
|
333
|
+
{
|
|
334
|
+
"author": "safreibe@microsoft.com",
|
|
335
|
+
"package": "@fluentui-react-native/tester",
|
|
336
|
+
"commit": "e7a98f4a0613e49ac35454ac3780c9a9eae906bf",
|
|
337
|
+
"comment": "Adding Experimental Button Functional E2E Tests"
|
|
338
|
+
}
|
|
339
|
+
]
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"date": "Tue, 15 Feb 2022 22:48:31 GMT",
|
|
6
344
|
"tag": "@fluentui-react-native/tester_v0.54.0",
|
|
7
345
|
"version": "0.54.0",
|
|
8
346
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,89 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 18 Feb 2022 23:25:55 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.56.0
|
|
8
|
+
|
|
9
|
+
Fri, 18 Feb 2022 23:25:55 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Fix ActivityIndicator test constants (safreibe@microsoft.com)
|
|
14
|
+
- Bump @fluentui-react-native/badge to v0.0.13
|
|
15
|
+
- Bump @fluentui-react-native/button to v0.22.3
|
|
16
|
+
- Bump @fluentui-react-native/experimental-activity-indicator to v0.5.13
|
|
17
|
+
- Bump @fluentui-react-native/experimental-avatar to v0.14.5
|
|
18
|
+
- Bump @fluentui-react-native/experimental-button to v0.15.3
|
|
19
|
+
- Bump @fluentui-react-native/experimental-checkbox to v0.6.9
|
|
20
|
+
- Bump @fluentui-react-native/experimental-expander to v0.3.14
|
|
21
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.3.12
|
|
22
|
+
- Bump @fluentui-react-native/experimental-shimmer to v0.6.16
|
|
23
|
+
- Bump @fluentui-react-native/experimental-tabs to v0.4.23
|
|
24
|
+
- Bump @fluentui-react-native/experimental-text to v0.7.14
|
|
25
|
+
- Bump @fluentui-react-native/framework to v0.7.14
|
|
26
|
+
- Bump @fluentui-react-native/icon to v0.11.9
|
|
27
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.13.3
|
|
28
|
+
- Bump @fluentui-react-native/stack to v0.6.14
|
|
29
|
+
- Bump @fluentui/react-native to v0.27.33
|
|
30
|
+
|
|
31
|
+
## 0.55.2
|
|
32
|
+
|
|
33
|
+
Thu, 17 Feb 2022 02:13:07 GMT
|
|
34
|
+
|
|
35
|
+
### Patches
|
|
36
|
+
|
|
37
|
+
- Update svg-transformer version (ruaraki@microsoft.com)
|
|
38
|
+
- Bump @fluentui-react-native/badge to v0.0.12
|
|
39
|
+
- Bump @fluentui-react-native/button to v0.22.2
|
|
40
|
+
- Bump @fluentui-react-native/experimental-button to v0.15.2
|
|
41
|
+
- Bump @fluentui-react-native/experimental-checkbox to v0.6.8
|
|
42
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.3.11
|
|
43
|
+
- Bump @fluentui-react-native/experimental-tabs to v0.4.22
|
|
44
|
+
- Bump @fluentui-react-native/icon to v0.11.8
|
|
45
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.13.2
|
|
46
|
+
- Bump @fluentui/react-native to v0.27.32
|
|
47
|
+
|
|
48
|
+
## 0.55.1
|
|
49
|
+
|
|
50
|
+
Thu, 17 Feb 2022 01:22:01 GMT
|
|
51
|
+
|
|
52
|
+
### Patches
|
|
53
|
+
|
|
54
|
+
- Update RNTA dependency (sanajmi@microsoft.com)
|
|
55
|
+
- Bump @fluentui-react-native/apple-theme to v0.9.10
|
|
56
|
+
- Bump @fluentui-react-native/badge to v0.0.11
|
|
57
|
+
- Bump @fluentui-react-native/button to v0.22.1
|
|
58
|
+
- Bump @fluentui-react-native/default-theme to v0.9.10
|
|
59
|
+
- Bump @fluentui-react-native/experimental-activity-indicator to v0.5.12
|
|
60
|
+
- Bump @fluentui-react-native/experimental-avatar to v0.14.4
|
|
61
|
+
- Bump @fluentui-react-native/experimental-button to v0.15.1
|
|
62
|
+
- Bump @fluentui-react-native/experimental-checkbox to v0.6.7
|
|
63
|
+
- Bump @fluentui-react-native/experimental-expander to v0.3.13
|
|
64
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.3.10
|
|
65
|
+
- Bump @fluentui-react-native/experimental-shimmer to v0.6.15
|
|
66
|
+
- Bump @fluentui-react-native/experimental-tabs to v0.4.21
|
|
67
|
+
- Bump @fluentui-react-native/experimental-text to v0.7.13
|
|
68
|
+
- Bump @fluentui-react-native/framework to v0.7.13
|
|
69
|
+
- Bump @fluentui-react-native/icon to v0.11.7
|
|
70
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.13.1
|
|
71
|
+
- Bump @fluentui-react-native/stack to v0.6.13
|
|
72
|
+
- Bump @fluentui-react-native/theming-utils to v0.8.10
|
|
73
|
+
- Bump @fluentui-react-native/win32-theme to v0.14.11
|
|
74
|
+
- Bump @fluentui/react-native to v0.27.31
|
|
75
|
+
|
|
76
|
+
## 0.55.0
|
|
77
|
+
|
|
78
|
+
Wed, 16 Feb 2022 21:58:21 GMT
|
|
79
|
+
|
|
80
|
+
### Minor changes
|
|
81
|
+
|
|
82
|
+
- Adding Experimental Button Functional E2E Tests (safreibe@microsoft.com)
|
|
83
|
+
|
|
7
84
|
## 0.54.0
|
|
8
85
|
|
|
9
|
-
Tue, 15 Feb 2022 22:
|
|
86
|
+
Tue, 15 Feb 2022 22:48:31 GMT
|
|
10
87
|
|
|
11
88
|
### Minor changes
|
|
12
89
|
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
/// <reference types="@wdio/sync/webdriverio-core" />
|
|
2
2
|
import { BasePage } from '../../common/BasePage.win';
|
|
3
|
+
export declare const enum ButtonSelector {
|
|
4
|
+
PrimaryButton = 0
|
|
5
|
+
}
|
|
3
6
|
declare class ButtonExperimentalPageObject extends BasePage {
|
|
7
|
+
/******************************************************************/
|
|
8
|
+
/**************** UI Element Interaction Methods ******************/
|
|
9
|
+
/******************************************************************/
|
|
10
|
+
didOnClickCallbackFire(): boolean;
|
|
11
|
+
sendKey(buttonSelector: ButtonSelector, key: string): void;
|
|
12
|
+
getButtonSelector(buttonSelector?: ButtonSelector): WebdriverIO.Element;
|
|
4
13
|
/*****************************************/
|
|
5
14
|
/**************** Getters ****************/
|
|
6
15
|
/*****************************************/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonExperimentalPageObject.d.ts","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ButtonExperimentalPageObject.d.ts","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.ts"],"names":[],"mappings":";AAOA,OAAO,EAAE,QAAQ,EAAM,MAAM,2BAA2B,CAAC;AAIzD,0BAAkB,cAAc;IAC9B,aAAa,IAAA;CACd;AACD,cAAM,4BAA6B,SAAQ,QAAQ;IACjD,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,sBAAsB,IAAI,OAAO;IAiBjC,OAAO,CAAC,cAAc,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI;IAK1D,iBAAiB,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,OAAO;IAOvE,2CAA2C;IAC3C,2CAA2C;IAC3C,2CAA2C;IAC3C,IAAI,SAAS,wBAEZ;IAED,IAAI,SAAS,WAEZ;IAED,IAAI,iBAAiB,wBAEpB;IAED,IAAI,mBAAmB,wBAEtB;IAED,IAAI,WAAW,wBAEd;CACF;;AAED,wBAAkD"}
|
|
@@ -1,11 +1,36 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
|
-
import { BUTTON_TESTPAGE, BUTTON_TEST_COMPONENT, BUTTON_NO_A11Y_LABEL_COMPONENT, HOMEPAGE_BUTTON_BUTTON, } from '../../../FluentTester/TestComponents/Button/consts';
|
|
2
|
+
import { BUTTON_TESTPAGE, BUTTON_TEST_COMPONENT, BUTTON_NO_A11Y_LABEL_COMPONENT, HOMEPAGE_BUTTON_BUTTON, BUTTON_ON_PRESS, } from '../../../FluentTester/TestComponents/Button/consts';
|
|
3
3
|
import { BasePage, By } from '../../common/BasePage.win';
|
|
4
4
|
var ButtonExperimentalPageObject = /** @class */ (function (_super) {
|
|
5
5
|
__extends(ButtonExperimentalPageObject, _super);
|
|
6
6
|
function ButtonExperimentalPageObject() {
|
|
7
7
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
8
8
|
}
|
|
9
|
+
/******************************************************************/
|
|
10
|
+
/**************** UI Element Interaction Methods ******************/
|
|
11
|
+
/******************************************************************/
|
|
12
|
+
ButtonExperimentalPageObject.prototype.didOnClickCallbackFire = function () {
|
|
13
|
+
var callbackText = By(BUTTON_ON_PRESS);
|
|
14
|
+
browser.waitUntil(function () {
|
|
15
|
+
return callbackText.isDisplayed();
|
|
16
|
+
}, {
|
|
17
|
+
timeout: this.waitForPageTimeout,
|
|
18
|
+
timeoutMsg: 'The OnClick callback did not fire.',
|
|
19
|
+
interval: 1000,
|
|
20
|
+
});
|
|
21
|
+
return callbackText.isDisplayed();
|
|
22
|
+
};
|
|
23
|
+
/* Sends a Keyboarding command on a specific UI element */
|
|
24
|
+
ButtonExperimentalPageObject.prototype.sendKey = function (buttonSelector, key) {
|
|
25
|
+
this.getButtonSelector(buttonSelector).addValue(key);
|
|
26
|
+
};
|
|
27
|
+
/* Returns the correct WebDriverIO element from the Button Selector */
|
|
28
|
+
ButtonExperimentalPageObject.prototype.getButtonSelector = function (buttonSelector) {
|
|
29
|
+
if (buttonSelector == 0 /* PrimaryButton */) {
|
|
30
|
+
return this._primaryComponent;
|
|
31
|
+
}
|
|
32
|
+
return this._primaryComponent;
|
|
33
|
+
};
|
|
9
34
|
Object.defineProperty(ButtonExperimentalPageObject.prototype, "_testPage", {
|
|
10
35
|
/*****************************************/
|
|
11
36
|
/**************** Getters ****************/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonExperimentalPageObject.js","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ButtonExperimentalPageObject.js","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,8BAA8B,EAC9B,sBAAsB,EACtB,eAAe,GAChB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,2BAA2B,CAAC;AAOzD;IAA2C,gDAAQ;IAAnD;;IAuDA,CAAC;IAtDC,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,6DAAsB,GAAtB;QACE,IAAM,YAAY,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC;QACzC,OAAO,CAAC,SAAS,CACf;YACE,OAAO,YAAY,CAAC,WAAW,EAAE,CAAC;QACpC,CAAC,EACD;YACE,OAAO,EAAE,IAAI,CAAC,kBAAkB;YAChC,UAAU,EAAE,oCAAoC;YAChD,QAAQ,EAAE,IAAI;SACf,CACF,CAAC;QAEF,OAAO,YAAY,CAAC,WAAW,EAAE,CAAC;IACpC,CAAC;IAED,0DAA0D;IAC1D,8CAAO,GAAP,UAAQ,cAA8B,EAAE,GAAW;QACjD,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IACvD,CAAC;IAED,sEAAsE;IACtE,wDAAiB,GAAjB,UAAkB,cAA+B;QAC/C,IAAI,cAAc,yBAAgC,EAAE;YAClD,OAAO,IAAI,CAAC,iBAAiB,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAKD,sBAAI,mDAAS;QAHb,2CAA2C;QAC3C,2CAA2C;QAC3C,2CAA2C;aAC3C;YACE,OAAO,EAAE,CAAC,eAAe,CAAC,CAAC;QAC7B,CAAC;;;OAAA;IAED,sBAAI,mDAAS;aAAb;YACE,OAAO,eAAe,CAAC;QACzB,CAAC;;;OAAA;IAED,sBAAI,2DAAiB;aAArB;YACE,OAAO,EAAE,CAAC,qBAAqB,CAAC,CAAC;QACnC,CAAC;;;OAAA;IAED,sBAAI,6DAAmB;aAAvB;YACE,OAAO,EAAE,CAAC,8BAA8B,CAAC,CAAC;QAC5C,CAAC;;;OAAA;IAED,sBAAI,qDAAW;aAAf;YACE,OAAO,EAAE,CAAC,sBAAsB,CAAC,CAAC;QACpC,CAAC;;;OAAA;IACH,mCAAC;AAAD,CAAC,AAvDD,CAA2C,QAAQ,GAuDlD;AAED,eAAe,IAAI,4BAA4B,EAAE,CAAC"}
|
|
@@ -39,4 +39,28 @@ describe('Experimental Button Accessibility Testing', function () {
|
|
|
39
39
|
expect(ButtonExperimentalPageObject.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject.ERRORMESSAGE_ASSERT);
|
|
40
40
|
});
|
|
41
41
|
});
|
|
42
|
+
describe('Experimental Button Functional Testing', function () {
|
|
43
|
+
/* Scrolls and waits for the Button to be visible on the Test Page */
|
|
44
|
+
beforeEach(function () {
|
|
45
|
+
ButtonExperimentalPageObject.scrollToTestElement();
|
|
46
|
+
ButtonExperimentalPageObject.waitForPrimaryElementDisplayed(PAGE_TIMEOUT);
|
|
47
|
+
});
|
|
48
|
+
it('Validate OnClick() callback was fired -> Click', function () {
|
|
49
|
+
ButtonExperimentalPageObject.clickComponent();
|
|
50
|
+
expect(ButtonExperimentalPageObject.didOnClickCallbackFire()).toBeTruthy();
|
|
51
|
+
expect(ButtonExperimentalPageObject.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject.ERRORMESSAGE_ASSERT);
|
|
52
|
+
ButtonExperimentalPageObject.clickComponent(); // Reset Button State
|
|
53
|
+
});
|
|
54
|
+
it('Validate OnClick() callback was fired -> Type "Enter"', function () {
|
|
55
|
+
ButtonExperimentalPageObject.sendKey(0 /* PrimaryButton */, "Enter" /* Enter */);
|
|
56
|
+
expect(ButtonExperimentalPageObject.didOnClickCallbackFire()).toBeTruthy();
|
|
57
|
+
expect(ButtonExperimentalPageObject.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject.ERRORMESSAGE_ASSERT);
|
|
58
|
+
ButtonExperimentalPageObject.clickComponent(); // Reset Button State
|
|
59
|
+
});
|
|
60
|
+
it('Validate OnClick() callback was fired -> Type "Spacebar"', function () {
|
|
61
|
+
ButtonExperimentalPageObject.sendKey(0 /* PrimaryButton */, " " /* Spacebar */);
|
|
62
|
+
expect(ButtonExperimentalPageObject.didOnClickCallbackFire()).toBeTruthy();
|
|
63
|
+
expect(ButtonExperimentalPageObject.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject.ERRORMESSAGE_ASSERT);
|
|
64
|
+
});
|
|
65
|
+
});
|
|
42
66
|
//# sourceMappingURL=ButtonExperimental.spec.win.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonExperimental.spec.win.js","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/specs/ButtonExperimental.spec.win.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,kCAAkC,CAAC;AAC/D,OAAO,
|
|
1
|
+
{"version":3,"file":"ButtonExperimental.spec.win.js","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/specs/ButtonExperimental.spec.win.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = "
|
|
2
|
-
export declare const ACTIVITY_INDICATOR_TESTPAGE = "
|
|
3
|
-
export declare const ACTIVITY_INDICATOR_TEST_COMPONENT = "
|
|
1
|
+
export declare const HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = "Homepage_ActivityIndicator_Button";
|
|
2
|
+
export declare const ACTIVITY_INDICATOR_TESTPAGE = "ActivityIndicator_TestPage";
|
|
3
|
+
export declare const ACTIVITY_INDICATOR_TEST_COMPONENT = "ActivityIndicator_Test_Component";
|
|
4
4
|
//# sourceMappingURL=consts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/ActivityIndicator/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/ActivityIndicator/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,sCAAsC,CAAC;AACtF,eAAO,MAAM,2BAA2B,+BAA+B,CAAC;AAGxE,eAAO,MAAM,iCAAiC,qCAAqC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export var HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = '
|
|
2
|
-
export var ACTIVITY_INDICATOR_TESTPAGE = '
|
|
1
|
+
export var HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = 'Homepage_ActivityIndicator_Button';
|
|
2
|
+
export var ACTIVITY_INDICATOR_TESTPAGE = 'ActivityIndicator_TestPage';
|
|
3
3
|
/* Test ActivityIndicator 1 */
|
|
4
|
-
export var ACTIVITY_INDICATOR_TEST_COMPONENT = '
|
|
4
|
+
export var ACTIVITY_INDICATOR_TEST_COMPONENT = 'ActivityIndicator_Test_Component'; // A component on each specific test page
|
|
5
5
|
//# sourceMappingURL=consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/ActivityIndicator/consts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,kCAAkC,GAAG,
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/ActivityIndicator/consts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,kCAAkC,GAAG,mCAAmC,CAAC;AACtF,MAAM,CAAC,IAAM,2BAA2B,GAAG,4BAA4B,CAAC;AAExE,8BAA8B;AAC9B,MAAM,CAAC,IAAM,iCAAiC,GAAG,kCAAkC,CAAC,CAAC,yCAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = "
|
|
1
|
+
export declare const HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = "Homepage_CheckboxExperimental_Button";
|
|
2
2
|
export declare const EXPERIMENTAL_CHECKBOX_TESTPAGE = "CheckboxExperimental_TestPage";
|
|
3
3
|
export declare const EXPERIMENTAL_CHECKBOX_TEST_COMPONENT = "Experimental_Checkbox_Test_Component";
|
|
4
4
|
export declare const EXPERIMENTAL_CHECKBOX_ACCESSIBILITY_LABEL = "E2E testing Experimental Checkbox accessibility label";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/CheckboxExperimental/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qCAAqC,
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/CheckboxExperimental/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qCAAqC,yCAAyC,CAAC;AAC5F,eAAO,MAAM,8BAA8B,kCAAkC,CAAC;AAG9E,eAAO,MAAM,oCAAoC,yCAAyC,CAAC;AAC3F,eAAO,MAAM,yCAAyC,0DAA0D,CAAC;AAGjH,eAAO,MAAM,6CAA6C,kDAAkD,CAAC;AAC7G,eAAO,MAAM,0CAA0C,yDAAyD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export var HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = '
|
|
1
|
+
export var HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = 'Homepage_CheckboxExperimental_Button'; // Button on the homepage that navigates to the selected test page
|
|
2
2
|
export var EXPERIMENTAL_CHECKBOX_TESTPAGE = 'CheckboxExperimental_TestPage'; // A component on each specific test page.
|
|
3
3
|
/* Test Experimental Checkbox 1 */
|
|
4
4
|
export var EXPERIMENTAL_CHECKBOX_TEST_COMPONENT = 'Experimental_Checkbox_Test_Component'; // A component on each specific test page
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/CheckboxExperimental/consts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,qCAAqC,GAAG,
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/CheckboxExperimental/consts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,qCAAqC,GAAG,sCAAsC,CAAC,CAAC,kEAAkE;AAC/J,MAAM,CAAC,IAAM,8BAA8B,GAAG,+BAA+B,CAAC,CAAC,0CAA0C;AAEzH,kCAAkC;AAClC,MAAM,CAAC,IAAM,oCAAoC,GAAG,sCAAsC,CAAC,CAAC,yCAAyC;AACrI,MAAM,CAAC,IAAM,yCAAyC,GAAG,uDAAuD,CAAC;AAEjH,kCAAkC;AAClC,MAAM,CAAC,IAAM,6CAA6C,GAAG,+CAA+C,CAAC;AAC7G,MAAM,CAAC,IAAM,0CAA0C,GAAG,sDAAsD,CAAC,CAAC,yCAAyC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = "
|
|
2
|
-
export declare const EXPERIMENTAL_TEXT_TESTPAGE = "
|
|
1
|
+
export declare const HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = "Homepage_TextExperimental_Button";
|
|
2
|
+
export declare const EXPERIMENTAL_TEXT_TESTPAGE = "TextExperimental_TestPage";
|
|
3
3
|
export declare const EXPERIMENTAL_TEXT_TEST_COMPONENT = "Experimental_Text_Test_Component";
|
|
4
4
|
export declare const EXPERIMENTAL_TEXT_ACCESSIBILITY_LABEL = "E2E testing Experimental_Text_Test_Component accessibility label";
|
|
5
5
|
export declare const EXPERIMENTAL_TEXT_NO_A11Y_LABEL_COMPONENT = "Experimental_Text_No_A11y_label_Component";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/TextExperimental/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/TextExperimental/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,qCAAqC,CAAC;AACpF,eAAO,MAAM,0BAA0B,8BAA8B,CAAC;AAGtE,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,qCAAqC,qEAAqE,CAAC;AAGxH,eAAO,MAAM,yCAAyC,8CAA8C,CAAC;AACrG,eAAO,MAAM,sCAAsC,qDAAqD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export var HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = '
|
|
2
|
-
export var EXPERIMENTAL_TEXT_TESTPAGE = '
|
|
1
|
+
export var HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = 'Homepage_TextExperimental_Button';
|
|
2
|
+
export var EXPERIMENTAL_TEXT_TESTPAGE = 'TextExperimental_TestPage';
|
|
3
3
|
/* E2E Testing Experimental Text 1 */
|
|
4
4
|
export var EXPERIMENTAL_TEXT_TEST_COMPONENT = 'Experimental_Text_Test_Component'; // A component on each specific test page
|
|
5
5
|
export var EXPERIMENTAL_TEXT_ACCESSIBILITY_LABEL = 'E2E testing Experimental_Text_Test_Component accessibility label';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/TextExperimental/consts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,iCAAiC,GAAG,
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/TextExperimental/consts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,iCAAiC,GAAG,kCAAkC,CAAC;AACpF,MAAM,CAAC,IAAM,0BAA0B,GAAG,2BAA2B,CAAC;AAEtE,qCAAqC;AACrC,MAAM,CAAC,IAAM,gCAAgC,GAAG,kCAAkC,CAAC,CAAC,yCAAyC;AAC7H,MAAM,CAAC,IAAM,qCAAqC,GAAG,kEAAkE,CAAC;AAExH,qCAAqC;AACrC,MAAM,CAAC,IAAM,yCAAyC,GAAG,2CAA2C,CAAC;AACrG,MAAM,CAAC,IAAM,sCAAsC,GAAG,kDAAkD,CAAC,CAAC,yCAAyC"}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
/// <reference types="@wdio/sync/webdriverio-core" />
|
|
2
2
|
import { BasePage } from '../../common/BasePage.win';
|
|
3
|
+
export declare const enum ButtonSelector {
|
|
4
|
+
PrimaryButton = 0
|
|
5
|
+
}
|
|
3
6
|
declare class ButtonExperimentalPageObject extends BasePage {
|
|
7
|
+
/******************************************************************/
|
|
8
|
+
/**************** UI Element Interaction Methods ******************/
|
|
9
|
+
/******************************************************************/
|
|
10
|
+
didOnClickCallbackFire(): boolean;
|
|
11
|
+
sendKey(buttonSelector: ButtonSelector, key: string): void;
|
|
12
|
+
getButtonSelector(buttonSelector?: ButtonSelector): WebdriverIO.Element;
|
|
4
13
|
/*****************************************/
|
|
5
14
|
/**************** Getters ****************/
|
|
6
15
|
/*****************************************/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonExperimentalPageObject.d.ts","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ButtonExperimentalPageObject.d.ts","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.ts"],"names":[],"mappings":";AAOA,OAAO,EAAE,QAAQ,EAAM,MAAM,2BAA2B,CAAC;AAIzD,0BAAkB,cAAc;IAC9B,aAAa,IAAA;CACd;AACD,cAAM,4BAA6B,SAAQ,QAAQ;IACjD,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,sBAAsB,IAAI,OAAO;IAiBjC,OAAO,CAAC,cAAc,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI;IAK1D,iBAAiB,CAAC,cAAc,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,OAAO;IAOvE,2CAA2C;IAC3C,2CAA2C;IAC3C,2CAA2C;IAC3C,IAAI,SAAS,wBAEZ;IAED,IAAI,SAAS,WAEZ;IAED,IAAI,iBAAiB,wBAEpB;IAED,IAAI,mBAAmB,wBAEtB;IAED,IAAI,WAAW,wBAEd;CACF;;AAED,wBAAkD"}
|
|
@@ -8,6 +8,31 @@ var ButtonExperimentalPageObject = /** @class */ (function (_super) {
|
|
|
8
8
|
function ButtonExperimentalPageObject() {
|
|
9
9
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
10
10
|
}
|
|
11
|
+
/******************************************************************/
|
|
12
|
+
/**************** UI Element Interaction Methods ******************/
|
|
13
|
+
/******************************************************************/
|
|
14
|
+
ButtonExperimentalPageObject.prototype.didOnClickCallbackFire = function () {
|
|
15
|
+
var callbackText = (0, BasePage_win_1.By)(consts_1.BUTTON_ON_PRESS);
|
|
16
|
+
browser.waitUntil(function () {
|
|
17
|
+
return callbackText.isDisplayed();
|
|
18
|
+
}, {
|
|
19
|
+
timeout: this.waitForPageTimeout,
|
|
20
|
+
timeoutMsg: 'The OnClick callback did not fire.',
|
|
21
|
+
interval: 1000,
|
|
22
|
+
});
|
|
23
|
+
return callbackText.isDisplayed();
|
|
24
|
+
};
|
|
25
|
+
/* Sends a Keyboarding command on a specific UI element */
|
|
26
|
+
ButtonExperimentalPageObject.prototype.sendKey = function (buttonSelector, key) {
|
|
27
|
+
this.getButtonSelector(buttonSelector).addValue(key);
|
|
28
|
+
};
|
|
29
|
+
/* Returns the correct WebDriverIO element from the Button Selector */
|
|
30
|
+
ButtonExperimentalPageObject.prototype.getButtonSelector = function (buttonSelector) {
|
|
31
|
+
if (buttonSelector == 0 /* PrimaryButton */) {
|
|
32
|
+
return this._primaryComponent;
|
|
33
|
+
}
|
|
34
|
+
return this._primaryComponent;
|
|
35
|
+
};
|
|
11
36
|
Object.defineProperty(ButtonExperimentalPageObject.prototype, "_testPage", {
|
|
12
37
|
/*****************************************/
|
|
13
38
|
/**************** Getters ****************/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonExperimentalPageObject.js","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"ButtonExperimentalPageObject.js","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/pages/ButtonExperimentalPageObject.ts"],"names":[],"mappings":";;;AAAA,6EAM4D;AAC5D,0DAAyD;AAOzD;IAA2C,6DAAQ;IAAnD;;IAuDA,CAAC;IAtDC,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IACpE,6DAAsB,GAAtB;QACE,IAAM,YAAY,GAAG,IAAA,iBAAE,EAAC,wBAAe,CAAC,CAAC;QACzC,OAAO,CAAC,SAAS,CACf;YACE,OAAO,YAAY,CAAC,WAAW,EAAE,CAAC;QACpC,CAAC,EACD;YACE,OAAO,EAAE,IAAI,CAAC,kBAAkB;YAChC,UAAU,EAAE,oCAAoC;YAChD,QAAQ,EAAE,IAAI;SACf,CACF,CAAC;QAEF,OAAO,YAAY,CAAC,WAAW,EAAE,CAAC;IACpC,CAAC;IAED,0DAA0D;IAC1D,8CAAO,GAAP,UAAQ,cAA8B,EAAE,GAAW;QACjD,IAAI,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;IACvD,CAAC;IAED,sEAAsE;IACtE,wDAAiB,GAAjB,UAAkB,cAA+B;QAC/C,IAAI,cAAc,yBAAgC,EAAE;YAClD,OAAO,IAAI,CAAC,iBAAiB,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAKD,sBAAI,mDAAS;QAHb,2CAA2C;QAC3C,2CAA2C;QAC3C,2CAA2C;aAC3C;YACE,OAAO,IAAA,iBAAE,EAAC,wBAAe,CAAC,CAAC;QAC7B,CAAC;;;OAAA;IAED,sBAAI,mDAAS;aAAb;YACE,OAAO,wBAAe,CAAC;QACzB,CAAC;;;OAAA;IAED,sBAAI,2DAAiB;aAArB;YACE,OAAO,IAAA,iBAAE,EAAC,8BAAqB,CAAC,CAAC;QACnC,CAAC;;;OAAA;IAED,sBAAI,6DAAmB;aAAvB;YACE,OAAO,IAAA,iBAAE,EAAC,uCAA8B,CAAC,CAAC;QAC5C,CAAC;;;OAAA;IAED,sBAAI,qDAAW;aAAf;YACE,OAAO,IAAA,iBAAE,EAAC,+BAAsB,CAAC,CAAC;QACpC,CAAC;;;OAAA;IACH,mCAAC;AAAD,CAAC,AAvDD,CAA2C,uBAAQ,GAuDlD;AAED,kBAAe,IAAI,4BAA4B,EAAE,CAAC"}
|
|
@@ -42,4 +42,28 @@ describe('Experimental Button Accessibility Testing', function () {
|
|
|
42
42
|
expect(ButtonExperimentalPageObject_1.default.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject_1.default.ERRORMESSAGE_ASSERT);
|
|
43
43
|
});
|
|
44
44
|
});
|
|
45
|
+
describe('Experimental Button Functional Testing', function () {
|
|
46
|
+
/* Scrolls and waits for the Button to be visible on the Test Page */
|
|
47
|
+
beforeEach(function () {
|
|
48
|
+
ButtonExperimentalPageObject_1.default.scrollToTestElement();
|
|
49
|
+
ButtonExperimentalPageObject_1.default.waitForPrimaryElementDisplayed(consts_1.PAGE_TIMEOUT);
|
|
50
|
+
});
|
|
51
|
+
it('Validate OnClick() callback was fired -> Click', function () {
|
|
52
|
+
ButtonExperimentalPageObject_1.default.clickComponent();
|
|
53
|
+
expect(ButtonExperimentalPageObject_1.default.didOnClickCallbackFire()).toBeTruthy();
|
|
54
|
+
expect(ButtonExperimentalPageObject_1.default.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject_1.default.ERRORMESSAGE_ASSERT);
|
|
55
|
+
ButtonExperimentalPageObject_1.default.clickComponent(); // Reset Button State
|
|
56
|
+
});
|
|
57
|
+
it('Validate OnClick() callback was fired -> Type "Enter"', function () {
|
|
58
|
+
ButtonExperimentalPageObject_1.default.sendKey(0 /* PrimaryButton */, "Enter" /* Enter */);
|
|
59
|
+
expect(ButtonExperimentalPageObject_1.default.didOnClickCallbackFire()).toBeTruthy();
|
|
60
|
+
expect(ButtonExperimentalPageObject_1.default.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject_1.default.ERRORMESSAGE_ASSERT);
|
|
61
|
+
ButtonExperimentalPageObject_1.default.clickComponent(); // Reset Button State
|
|
62
|
+
});
|
|
63
|
+
it('Validate OnClick() callback was fired -> Type "Spacebar"', function () {
|
|
64
|
+
ButtonExperimentalPageObject_1.default.sendKey(0 /* PrimaryButton */, " " /* Spacebar */);
|
|
65
|
+
expect(ButtonExperimentalPageObject_1.default.didOnClickCallbackFire()).toBeTruthy();
|
|
66
|
+
expect(ButtonExperimentalPageObject_1.default.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject_1.default.ERRORMESSAGE_ASSERT);
|
|
67
|
+
});
|
|
68
|
+
});
|
|
45
69
|
//# sourceMappingURL=ButtonExperimental.spec.win.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonExperimental.spec.win.js","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/specs/ButtonExperimental.spec.win.ts"],"names":[],"mappings":";;;AAAA,sGAA+D;AAC/D,
|
|
1
|
+
{"version":3,"file":"ButtonExperimental.spec.win.js","sourceRoot":"","sources":["../../../../src/E2E/ButtonExperimental/specs/ButtonExperimental.spec.win.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = "
|
|
2
|
-
export declare const ACTIVITY_INDICATOR_TESTPAGE = "
|
|
3
|
-
export declare const ACTIVITY_INDICATOR_TEST_COMPONENT = "
|
|
1
|
+
export declare const HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = "Homepage_ActivityIndicator_Button";
|
|
2
|
+
export declare const ACTIVITY_INDICATOR_TESTPAGE = "ActivityIndicator_TestPage";
|
|
3
|
+
export declare const ACTIVITY_INDICATOR_TEST_COMPONENT = "ActivityIndicator_Test_Component";
|
|
4
4
|
//# sourceMappingURL=consts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/ActivityIndicator/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/ActivityIndicator/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,sCAAsC,CAAC;AACtF,eAAO,MAAM,2BAA2B,+BAA+B,CAAC;AAGxE,eAAO,MAAM,iCAAiC,qCAAqC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ACTIVITY_INDICATOR_TEST_COMPONENT = exports.ACTIVITY_INDICATOR_TESTPAGE = exports.HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = void 0;
|
|
4
|
-
exports.HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = '
|
|
5
|
-
exports.ACTIVITY_INDICATOR_TESTPAGE = '
|
|
4
|
+
exports.HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = 'Homepage_ActivityIndicator_Button';
|
|
5
|
+
exports.ACTIVITY_INDICATOR_TESTPAGE = 'ActivityIndicator_TestPage';
|
|
6
6
|
/* Test ActivityIndicator 1 */
|
|
7
|
-
exports.ACTIVITY_INDICATOR_TEST_COMPONENT = '
|
|
7
|
+
exports.ACTIVITY_INDICATOR_TEST_COMPONENT = 'ActivityIndicator_Test_Component'; // A component on each specific test page
|
|
8
8
|
//# sourceMappingURL=consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/ActivityIndicator/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,kCAAkC,GAAG,
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/ActivityIndicator/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,kCAAkC,GAAG,mCAAmC,CAAC;AACzE,QAAA,2BAA2B,GAAG,4BAA4B,CAAC;AAExE,8BAA8B;AACjB,QAAA,iCAAiC,GAAG,kCAAkC,CAAC,CAAC,yCAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = "
|
|
1
|
+
export declare const HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = "Homepage_CheckboxExperimental_Button";
|
|
2
2
|
export declare const EXPERIMENTAL_CHECKBOX_TESTPAGE = "CheckboxExperimental_TestPage";
|
|
3
3
|
export declare const EXPERIMENTAL_CHECKBOX_TEST_COMPONENT = "Experimental_Checkbox_Test_Component";
|
|
4
4
|
export declare const EXPERIMENTAL_CHECKBOX_ACCESSIBILITY_LABEL = "E2E testing Experimental Checkbox accessibility label";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/CheckboxExperimental/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qCAAqC,
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/CheckboxExperimental/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qCAAqC,yCAAyC,CAAC;AAC5F,eAAO,MAAM,8BAA8B,kCAAkC,CAAC;AAG9E,eAAO,MAAM,oCAAoC,yCAAyC,CAAC;AAC3F,eAAO,MAAM,yCAAyC,0DAA0D,CAAC;AAGjH,eAAO,MAAM,6CAA6C,kDAAkD,CAAC;AAC7G,eAAO,MAAM,0CAA0C,yDAAyD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EXPERIMENTAL_CHECKBOX_TEST_COMPONENT_LABEL = exports.EXPERIMENTAL_CHECKBOX_NO_A11Y_LABEL_COMPONENT = exports.EXPERIMENTAL_CHECKBOX_ACCESSIBILITY_LABEL = exports.EXPERIMENTAL_CHECKBOX_TEST_COMPONENT = exports.EXPERIMENTAL_CHECKBOX_TESTPAGE = exports.HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = void 0;
|
|
4
|
-
exports.HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = '
|
|
4
|
+
exports.HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = 'Homepage_CheckboxExperimental_Button'; // Button on the homepage that navigates to the selected test page
|
|
5
5
|
exports.EXPERIMENTAL_CHECKBOX_TESTPAGE = 'CheckboxExperimental_TestPage'; // A component on each specific test page.
|
|
6
6
|
/* Test Experimental Checkbox 1 */
|
|
7
7
|
exports.EXPERIMENTAL_CHECKBOX_TEST_COMPONENT = 'Experimental_Checkbox_Test_Component'; // A component on each specific test page
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/CheckboxExperimental/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,qCAAqC,GAAG,
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/CheckboxExperimental/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,qCAAqC,GAAG,sCAAsC,CAAC,CAAC,kEAAkE;AAClJ,QAAA,8BAA8B,GAAG,+BAA+B,CAAC,CAAC,0CAA0C;AAEzH,kCAAkC;AACrB,QAAA,oCAAoC,GAAG,sCAAsC,CAAC,CAAC,yCAAyC;AACxH,QAAA,yCAAyC,GAAG,uDAAuD,CAAC;AAEjH,kCAAkC;AACrB,QAAA,6CAA6C,GAAG,+CAA+C,CAAC;AAChG,QAAA,0CAA0C,GAAG,sDAAsD,CAAC,CAAC,yCAAyC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = "
|
|
2
|
-
export declare const EXPERIMENTAL_TEXT_TESTPAGE = "
|
|
1
|
+
export declare const HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = "Homepage_TextExperimental_Button";
|
|
2
|
+
export declare const EXPERIMENTAL_TEXT_TESTPAGE = "TextExperimental_TestPage";
|
|
3
3
|
export declare const EXPERIMENTAL_TEXT_TEST_COMPONENT = "Experimental_Text_Test_Component";
|
|
4
4
|
export declare const EXPERIMENTAL_TEXT_ACCESSIBILITY_LABEL = "E2E testing Experimental_Text_Test_Component accessibility label";
|
|
5
5
|
export declare const EXPERIMENTAL_TEXT_NO_A11Y_LABEL_COMPONENT = "Experimental_Text_No_A11y_label_Component";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/TextExperimental/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/TextExperimental/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,qCAAqC,CAAC;AACpF,eAAO,MAAM,0BAA0B,8BAA8B,CAAC;AAGtE,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,qCAAqC,qEAAqE,CAAC;AAGxH,eAAO,MAAM,yCAAyC,8CAA8C,CAAC;AACrG,eAAO,MAAM,sCAAsC,qDAAqD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EXPERIMENTAL_TEXT_TEST_COMPONENT_LABEL = exports.EXPERIMENTAL_TEXT_NO_A11Y_LABEL_COMPONENT = exports.EXPERIMENTAL_TEXT_ACCESSIBILITY_LABEL = exports.EXPERIMENTAL_TEXT_TEST_COMPONENT = exports.EXPERIMENTAL_TEXT_TESTPAGE = exports.HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = void 0;
|
|
4
|
-
exports.HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = '
|
|
5
|
-
exports.EXPERIMENTAL_TEXT_TESTPAGE = '
|
|
4
|
+
exports.HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = 'Homepage_TextExperimental_Button';
|
|
5
|
+
exports.EXPERIMENTAL_TEXT_TESTPAGE = 'TextExperimental_TestPage';
|
|
6
6
|
/* E2E Testing Experimental Text 1 */
|
|
7
7
|
exports.EXPERIMENTAL_TEXT_TEST_COMPONENT = 'Experimental_Text_Test_Component'; // A component on each specific test page
|
|
8
8
|
exports.EXPERIMENTAL_TEXT_ACCESSIBILITY_LABEL = 'E2E testing Experimental_Text_Test_Component accessibility label';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/TextExperimental/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,iCAAiC,GAAG,
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/TextExperimental/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,iCAAiC,GAAG,kCAAkC,CAAC;AACvE,QAAA,0BAA0B,GAAG,2BAA2B,CAAC;AAEtE,qCAAqC;AACxB,QAAA,gCAAgC,GAAG,kCAAkC,CAAC,CAAC,yCAAyC;AAChH,QAAA,qCAAqC,GAAG,kEAAkE,CAAC;AAExH,qCAAqC;AACxB,QAAA,yCAAyC,GAAG,2CAA2C,CAAC;AACxF,QAAA,sCAAsC,GAAG,kDAAkD,CAAC,CAAC,yCAAyC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"description": "A test app to test FluentUI React Native Components during development",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
|
|
@@ -12,11 +12,9 @@
|
|
|
12
12
|
"build": "fluentui-scripts build",
|
|
13
13
|
"just": "fluentui-scripts",
|
|
14
14
|
"clean": "fluentui-scripts clean",
|
|
15
|
-
"code-style": "fluentui-scripts code-style",
|
|
16
15
|
"depcheck": "fluentui-scripts depcheck",
|
|
17
16
|
"lint": "fluentui-scripts eslint",
|
|
18
17
|
"start": "react-native start",
|
|
19
|
-
"test": "fluentui-scripts jest",
|
|
20
18
|
"bundle": "react-native rnx-bundle --dev false",
|
|
21
19
|
"prettier": "fluentui-scripts prettier",
|
|
22
20
|
"prettier-fix": "fluentui-scripts prettier --fix true"
|
|
@@ -28,33 +26,33 @@
|
|
|
28
26
|
},
|
|
29
27
|
"dependencies": {
|
|
30
28
|
"@fluentui-react-native/android-theme": ">=0.5.4 <1.0.0",
|
|
31
|
-
"@fluentui-react-native/apple-theme": ">=0.9.
|
|
32
|
-
"@fluentui-react-native/badge": ">=0.0.
|
|
33
|
-
"@fluentui-react-native/button": ">=0.22.
|
|
34
|
-
"@fluentui-react-native/default-theme": ">=0.9.
|
|
35
|
-
"@fluentui-react-native/experimental-activity-indicator": ">=0.5.
|
|
36
|
-
"@fluentui-react-native/experimental-avatar": ">=0.14.
|
|
37
|
-
"@fluentui-react-native/experimental-button": "0.15.
|
|
38
|
-
"@fluentui-react-native/experimental-checkbox": "0.6.
|
|
29
|
+
"@fluentui-react-native/apple-theme": ">=0.9.10 <1.0.0",
|
|
30
|
+
"@fluentui-react-native/badge": ">=0.0.13 <1.0.0",
|
|
31
|
+
"@fluentui-react-native/button": ">=0.22.3 <1.0.0",
|
|
32
|
+
"@fluentui-react-native/default-theme": ">=0.9.10 <1.0.0",
|
|
33
|
+
"@fluentui-react-native/experimental-activity-indicator": ">=0.5.13 <1.0.0",
|
|
34
|
+
"@fluentui-react-native/experimental-avatar": ">=0.14.5 <1.0.0",
|
|
35
|
+
"@fluentui-react-native/experimental-button": "0.15.3",
|
|
36
|
+
"@fluentui-react-native/experimental-checkbox": "0.6.9",
|
|
39
37
|
"@fluentui-react-native/experimental-native-date-picker": ">=0.4.1 <1.0.0",
|
|
40
|
-
"@fluentui-react-native/experimental-expander": "0.3.
|
|
41
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.3.
|
|
42
|
-
"@fluentui-react-native/experimental-shimmer": "0.6.
|
|
43
|
-
"@fluentui-react-native/experimental-tabs": "0.4.
|
|
44
|
-
"@fluentui-react-native/experimental-text": ">=0.7.
|
|
45
|
-
"@fluentui-react-native/framework": ">=0.7.
|
|
46
|
-
"@fluentui-react-native/icon": "0.11.
|
|
47
|
-
"@fluentui-react-native/interactive-hooks": ">=0.13.
|
|
48
|
-
"@fluentui-react-native/stack": ">=0.6.
|
|
38
|
+
"@fluentui-react-native/experimental-expander": "0.3.14",
|
|
39
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.3.12 <1.0.0",
|
|
40
|
+
"@fluentui-react-native/experimental-shimmer": "0.6.16",
|
|
41
|
+
"@fluentui-react-native/experimental-tabs": "0.4.23",
|
|
42
|
+
"@fluentui-react-native/experimental-text": ">=0.7.14 <1.0.0",
|
|
43
|
+
"@fluentui-react-native/framework": ">=0.7.14 <1.0.0",
|
|
44
|
+
"@fluentui-react-native/icon": "0.11.9",
|
|
45
|
+
"@fluentui-react-native/interactive-hooks": ">=0.13.3 <1.0.0",
|
|
46
|
+
"@fluentui-react-native/stack": ">=0.6.14 <1.0.0",
|
|
49
47
|
"@fluentui-react-native/theme": ">=0.6.4 <1.0.0",
|
|
50
48
|
"@fluentui-react-native/theme-types": ">=0.13.3 <1.0.0",
|
|
51
49
|
"@fluentui-react-native/themed-stylesheet": "^1.3.2",
|
|
52
|
-
"@fluentui-react-native/theming-utils": ">=0.8.
|
|
53
|
-
"@fluentui-react-native/win32-theme": ">=0.14.
|
|
54
|
-
"@fluentui/react-native": ">=0.27.
|
|
55
|
-
"@react-native-community/slider": "^4.
|
|
50
|
+
"@fluentui-react-native/theming-utils": ">=0.8.10 <1.0.0",
|
|
51
|
+
"@fluentui-react-native/win32-theme": ">=0.14.11 <1.0.0",
|
|
52
|
+
"@fluentui/react-native": ">=0.27.33 <1.0.0",
|
|
53
|
+
"@react-native-community/slider": "^4.2.0",
|
|
56
54
|
"@react-native-menu/menu": "^0.1.2",
|
|
57
|
-
"@react-native-picker/picker": "^
|
|
55
|
+
"@react-native-picker/picker": "^2.2.1",
|
|
58
56
|
"tslib": "^2.3.1"
|
|
59
57
|
},
|
|
60
58
|
"devDependencies": {
|
|
@@ -78,7 +76,7 @@
|
|
|
78
76
|
"react-native": "^0.64.2",
|
|
79
77
|
"react-native-macos": "^0.64.0",
|
|
80
78
|
"react-native-svg": "^12.1.1",
|
|
81
|
-
"react-native-svg-transformer": "^0.
|
|
79
|
+
"react-native-svg-transformer": "^1.0.0",
|
|
82
80
|
"react-native-windows": "^0.64.0",
|
|
83
81
|
"react-test-renderer": "17.0.1",
|
|
84
82
|
"rnpm-plugin-windows": "^0.5.1-0",
|
|
@@ -3,10 +3,48 @@ import {
|
|
|
3
3
|
BUTTON_TEST_COMPONENT,
|
|
4
4
|
BUTTON_NO_A11Y_LABEL_COMPONENT,
|
|
5
5
|
HOMEPAGE_BUTTON_BUTTON,
|
|
6
|
+
BUTTON_ON_PRESS,
|
|
6
7
|
} from '../../../FluentTester/TestComponents/Button/consts';
|
|
7
8
|
import { BasePage, By } from '../../common/BasePage.win';
|
|
8
9
|
|
|
10
|
+
/* This enum gives the spec file an EASY way to interact with SPECIFIC UI elements on the page.
|
|
11
|
+
* The spec file should import this enum and use it when wanting to interact with different elements on the page. */
|
|
12
|
+
export const enum ButtonSelector {
|
|
13
|
+
PrimaryButton, //this._primaryComponent
|
|
14
|
+
}
|
|
9
15
|
class ButtonExperimentalPageObject extends BasePage {
|
|
16
|
+
/******************************************************************/
|
|
17
|
+
/**************** UI Element Interaction Methods ******************/
|
|
18
|
+
/******************************************************************/
|
|
19
|
+
didOnClickCallbackFire(): boolean {
|
|
20
|
+
const callbackText = By(BUTTON_ON_PRESS);
|
|
21
|
+
browser.waitUntil(
|
|
22
|
+
() => {
|
|
23
|
+
return callbackText.isDisplayed();
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
timeout: this.waitForPageTimeout,
|
|
27
|
+
timeoutMsg: 'The OnClick callback did not fire.',
|
|
28
|
+
interval: 1000,
|
|
29
|
+
},
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
return callbackText.isDisplayed();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Sends a Keyboarding command on a specific UI element */
|
|
36
|
+
sendKey(buttonSelector: ButtonSelector, key: string): void {
|
|
37
|
+
this.getButtonSelector(buttonSelector).addValue(key);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Returns the correct WebDriverIO element from the Button Selector */
|
|
41
|
+
getButtonSelector(buttonSelector?: ButtonSelector): WebdriverIO.Element {
|
|
42
|
+
if (buttonSelector == ButtonSelector.PrimaryButton) {
|
|
43
|
+
return this._primaryComponent;
|
|
44
|
+
}
|
|
45
|
+
return this._primaryComponent;
|
|
46
|
+
}
|
|
47
|
+
|
|
10
48
|
/*****************************************/
|
|
11
49
|
/**************** Getters ****************/
|
|
12
50
|
/*****************************************/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import NavigateAppPage from '../../common/NavigateAppPage.win';
|
|
2
|
-
import ButtonExperimentalPageObject from '../pages/ButtonExperimentalPageObject';
|
|
2
|
+
import ButtonExperimentalPageObject, { ButtonSelector } from '../pages/ButtonExperimentalPageObject';
|
|
3
3
|
import { ComponentSelector } from '../../common/BasePage.win';
|
|
4
|
-
import { PAGE_TIMEOUT, BOOT_APP_TIMEOUT, BUTTON_A11Y_ROLE } from '../../common/consts';
|
|
4
|
+
import { PAGE_TIMEOUT, BOOT_APP_TIMEOUT, BUTTON_A11Y_ROLE, Keys } from '../../common/consts';
|
|
5
5
|
import { BUTTON_ACCESSIBILITY_LABEL, BUTTON_TEST_COMPONENT_LABEL } from '../../../FluentTester/TestComponents/Button/consts';
|
|
6
6
|
|
|
7
7
|
// Before testing begins, allow up to 60 seconds for app to open
|
|
@@ -50,3 +50,33 @@ describe('Experimental Button Accessibility Testing', () => {
|
|
|
50
50
|
expect(ButtonExperimentalPageObject.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject.ERRORMESSAGE_ASSERT);
|
|
51
51
|
});
|
|
52
52
|
});
|
|
53
|
+
|
|
54
|
+
describe('Experimental Button Functional Testing', () => {
|
|
55
|
+
/* Scrolls and waits for the Button to be visible on the Test Page */
|
|
56
|
+
beforeEach(() => {
|
|
57
|
+
ButtonExperimentalPageObject.scrollToTestElement();
|
|
58
|
+
ButtonExperimentalPageObject.waitForPrimaryElementDisplayed(PAGE_TIMEOUT);
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
it('Validate OnClick() callback was fired -> Click', () => {
|
|
62
|
+
ButtonExperimentalPageObject.clickComponent();
|
|
63
|
+
expect(ButtonExperimentalPageObject.didOnClickCallbackFire()).toBeTruthy();
|
|
64
|
+
expect(ButtonExperimentalPageObject.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject.ERRORMESSAGE_ASSERT);
|
|
65
|
+
|
|
66
|
+
ButtonExperimentalPageObject.clickComponent(); // Reset Button State
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
it('Validate OnClick() callback was fired -> Type "Enter"', () => {
|
|
70
|
+
ButtonExperimentalPageObject.sendKey(ButtonSelector.PrimaryButton, Keys.Enter);
|
|
71
|
+
expect(ButtonExperimentalPageObject.didOnClickCallbackFire()).toBeTruthy();
|
|
72
|
+
expect(ButtonExperimentalPageObject.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject.ERRORMESSAGE_ASSERT);
|
|
73
|
+
|
|
74
|
+
ButtonExperimentalPageObject.clickComponent(); // Reset Button State
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
it('Validate OnClick() callback was fired -> Type "Spacebar"', () => {
|
|
78
|
+
ButtonExperimentalPageObject.sendKey(ButtonSelector.PrimaryButton, Keys.Spacebar);
|
|
79
|
+
expect(ButtonExperimentalPageObject.didOnClickCallbackFire()).toBeTruthy();
|
|
80
|
+
expect(ButtonExperimentalPageObject.didAssertPopup()).toBeFalsy(ButtonExperimentalPageObject.ERRORMESSAGE_ASSERT);
|
|
81
|
+
});
|
|
82
|
+
});
|
package/src/E2E/README.md
CHANGED
|
@@ -94,6 +94,13 @@ You'll want to make one for your component under **apps/fluent-tester/src/Fluent
|
|
|
94
94
|
|
|
95
95
|
**You can simply copy/paste a _consts.ts_ file from another component, and just change the name of the component in the const names and the values.**
|
|
96
96
|
|
|
97
|
+
**This is really important!**
|
|
98
|
+
|
|
99
|
+
There are a **two specific** naming conventions we need to follow to keep in-sync with the Native side.
|
|
100
|
+
|
|
101
|
+
1. The button that navigates to each test page - **Homepage\_'componentName'\_Button**
|
|
102
|
+
2. The test page itself that lets us validate if the page loaded - **'componentName'\_TestPage**
|
|
103
|
+
|
|
97
104
|
Now, what are Page Objects and Spec Documents?
|
|
98
105
|
|
|
99
106
|
## Page Objects
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = '
|
|
2
|
-
export const ACTIVITY_INDICATOR_TESTPAGE = '
|
|
1
|
+
export const HOMEPAGE_ACTIVITY_INDICATOR_BUTTON = 'Homepage_ActivityIndicator_Button';
|
|
2
|
+
export const ACTIVITY_INDICATOR_TESTPAGE = 'ActivityIndicator_TestPage';
|
|
3
3
|
|
|
4
4
|
/* Test ActivityIndicator 1 */
|
|
5
|
-
export const ACTIVITY_INDICATOR_TEST_COMPONENT = '
|
|
5
|
+
export const ACTIVITY_INDICATOR_TEST_COMPONENT = 'ActivityIndicator_Test_Component'; // A component on each specific test page
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = '
|
|
1
|
+
export const HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON = 'Homepage_CheckboxExperimental_Button'; // Button on the homepage that navigates to the selected test page
|
|
2
2
|
export const EXPERIMENTAL_CHECKBOX_TESTPAGE = 'CheckboxExperimental_TestPage'; // A component on each specific test page.
|
|
3
3
|
|
|
4
4
|
/* Test Experimental Checkbox 1 */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export const HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = '
|
|
2
|
-
export const EXPERIMENTAL_TEXT_TESTPAGE = '
|
|
1
|
+
export const HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON = 'Homepage_TextExperimental_Button';
|
|
2
|
+
export const EXPERIMENTAL_TEXT_TESTPAGE = 'TextExperimental_TestPage';
|
|
3
3
|
|
|
4
4
|
/* E2E Testing Experimental Text 1 */
|
|
5
5
|
export const EXPERIMENTAL_TEXT_TEST_COMPONENT = 'Experimental_Text_Test_Component'; // A component on each specific test page
|
package/__tests__/App-test.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @format
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import 'react-native';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import App from '../App';
|
|
8
|
-
|
|
9
|
-
// Note: test renderer must be required after react-native.
|
|
10
|
-
import renderer from 'react-test-renderer';
|
|
11
|
-
|
|
12
|
-
it('renders correctly', () => {
|
|
13
|
-
renderer.create(<App />);
|
|
14
|
-
});
|