@@ -272,11 +272,6 @@ describe("Keyboard interaction when pressing Ctrl + Alt + F8 for navigation", ()
272
272
. find ( "input" )
273
273
. as ( "innerInput" ) ;
274
274
275
- cy . get ( "@multi-combobox" )
276
- . shadow ( )
277
- . find ( "ui5-responsive-popover" )
278
- . as ( "popover" ) ;
279
-
280
275
// open the popover
281
276
cy . get ( "@multi-combobox" )
282
277
. realClick ( )
@@ -285,8 +280,10 @@ describe("Keyboard interaction when pressing Ctrl + Alt + F8 for navigation", ()
285
280
// focus the fisrt item
286
281
cy . realPress ( "F4" ) ;
287
282
288
- cy . get ( "@popover" )
289
- . should ( "have.attr" , "open" ) ;
283
+ cy . get ( "@multi-combobox" )
284
+ . shadow ( )
285
+ . find < ResponsivePopover > ( "ui5-responsive-popover" )
286
+ . ui5ResponsivePopoverOpened ( )
290
287
291
288
cy . get ( "ui5-mcb-item" )
292
289
. eq ( 0 )
@@ -416,7 +413,7 @@ describe("MultiComboBox RTL/LTR Arrow Navigation", () => {
416
413
417
414
cy . get ( "@mcb" )
418
415
. should ( "be.focused" ) ;
419
-
416
+
420
417
cy . get ( "@mcb" )
421
418
. shadow ( )
422
419
. find ( "input" )
@@ -430,7 +427,7 @@ describe("MultiComboBox RTL/LTR Arrow Navigation", () => {
430
427
expect ( ( $input [ 0 ] as HTMLInputElement ) . selectionStart ) . to . equal ( 0 ) ;
431
428
} ) ;
432
429
433
- cy . get ( "@mcb" ) . realPress ( "ArrowLeft" ) ;
430
+ cy . get ( "@mcb" ) . realPress ( "ArrowLeft" ) ;
434
431
cy . focused ( ) . should ( "have.class" , "ui5-token--wrapper" ) ;
435
432
} ) ;
436
433
@@ -480,7 +477,7 @@ describe("MultiComboBox RTL/LTR Arrow Navigation", () => {
480
477
cy . get ( "[ui5-multi-combobox]" )
481
478
. as ( "mcb" )
482
479
. realClick ( )
483
-
480
+
484
481
cy . get ( "@mcb" )
485
482
. should ( "be.focused" )
486
483
. realPress ( "ArrowRight" ) ;
@@ -514,7 +511,7 @@ describe("MultiComboBox RTL/LTR Arrow Navigation", () => {
514
511
cy . get ( "[ui5-multi-combobox]" )
515
512
. as ( "mcb" )
516
513
. realClick ( ) ;
517
-
514
+
518
515
cy . get ( "@mcb" )
519
516
. should ( "be.focused" )
520
517
. realPress ( "ArrowLeft" ) ;
@@ -525,7 +522,7 @@ describe("MultiComboBox RTL/LTR Arrow Navigation", () => {
525
522
. find ( "[ui5-token]" )
526
523
. last ( )
527
524
. realPress ( "ArrowRight" ) ;
528
-
525
+
529
526
cy . focused ( ) . should ( "not.have.class" , "ui5-token--wrapper" ) ;
530
527
} ) ;
531
528
@@ -552,7 +549,7 @@ describe("MultiComboBox RTL/LTR Arrow Navigation", () => {
552
549
. as ( "input" )
553
550
. realClick ( )
554
551
. should ( "have.focus" )
555
-
552
+
556
553
cy . get ( "@input" )
557
554
. should ( "have.value" , "" )
558
555
. should ( ( $input ) => {
0 commit comments