@fluentui-react-native/tester 0.101.7 → 0.101.9
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 +193 -1
- package/CHANGELOG.md +45 -2
- package/lib/E2E/Menu/pages/MenuPageObject.d.ts +5 -1
- package/lib/E2E/Menu/pages/MenuPageObject.d.ts.map +1 -1
- package/lib/E2E/Menu/pages/MenuPageObject.js +91 -64
- package/lib/E2E/Menu/pages/MenuPageObject.js.map +1 -1
- package/lib/E2E/Menu/specs/Menu.spec.win.js +28 -7
- package/lib/E2E/Menu/specs/Menu.spec.win.js.map +1 -1
- package/lib/E2E/common/consts.d.ts +5 -0
- package/lib/E2E/common/consts.d.ts.map +1 -1
- package/lib-commonjs/E2E/Menu/pages/MenuPageObject.d.ts +5 -1
- package/lib-commonjs/E2E/Menu/pages/MenuPageObject.d.ts.map +1 -1
- package/lib-commonjs/E2E/Menu/pages/MenuPageObject.js +90 -63
- package/lib-commonjs/E2E/Menu/pages/MenuPageObject.js.map +1 -1
- package/lib-commonjs/E2E/Menu/specs/Menu.spec.win.js +28 -7
- package/lib-commonjs/E2E/Menu/specs/Menu.spec.win.js.map +1 -1
- package/lib-commonjs/E2E/common/consts.d.ts +5 -0
- package/lib-commonjs/E2E/common/consts.d.ts.map +1 -1
- package/package.json +29 -29
- package/src/E2E/Menu/pages/MenuPageObject.ts +31 -28
- package/src/E2E/Menu/specs/Menu.spec.win.ts +10 -10
- package/src/E2E/common/consts.ts +6 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,199 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Mon, 17 Oct 2022 19:15:51 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.101.9",
|
|
7
|
+
"version": "0.101.9",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "winlarry@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"commit": "ec21fcf6380241b2ad3cffd75dfbe53555bf23f9",
|
|
14
|
+
"comment": "Re-enable and rewrite parts of menu e2etest"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Mon, 17 Oct 2022 17:52:49 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/tester_v0.101.8",
|
|
22
|
+
"version": "0.101.8",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "beachball",
|
|
27
|
+
"package": "@fluentui-react-native/tester",
|
|
28
|
+
"comment": "Bump @fluentui-react-native/android-theme to v0.12.9",
|
|
29
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/tester",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/apple-theme to v0.16.3",
|
|
35
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/tester",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/avatar to v1.2.22",
|
|
41
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui-react-native/tester",
|
|
46
|
+
"comment": "Bump @fluentui-react-native/badge to v0.1.44",
|
|
47
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@fluentui-react-native/tester",
|
|
52
|
+
"comment": "Bump @fluentui-react-native/button to v0.25.12",
|
|
53
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@fluentui-react-native/tester",
|
|
58
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.16.5",
|
|
59
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@fluentui-react-native/tester",
|
|
64
|
+
"comment": "Bump @fluentui-react-native/dropdown to v0.4.14",
|
|
65
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "beachball",
|
|
69
|
+
"package": "@fluentui-react-native/tester",
|
|
70
|
+
"comment": "Bump @fluentui-react-native/experimental-activity-indicator to v0.6.12",
|
|
71
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"author": "beachball",
|
|
75
|
+
"package": "@fluentui-react-native/tester",
|
|
76
|
+
"comment": "Bump @fluentui-react-native/experimental-avatar to v0.16.16",
|
|
77
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"author": "beachball",
|
|
81
|
+
"package": "@fluentui-react-native/tester",
|
|
82
|
+
"comment": "Bump @fluentui-react-native/experimental-button to v0.16.39",
|
|
83
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"author": "beachball",
|
|
87
|
+
"package": "@fluentui-react-native/tester",
|
|
88
|
+
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.12.29",
|
|
89
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"author": "beachball",
|
|
93
|
+
"package": "@fluentui-react-native/tester",
|
|
94
|
+
"comment": "Bump @fluentui-react-native/experimental-expander to v0.4.14",
|
|
95
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"author": "beachball",
|
|
99
|
+
"package": "@fluentui-react-native/tester",
|
|
100
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.4.45",
|
|
101
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"author": "beachball",
|
|
105
|
+
"package": "@fluentui-react-native/tester",
|
|
106
|
+
"comment": "Bump @fluentui-react-native/experimental-radio-group to v0.6.3",
|
|
107
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"author": "beachball",
|
|
111
|
+
"package": "@fluentui-react-native/tester",
|
|
112
|
+
"comment": "Bump @fluentui-react-native/experimental-shadow to v0.2.30",
|
|
113
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"author": "beachball",
|
|
117
|
+
"package": "@fluentui-react-native/tester",
|
|
118
|
+
"comment": "Bump @fluentui-react-native/experimental-shimmer to v0.7.13",
|
|
119
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"author": "beachball",
|
|
123
|
+
"package": "@fluentui-react-native/tester",
|
|
124
|
+
"comment": "Bump @fluentui-react-native/experimental-tabs to v0.5.26",
|
|
125
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"author": "beachball",
|
|
129
|
+
"package": "@fluentui-react-native/tester",
|
|
130
|
+
"comment": "Bump @fluentui-react-native/experimental-text to v0.11.14",
|
|
131
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"author": "beachball",
|
|
135
|
+
"package": "@fluentui-react-native/tester",
|
|
136
|
+
"comment": "Bump @fluentui-react-native/framework to v0.8.12",
|
|
137
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"author": "beachball",
|
|
141
|
+
"package": "@fluentui-react-native/tester",
|
|
142
|
+
"comment": "Bump @fluentui-react-native/icon to v0.13.17",
|
|
143
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"author": "beachball",
|
|
147
|
+
"package": "@fluentui-react-native/tester",
|
|
148
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.18.15",
|
|
149
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"author": "beachball",
|
|
153
|
+
"package": "@fluentui-react-native/tester",
|
|
154
|
+
"comment": "Bump @fluentui-react-native/menu to v1.0.51",
|
|
155
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"author": "beachball",
|
|
159
|
+
"package": "@fluentui-react-native/tester",
|
|
160
|
+
"comment": "Bump @fluentui-react-native/notification to v0.17.24",
|
|
161
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"author": "beachball",
|
|
165
|
+
"package": "@fluentui-react-native/tester",
|
|
166
|
+
"comment": "Bump @fluentui-react-native/stack to v0.7.16",
|
|
167
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"author": "beachball",
|
|
171
|
+
"package": "@fluentui-react-native/tester",
|
|
172
|
+
"comment": "Bump @fluentui-react-native/switch to v0.6.17",
|
|
173
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"author": "beachball",
|
|
177
|
+
"package": "@fluentui-react-native/tester",
|
|
178
|
+
"comment": "Bump @fluentui-react-native/text to v0.15.8",
|
|
179
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"author": "beachball",
|
|
183
|
+
"package": "@fluentui-react-native/tester",
|
|
184
|
+
"comment": "Bump @fluentui-react-native/win32-theme to v0.22.0",
|
|
185
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"author": "beachball",
|
|
189
|
+
"package": "@fluentui-react-native/tester",
|
|
190
|
+
"comment": "Bump @fluentui/react-native to v0.32.38",
|
|
191
|
+
"commit": "14bd4084276efd59f022ab5074441eca421c96d0"
|
|
192
|
+
}
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"date": "Fri, 14 Oct 2022 23:01:57 GMT",
|
|
6
198
|
"tag": "@fluentui-react-native/tester_v0.101.7",
|
|
7
199
|
"version": "0.101.7",
|
|
8
200
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,55 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 17 Oct 2022 19:15:51 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.101.9
|
|
8
|
+
|
|
9
|
+
Mon, 17 Oct 2022 19:15:51 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Re-enable and rewrite parts of menu e2etest (winlarry@microsoft.com)
|
|
14
|
+
|
|
15
|
+
## 0.101.8
|
|
16
|
+
|
|
17
|
+
Mon, 17 Oct 2022 17:52:49 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Bump @fluentui-react-native/android-theme to v0.12.9
|
|
22
|
+
- Bump @fluentui-react-native/apple-theme to v0.16.3
|
|
23
|
+
- Bump @fluentui-react-native/avatar to v1.2.22
|
|
24
|
+
- Bump @fluentui-react-native/badge to v0.1.44
|
|
25
|
+
- Bump @fluentui-react-native/button to v0.25.12
|
|
26
|
+
- Bump @fluentui-react-native/default-theme to v0.16.5
|
|
27
|
+
- Bump @fluentui-react-native/dropdown to v0.4.14
|
|
28
|
+
- Bump @fluentui-react-native/experimental-activity-indicator to v0.6.12
|
|
29
|
+
- Bump @fluentui-react-native/experimental-avatar to v0.16.16
|
|
30
|
+
- Bump @fluentui-react-native/experimental-button to v0.16.39
|
|
31
|
+
- Bump @fluentui-react-native/experimental-checkbox to v0.12.29
|
|
32
|
+
- Bump @fluentui-react-native/experimental-expander to v0.4.14
|
|
33
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.4.45
|
|
34
|
+
- Bump @fluentui-react-native/experimental-radio-group to v0.6.3
|
|
35
|
+
- Bump @fluentui-react-native/experimental-shadow to v0.2.30
|
|
36
|
+
- Bump @fluentui-react-native/experimental-shimmer to v0.7.13
|
|
37
|
+
- Bump @fluentui-react-native/experimental-tabs to v0.5.26
|
|
38
|
+
- Bump @fluentui-react-native/experimental-text to v0.11.14
|
|
39
|
+
- Bump @fluentui-react-native/framework to v0.8.12
|
|
40
|
+
- Bump @fluentui-react-native/icon to v0.13.17
|
|
41
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.18.15
|
|
42
|
+
- Bump @fluentui-react-native/menu to v1.0.51
|
|
43
|
+
- Bump @fluentui-react-native/notification to v0.17.24
|
|
44
|
+
- Bump @fluentui-react-native/stack to v0.7.16
|
|
45
|
+
- Bump @fluentui-react-native/switch to v0.6.17
|
|
46
|
+
- Bump @fluentui-react-native/text to v0.15.8
|
|
47
|
+
- Bump @fluentui-react-native/win32-theme to v0.22.0
|
|
48
|
+
- Bump @fluentui/react-native to v0.32.38
|
|
49
|
+
|
|
7
50
|
## 0.101.7
|
|
8
51
|
|
|
9
|
-
Fri, 14 Oct 2022 23:01:
|
|
52
|
+
Fri, 14 Oct 2022 23:01:57 GMT
|
|
10
53
|
|
|
11
54
|
### Patches
|
|
12
55
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="webdriverio/async" />
|
|
2
2
|
import { BasePage } from '../../common/BasePage';
|
|
3
|
+
import { ExpandCollapseState } from '../../common/consts';
|
|
3
4
|
export declare const enum MenuComponentSelector {
|
|
4
5
|
PrimaryComponent = 0,
|
|
5
6
|
SecondaryComponent = 1,
|
|
@@ -10,12 +11,14 @@ declare class MenuPageObject extends BasePage {
|
|
|
10
11
|
/**************** UI Element Interaction Methods ******************/
|
|
11
12
|
/******************************************************************/
|
|
12
13
|
didMenuOpen(): Promise<boolean>;
|
|
13
|
-
|
|
14
|
+
menuIsExpanded(): Promise<boolean>;
|
|
15
|
+
getMenuExpandCollapseState(): Promise<ExpandCollapseState>;
|
|
14
16
|
getMenuItemAccessibilityLabel(componentSelector: MenuComponentSelector): Promise<string>;
|
|
15
17
|
getMenuAccessibilityRole(): Promise<string>;
|
|
16
18
|
getMenuItemAccessibilityRole(): Promise<string>;
|
|
17
19
|
sendKey(menuComponentSelector: MenuComponentSelector, key: string): Promise<void>;
|
|
18
20
|
getMenuComponentSelector(menuComponentSelector?: MenuComponentSelector): Promise<WebdriverIO.Element>;
|
|
21
|
+
resetTest(): Promise<void>;
|
|
19
22
|
/*****************************************/
|
|
20
23
|
/**************** Getters ****************/
|
|
21
24
|
/*****************************************/
|
|
@@ -25,6 +28,7 @@ declare class MenuPageObject extends BasePage {
|
|
|
25
28
|
get _secondaryComponent(): import("webdriverio").ChainablePromiseElement<WebdriverIO.Element>;
|
|
26
29
|
get _tertiaryComponent(): import("webdriverio").ChainablePromiseElement<WebdriverIO.Element>;
|
|
27
30
|
get _pageButton(): import("webdriverio").ChainablePromiseElement<WebdriverIO.Element>;
|
|
31
|
+
get _defocusButton(): import("webdriverio").ChainablePromiseElement<WebdriverIO.Element>;
|
|
28
32
|
}
|
|
29
33
|
declare const _default: MenuPageObject;
|
|
30
34
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuPageObject.d.ts","sourceRoot":"","sources":["../../../../src/E2E/Menu/pages/MenuPageObject.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"MenuPageObject.d.ts","sourceRoot":"","sources":["../../../../src/E2E/Menu/pages/MenuPageObject.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,QAAQ,EAAM,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAQ,mBAAmB,EAAa,MAAM,qBAAqB,CAAC;AAI3E,0BAAkB,qBAAqB;IACrC,gBAAgB,IAAA;IAChB,kBAAkB,IAAA;IAClB,iBAAiB,IAAA;CAClB;AAED,cAAM,cAAe,SAAQ,QAAQ;IACnC,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IAC9D,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC;IAU/B,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAIlC,0BAA0B,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAI1D,6BAA6B,CAAC,iBAAiB,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC;IAIxF,wBAAwB,IAAI,OAAO,CAAC,MAAM,CAAC;IAI3C,4BAA4B,IAAI,OAAO,CAAC,MAAM,CAAC;IAK/C,OAAO,CAAC,qBAAqB,EAAE,qBAAqB,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKjF,wBAAwB,CAAC,qBAAqB,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC;IAWrG,SAAS;IAQf,2CAA2C;IAC3C,2CAA2C;IAC3C,2CAA2C;IAC3C,IAAI,SAAS,uEAEZ;IAED,IAAI,SAAS,WAEZ;IAED,IAAI,iBAAiB,uEAEpB;IAED,IAAI,mBAAmB,uEAEtB;IAED,IAAI,kBAAkB,uEAErB;IAED,IAAI,WAAW,uEAEd;IAED,IAAI,cAAc,uEAEjB;CACF;;AAED,wBAAoC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __awaiter, __extends, __generator } from "tslib";
|
|
2
|
-
import { MENU_TESTPAGE, MENUTRIGGER_TEST_COMPONENT, MENUITEM_NO_A11Y_LABEL_COMPONENT, HOMEPAGE_MENU_BUTTON,
|
|
2
|
+
import { MENU_TESTPAGE, MENUTRIGGER_TEST_COMPONENT, MENUITEM_NO_A11Y_LABEL_COMPONENT, HOMEPAGE_MENU_BUTTON, MENUITEM_TEST_COMPONENT, MENUPOPOVER_TEST_COMPONENT, MENU_DEFOCUS_BUTTON, } from '../../../TestComponents/Menu/consts';
|
|
3
3
|
import { BasePage, By } from '../../common/BasePage';
|
|
4
4
|
var MenuPageObject = /** @class */ (function (_super) {
|
|
5
5
|
__extends(MenuPageObject, _super);
|
|
@@ -11,54 +11,48 @@ var MenuPageObject = /** @class */ (function (_super) {
|
|
|
11
11
|
/******************************************************************/
|
|
12
12
|
MenuPageObject.prototype.didMenuOpen = function () {
|
|
13
13
|
return __awaiter(this, void 0, void 0, function () {
|
|
14
|
-
var callbackText;
|
|
15
14
|
var _this = this;
|
|
16
15
|
return __generator(this, function (_a) {
|
|
17
16
|
switch (_a.label) {
|
|
18
|
-
case 0: return [4 /*yield*/,
|
|
17
|
+
case 0: return [4 /*yield*/, browser.waitUntil(function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
18
|
+
switch (_a.label) {
|
|
19
|
+
case 0: return [4 /*yield*/, this.menuIsExpanded()];
|
|
20
|
+
case 1: return [2 /*return*/, _a.sent()];
|
|
21
|
+
}
|
|
22
|
+
}); }); }, {
|
|
23
|
+
timeout: this.waitForUiEvent,
|
|
24
|
+
timeoutMsg: 'The Menu did not open.',
|
|
25
|
+
interval: 1000,
|
|
26
|
+
})];
|
|
19
27
|
case 1:
|
|
20
|
-
callbackText = _a.sent();
|
|
21
|
-
return [4 /*yield*/, browser.waitUntil(function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
22
|
-
switch (_a.label) {
|
|
23
|
-
case 0: return [4 /*yield*/, callbackText.isDisplayed()];
|
|
24
|
-
case 1: return [2 /*return*/, _a.sent()];
|
|
25
|
-
}
|
|
26
|
-
}); }); }, {
|
|
27
|
-
timeout: this.waitForUiEvent,
|
|
28
|
-
timeoutMsg: 'The Menu did not open.',
|
|
29
|
-
interval: 1000,
|
|
30
|
-
})];
|
|
31
|
-
case 2:
|
|
32
28
|
_a.sent();
|
|
33
|
-
return [4 /*yield*/,
|
|
34
|
-
case
|
|
29
|
+
return [4 /*yield*/, this.menuIsExpanded()];
|
|
30
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
35
31
|
}
|
|
36
32
|
});
|
|
37
33
|
});
|
|
38
34
|
};
|
|
39
|
-
MenuPageObject.prototype.
|
|
35
|
+
MenuPageObject.prototype.menuIsExpanded = function () {
|
|
40
36
|
return __awaiter(this, void 0, void 0, function () {
|
|
41
|
-
var callbackText;
|
|
42
|
-
var _this = this;
|
|
43
37
|
return __generator(this, function (_a) {
|
|
44
38
|
switch (_a.label) {
|
|
45
|
-
case 0: return [4 /*yield*/,
|
|
46
|
-
case 1:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
case
|
|
39
|
+
case 0: return [4 /*yield*/, this._secondaryComponent];
|
|
40
|
+
case 1: return [4 /*yield*/, (_a.sent()).isDisplayed()];
|
|
41
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
};
|
|
46
|
+
MenuPageObject.prototype.getMenuExpandCollapseState = function () {
|
|
47
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
48
|
+
var _a;
|
|
49
|
+
return __generator(this, function (_b) {
|
|
50
|
+
switch (_b.label) {
|
|
51
|
+
case 0:
|
|
52
|
+
_a = this.getElementAttribute;
|
|
53
|
+
return [4 /*yield*/, this._primaryComponent];
|
|
54
|
+
case 1: return [4 /*yield*/, _a.apply(this, [_b.sent(), "ExpandCollapse.ExpandCollapseState" /* ExpandCollapseState */])];
|
|
55
|
+
case 2: return [2 /*return*/, (_b.sent())];
|
|
62
56
|
}
|
|
63
57
|
});
|
|
64
58
|
});
|
|
@@ -69,40 +63,38 @@ var MenuPageObject = /** @class */ (function (_super) {
|
|
|
69
63
|
return __generator(this, function (_b) {
|
|
70
64
|
switch (_b.label) {
|
|
71
65
|
case 0:
|
|
72
|
-
_a =
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
case 1 /* SecondaryComponent */: return [3 /*break*/, 3];
|
|
76
|
-
case 2 /* TertiaryComponent */: return [3 /*break*/, 5];
|
|
77
|
-
}
|
|
78
|
-
return [3 /*break*/, 7];
|
|
79
|
-
case 1: return [4 /*yield*/, this._primaryComponent.getAttribute('Name')];
|
|
66
|
+
_a = this.getElementAttribute;
|
|
67
|
+
return [4 /*yield*/, this.getMenuComponentSelector(componentSelector)];
|
|
68
|
+
case 1: return [4 /*yield*/, _a.apply(this, [_b.sent(), "Name" /* AccessibilityLabel */])];
|
|
80
69
|
case 2: return [2 /*return*/, _b.sent()];
|
|
81
|
-
case 3: return [4 /*yield*/, this._secondaryComponent.getAttribute('Name')];
|
|
82
|
-
case 4: return [2 /*return*/, _b.sent()];
|
|
83
|
-
case 5: return [4 /*yield*/, this._tertiaryComponent.getAttribute('Name')];
|
|
84
|
-
case 6: return [2 /*return*/, _b.sent()];
|
|
85
|
-
case 7: return [2 /*return*/];
|
|
86
70
|
}
|
|
87
71
|
});
|
|
88
72
|
});
|
|
89
73
|
};
|
|
90
74
|
MenuPageObject.prototype.getMenuAccessibilityRole = function () {
|
|
91
75
|
return __awaiter(this, void 0, void 0, function () {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
case
|
|
76
|
+
var _a;
|
|
77
|
+
return __generator(this, function (_b) {
|
|
78
|
+
switch (_b.label) {
|
|
79
|
+
case 0:
|
|
80
|
+
_a = this.getElementAttribute;
|
|
81
|
+
return [4 /*yield*/, By(MENUPOPOVER_TEST_COMPONENT)];
|
|
82
|
+
case 1: return [4 /*yield*/, _a.apply(this, [_b.sent(), "ControlType" /* AccessibilityRole */])];
|
|
83
|
+
case 2: return [2 /*return*/, _b.sent()];
|
|
96
84
|
}
|
|
97
85
|
});
|
|
98
86
|
});
|
|
99
87
|
};
|
|
100
88
|
MenuPageObject.prototype.getMenuItemAccessibilityRole = function () {
|
|
101
89
|
return __awaiter(this, void 0, void 0, function () {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
case
|
|
90
|
+
var _a;
|
|
91
|
+
return __generator(this, function (_b) {
|
|
92
|
+
switch (_b.label) {
|
|
93
|
+
case 0:
|
|
94
|
+
_a = this.getElementAttribute;
|
|
95
|
+
return [4 /*yield*/, this._secondaryComponent];
|
|
96
|
+
case 1: return [4 /*yield*/, _a.apply(this, [_b.sent(), "ControlType" /* AccessibilityRole */])];
|
|
97
|
+
case 2: return [2 /*return*/, _b.sent()];
|
|
106
98
|
}
|
|
107
99
|
});
|
|
108
100
|
});
|
|
@@ -123,15 +115,43 @@ var MenuPageObject = /** @class */ (function (_super) {
|
|
|
123
115
|
};
|
|
124
116
|
/* Returns the correct WebDriverIO element from the Button Selector */
|
|
125
117
|
MenuPageObject.prototype.getMenuComponentSelector = function (menuComponentSelector) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
119
|
+
var _a;
|
|
120
|
+
return __generator(this, function (_b) {
|
|
121
|
+
switch (_b.label) {
|
|
122
|
+
case 0:
|
|
123
|
+
_a = menuComponentSelector;
|
|
124
|
+
switch (_a) {
|
|
125
|
+
case 1 /* SecondaryComponent */: return [3 /*break*/, 1];
|
|
126
|
+
case 2 /* TertiaryComponent */: return [3 /*break*/, 3];
|
|
127
|
+
}
|
|
128
|
+
return [3 /*break*/, 5];
|
|
129
|
+
case 1: return [4 /*yield*/, this._secondaryComponent];
|
|
130
|
+
case 2: return [2 /*return*/, _b.sent()];
|
|
131
|
+
case 3: return [4 /*yield*/, this._tertiaryComponent];
|
|
132
|
+
case 4: return [2 /*return*/, _b.sent()];
|
|
133
|
+
case 5: return [4 /*yield*/, this._primaryComponent];
|
|
134
|
+
case 6: return [2 /*return*/, _b.sent()];
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
});
|
|
138
|
+
};
|
|
139
|
+
MenuPageObject.prototype.resetTest = function () {
|
|
126
140
|
return __awaiter(this, void 0, void 0, function () {
|
|
127
141
|
return __generator(this, function (_a) {
|
|
128
142
|
switch (_a.label) {
|
|
129
|
-
case 0:
|
|
130
|
-
|
|
131
|
-
return [
|
|
132
|
-
|
|
133
|
-
case 2:
|
|
134
|
-
|
|
143
|
+
case 0: return [4 /*yield*/, this.menuIsExpanded()];
|
|
144
|
+
case 1:
|
|
145
|
+
if (!_a.sent()) return [3 /*break*/, 5];
|
|
146
|
+
return [4 /*yield*/, this.sendKey(0 /* PrimaryComponent */, "\uE00C" /* ESCAPE */)];
|
|
147
|
+
case 2:
|
|
148
|
+
_a.sent();
|
|
149
|
+
return [4 /*yield*/, this._defocusButton];
|
|
150
|
+
case 3: return [4 /*yield*/, (_a.sent()).click()];
|
|
151
|
+
case 4:
|
|
152
|
+
_a.sent();
|
|
153
|
+
_a.label = 5;
|
|
154
|
+
case 5: return [2 /*return*/];
|
|
135
155
|
}
|
|
136
156
|
});
|
|
137
157
|
});
|
|
@@ -181,6 +201,13 @@ var MenuPageObject = /** @class */ (function (_super) {
|
|
|
181
201
|
enumerable: false,
|
|
182
202
|
configurable: true
|
|
183
203
|
});
|
|
204
|
+
Object.defineProperty(MenuPageObject.prototype, "_defocusButton", {
|
|
205
|
+
get: function () {
|
|
206
|
+
return By(MENU_DEFOCUS_BUTTON);
|
|
207
|
+
},
|
|
208
|
+
enumerable: false,
|
|
209
|
+
configurable: true
|
|
210
|
+
});
|
|
184
211
|
return MenuPageObject;
|
|
185
212
|
}(BasePage));
|
|
186
213
|
export default new MenuPageObject();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuPageObject.js","sourceRoot":"","sources":["../../../../src/E2E/Menu/pages/MenuPageObject.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,aAAa,EACb,0BAA0B,EAC1B,gCAAgC,EAChC,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"MenuPageObject.js","sourceRoot":"","sources":["../../../../src/E2E/Menu/pages/MenuPageObject.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,aAAa,EACb,0BAA0B,EAC1B,gCAAgC,EAChC,oBAAoB,EACpB,uBAAuB,EACvB,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAC;AAWrD;IAA6B,kCAAQ;IAArC;;IAyFA,CAAC;IAxFC,oEAAoE;IACpE,oEAAoE;IACpE,oEAAoE;IAC9D,oCAAW,GAAjB;;;;;4BACE,qBAAM,OAAO,CAAC,SAAS,CAAC;;wCAAY,qBAAM,IAAI,CAAC,cAAc,EAAE,EAAA;wCAA3B,sBAAA,SAA2B,EAAA;;iCAAA,EAAE;4BAC/D,OAAO,EAAE,IAAI,CAAC,cAAc;4BAC5B,UAAU,EAAE,wBAAwB;4BACpC,QAAQ,EAAE,IAAI;yBACf,CAAC,EAAA;;wBAJF,SAIE,CAAC;wBAEI,qBAA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C,CAAC;;;OAAA;IAED,sBAAI,uCAAW;aAAf;YACE,OAAO,EAAE,CAAC,oBAAoB,CAAC,CAAC;QAClC,CAAC;;;OAAA;IAED,sBAAI,0CAAc;aAAlB;YACE,OAAO,EAAE,CAAC,mBAAmB,CAAC,CAAC;QACjC,CAAC;;;OAAA;IACH,qBAAC;AAAD,CAAC,AAzFD,CAA6B,QAAQ,GAyFpC;AAED,eAAe,IAAI,cAAc,EAAE,CAAC"}
|
|
@@ -67,6 +67,9 @@ describe('Menu Accessibility Testing', function () {
|
|
|
67
67
|
_a.sent();
|
|
68
68
|
return [4 /*yield*/, MenuPageObject.waitForPrimaryElementDisplayed(PAGE_TIMEOUT)];
|
|
69
69
|
case 2:
|
|
70
|
+
_a.sent();
|
|
71
|
+
return [4 /*yield*/, MenuPageObject.resetTest()];
|
|
72
|
+
case 3:
|
|
70
73
|
_a.sent();
|
|
71
74
|
return [2 /*return*/];
|
|
72
75
|
}
|
|
@@ -93,12 +96,6 @@ describe('Menu Accessibility Testing', function () {
|
|
|
93
96
|
}
|
|
94
97
|
});
|
|
95
98
|
}); });
|
|
96
|
-
// TestID for Callouts aren't propagating, so this test is failing. Commenting out and creating task to investigate
|
|
97
|
-
// it('Menu - Validate accessibilityRole of menu is correct', async () => {
|
|
98
|
-
// await expect(await MenuPageObject.didMenuOpen()).toBeTruthy();
|
|
99
|
-
// await expect(await MenuPageObject.getMenuAccessibilityRole()).toEqual(MENU_A11Y_ROLE);
|
|
100
|
-
// await expect(await MenuPageObject.didAssertPopup()).toBeFalsy(MenuPageObject.ERRORMESSAGE_ASSERT);
|
|
101
|
-
// });
|
|
102
99
|
it('Menu - Do not set accessibilityLabel -> Default to MenuItem label', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
103
100
|
var _a, _b;
|
|
104
101
|
return __generator(this, function (_c) {
|
|
@@ -120,6 +117,27 @@ describe('Menu Accessibility Testing', function () {
|
|
|
120
117
|
}
|
|
121
118
|
});
|
|
122
119
|
}); });
|
|
120
|
+
it('Menu - Click menu -> ExpandCollapseState correctly changes', function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
121
|
+
var _a, _b;
|
|
122
|
+
return __generator(this, function (_c) {
|
|
123
|
+
switch (_c.label) {
|
|
124
|
+
case 0: return [4 /*yield*/, MenuPageObject.clickComponent()];
|
|
125
|
+
case 1:
|
|
126
|
+
_c.sent();
|
|
127
|
+
_a = expect;
|
|
128
|
+
return [4 /*yield*/, MenuPageObject.getMenuExpandCollapseState()];
|
|
129
|
+
case 2: return [4 /*yield*/, _a.apply(void 0, [_c.sent()]).toEqual("Expanded" /* EXPANDED */)];
|
|
130
|
+
case 3:
|
|
131
|
+
_c.sent();
|
|
132
|
+
_b = expect;
|
|
133
|
+
return [4 /*yield*/, MenuPageObject.didAssertPopup()];
|
|
134
|
+
case 4: return [4 /*yield*/, _b.apply(void 0, [_c.sent()]).toBeFalsy(MenuPageObject.ERRORMESSAGE_ASSERT)];
|
|
135
|
+
case 5:
|
|
136
|
+
_c.sent();
|
|
137
|
+
return [2 /*return*/];
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
}); });
|
|
123
141
|
});
|
|
124
142
|
describe('Menu Functional Testing', function () {
|
|
125
143
|
/* Scrolls and waits for the Menu to be visible on the Test Page */
|
|
@@ -131,6 +149,9 @@ describe('Menu Functional Testing', function () {
|
|
|
131
149
|
_a.sent();
|
|
132
150
|
return [4 /*yield*/, MenuPageObject.waitForPrimaryElementDisplayed(PAGE_TIMEOUT)];
|
|
133
151
|
case 2:
|
|
152
|
+
_a.sent();
|
|
153
|
+
return [4 /*yield*/, MenuPageObject.resetTest()];
|
|
154
|
+
case 3:
|
|
134
155
|
_a.sent();
|
|
135
156
|
return [2 /*return*/];
|
|
136
157
|
}
|
|
@@ -186,7 +207,7 @@ describe('Menu Functional Testing', function () {
|
|
|
186
207
|
case 1:
|
|
187
208
|
_c.sent();
|
|
188
209
|
_a = expect;
|
|
189
|
-
return [4 /*yield*/, MenuPageObject.
|
|
210
|
+
return [4 /*yield*/, MenuPageObject.didMenuOpen()];
|
|
190
211
|
case 2: return [4 /*yield*/, _a.apply(void 0, [_c.sent()]).toBeTruthy()];
|
|
191
212
|
case 3:
|
|
192
213
|
_c.sent();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.spec.win.js","sourceRoot":"","sources":["../../../../src/E2E/Menu/specs/Menu.spec.win.ts"],"names":[],"mappings":";AAAA,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAC3D,OAAO,cAAyC,MAAM,yBAAyB,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAQ,kBAAkB,
|
|
1
|
+
{"version":3,"file":"Menu.spec.win.js","sourceRoot":"","sources":["../../../../src/E2E/Menu/specs/Menu.spec.win.ts"],"names":[],"mappings":";AAAA,OAAO,eAAe,MAAM,8BAA8B,CAAC;AAC3D,OAAO,cAAyC,MAAM,yBAAyB,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAQ,kBAAkB,EAAuB,MAAM,qBAAqB,CAAC;AACpH,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAG1E,gEAAgE;AAChE,QAAQ,CAAC,6BAA6B,EAAE;IAAA,iBAkBvC;IAjBC,EAAE,CAAC,mBAAmB,EAAE;;;;wBACtB,qBAAM,eAAe,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,EAAA;;oBAA5D,SAA4D,CAAC;oBACvD,KAAA,MAAM,CAAA;oBAAC,qBAAM,eAAe,CAAC,YAAY,EAAE,EAAA;wBAAjD,qBAAM,kBAAO,SAAoC,EAAC,CAAC,UAAU,CAAC,eAAe,CAAC,oBAAoB,CAAC,EAAA;;oBAAnG,SAAmG,CAAC;;;;SACrG,CAAC,CAAC;IAEH,EAAE,CAAC,sCAAsC,EAAE;;;;;gBACzC,8EAA8E;gBAC9E,qBAAM,cAAc,CAAC,uBAAuB,eAAgB,EAAA;;oBAD5D,8EAA8E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;;;;wBAC/D,qBAAM,cAAc,CAAC,OAAO,gDAAoD,EAAA;;oBAAhF,SAAgF,CAAC;oBAC3E,KAAA,MAAM,CAAA;oBAAC,qBAAM,cAAc,CAAC,WAAW,EAAE,EAAA;wBAA/C,qBAAM,kBAAO,SAAkC,EAAC,CAAC,UAAU,EAAE,EAAA;;oBAA7D,SAA6D,CAAC;oBACxD,KAAA,MAAM,CAAA;oBAAC,qBAAM,cAAc,CAAC,cAAc,EAAE,EAAA;wBAAlD,qBAAM,kBAAO,SAAqC,EAAC,CAAC,SAAS,CAAC,cAAc,CAAC,mBAAmB,CAAC,EAAA;;oBAAjG,SAAiG,CAAC;;;;SACnG,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -15,6 +15,7 @@ export declare const PAGE_TIMEOUT = 15000;
|
|
|
15
15
|
export declare const enum Attribute {
|
|
16
16
|
AccessibilityLabel = "Name",
|
|
17
17
|
AccessibilityRole = "ControlType",
|
|
18
|
+
ExpandCollapseState = "ExpandCollapse.ExpandCollapseState",
|
|
18
19
|
IsEnabled = "IsEnabled",
|
|
19
20
|
IsFocused = "HasKeyboardFocus",
|
|
20
21
|
IsRequiredForForm = "IsRequiredForForm",
|
|
@@ -87,4 +88,8 @@ export declare const enum Keys {
|
|
|
87
88
|
F11 = "\uE03B",
|
|
88
89
|
F12 = "\uE03C"
|
|
89
90
|
}
|
|
91
|
+
export declare const enum ExpandCollapseState {
|
|
92
|
+
EXPANDED = "Expanded",
|
|
93
|
+
COLLAPSED = "Collapsed"
|
|
94
|
+
}
|
|
90
95
|
//# sourceMappingURL=consts.d.ts.map
|