@@ -63,7 +63,7 @@ describe('dropdown', () => {
6363 expect ( $button . classes ( ) ) . toContain ( 'dropdown-toggle' )
6464 expect ( $button . classes ( ) . length ) . toBe ( 3 )
6565 expect ( $button . attributes ( 'aria-haspopup' ) ) . toBeDefined ( )
66- expect ( $button . attributes ( 'aria-haspopup' ) ) . toEqual ( 'true ' )
66+ expect ( $button . attributes ( 'aria-haspopup' ) ) . toEqual ( 'menu ' )
6767 expect ( $button . attributes ( 'aria-expanded' ) ) . toBeDefined ( )
6868 expect ( $button . attributes ( 'aria-expanded' ) ) . toEqual ( 'false' )
6969 expect ( $button . attributes ( 'id' ) ) . toBeDefined ( )
@@ -125,7 +125,7 @@ describe('dropdown', () => {
125125 expect ( $toggle . classes ( ) ) . toContain ( 'dropdown-toggle-split' )
126126 expect ( $toggle . classes ( ) . length ) . toBe ( 4 )
127127 expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toBeDefined ( )
128- expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'true ' )
128+ expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'menu ' )
129129 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toBeDefined ( )
130130 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toEqual ( 'false' )
131131 expect ( $toggle . attributes ( 'id' ) ) . toBeDefined ( )
@@ -551,7 +551,7 @@ describe('dropdown', () => {
551551 expect ( $dropdown . vm ) . toBeDefined ( )
552552
553553 expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toBeDefined ( )
554- expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'true ' )
554+ expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'menu ' )
555555 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toBeDefined ( )
556556 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toEqual ( 'false' )
557557 expect ( $dropdown . classes ( ) ) . not . toContain ( 'show' )
@@ -564,7 +564,7 @@ describe('dropdown', () => {
564564 await waitNT ( wrapper . vm )
565565
566566 expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toBeDefined ( )
567- expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'true ' )
567+ expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'menu ' )
568568 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toBeDefined ( )
569569 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toEqual ( 'true' )
570570 expect ( $dropdown . classes ( ) ) . toContain ( 'show' )
@@ -754,7 +754,7 @@ describe('dropdown', () => {
754754 const $dropdown = wrapper . find ( '.dropdown' )
755755
756756 expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toBeDefined ( )
757- expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'true ' )
757+ expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'menu ' )
758758 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toBeDefined ( )
759759 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toEqual ( 'false' )
760760 expect ( $dropdown . classes ( ) ) . not . toContain ( 'show' )
@@ -765,7 +765,7 @@ describe('dropdown', () => {
765765 expect ( wrapper . emitted ( 'show' ) ) . toBeDefined ( )
766766 expect ( wrapper . emitted ( 'show' ) . length ) . toBe ( 1 )
767767 expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toBeDefined ( )
768- expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'true ' )
768+ expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'menu ' )
769769 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toBeDefined ( )
770770 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toEqual ( 'false' )
771771 expect ( $dropdown . classes ( ) ) . not . toContain ( 'show' )
@@ -777,7 +777,7 @@ describe('dropdown', () => {
777777 expect ( wrapper . emitted ( 'show' ) ) . toBeDefined ( )
778778 expect ( wrapper . emitted ( 'show' ) . length ) . toBe ( 2 )
779779 expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toBeDefined ( )
780- expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'true ' )
780+ expect ( $toggle . attributes ( 'aria-haspopup' ) ) . toEqual ( 'menu ' )
781781 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toBeDefined ( )
782782 expect ( $toggle . attributes ( 'aria-expanded' ) ) . toEqual ( 'true' )
783783 expect ( $dropdown . classes ( ) ) . toContain ( 'show' )
0 commit comments