File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -121,14 +121,14 @@ const testCases: TestsCase[] = [
121
121
) ;
122
122
// the customized space title
123
123
await expect (
124
- variantSelectionDropdown . getByRole ( 'link ' , {
124
+ variantSelectionDropdown . getByRole ( 'menuitem ' , {
125
125
name : 'Multi-Variants' ,
126
126
} )
127
127
) . toBeVisible ( ) ;
128
128
129
129
// the NON-customized space title
130
130
await expect (
131
- variantSelectionDropdown . getByRole ( 'link ' , {
131
+ variantSelectionDropdown . getByRole ( 'menuitem ' , {
132
132
name : 'RFCs' ,
133
133
} )
134
134
) . toBeVisible ( ) ;
@@ -155,7 +155,7 @@ const testCases: TestsCase[] = [
155
155
) ;
156
156
// Click the second variant in the dropdown
157
157
await variantSelectionDropdown
158
- . getByRole ( 'link ' , {
158
+ . getByRole ( 'menuitem ' , {
159
159
name : '2.0' ,
160
160
} )
161
161
. click ( ) ;
@@ -182,7 +182,7 @@ const testCases: TestsCase[] = [
182
182
183
183
// Click the second variant in the dropdown
184
184
await variantSelectionDropdown
185
- . getByRole ( 'link ' , {
185
+ . getByRole ( 'menuitem ' , {
186
186
name : '2.0' ,
187
187
} )
188
188
. click ( ) ;
@@ -223,7 +223,7 @@ const testCases: TestsCase[] = [
223
223
224
224
// Click the second variant in the dropdown
225
225
await variantSelectionDropdown
226
- . getByRole ( 'link ' , {
226
+ . getByRole ( 'menuitem ' , {
227
227
name : '2.0' ,
228
228
} )
229
229
. click ( ) ;
You can’t perform that action at this time.
0 commit comments