@@ -63,7 +63,7 @@ describe('dropdown', () => {
63
63
expect($button.classes()).toContain('dropdown-toggle')
64
64
expect($button.classes().length).toBe(3)
65
65
expect($button.attributes('aria-haspopup')).toBeDefined()
66
-
expect($button.attributes('aria-haspopup')).toEqual('true')
66
+
expect($button.attributes('aria-haspopup')).toEqual('menu')
67
67
expect($button.attributes('aria-expanded')).toBeDefined()
68
68
expect($button.attributes('aria-expanded')).toEqual('false')
69
69
expect($button.attributes('id')).toBeDefined()
@@ -125,7 +125,7 @@ describe('dropdown', () => {
125
125
expect($toggle.classes()).toContain('dropdown-toggle-split')
126
126
expect($toggle.classes().length).toBe(4)
127
127
expect($toggle.attributes('aria-haspopup')).toBeDefined()
128
-
expect($toggle.attributes('aria-haspopup')).toEqual('true')
128
+
expect($toggle.attributes('aria-haspopup')).toEqual('menu')
129
129
expect($toggle.attributes('aria-expanded')).toBeDefined()
130
130
expect($toggle.attributes('aria-expanded')).toEqual('false')
131
131
expect($toggle.attributes('id')).toBeDefined()
@@ -551,7 +551,7 @@ describe('dropdown', () => {
551
551
expect($dropdown.vm).toBeDefined()
552
552
553
553
expect($toggle.attributes('aria-haspopup')).toBeDefined()
554
-
expect($toggle.attributes('aria-haspopup')).toEqual('true')
554
+
expect($toggle.attributes('aria-haspopup')).toEqual('menu')
555
555
expect($toggle.attributes('aria-expanded')).toBeDefined()
556
556
expect($toggle.attributes('aria-expanded')).toEqual('false')
557
557
expect($dropdown.classes()).not.toContain('show')
@@ -564,7 +564,7 @@ describe('dropdown', () => {
564
564
await waitNT(wrapper.vm)
565
565
566
566
expect($toggle.attributes('aria-haspopup')).toBeDefined()
567
-
expect($toggle.attributes('aria-haspopup')).toEqual('true')
567
+
expect($toggle.attributes('aria-haspopup')).toEqual('menu')
568
568
expect($toggle.attributes('aria-expanded')).toBeDefined()
569
569
expect($toggle.attributes('aria-expanded')).toEqual('true')
570
570
expect($dropdown.classes()).toContain('show')
@@ -754,7 +754,7 @@ describe('dropdown', () => {
754
754
const $dropdown = wrapper.find('.dropdown')
755
755
756
756
expect($toggle.attributes('aria-haspopup')).toBeDefined()
757
-
expect($toggle.attributes('aria-haspopup')).toEqual('true')
757
+
expect($toggle.attributes('aria-haspopup')).toEqual('menu')
758
758
expect($toggle.attributes('aria-expanded')).toBeDefined()
759
759
expect($toggle.attributes('aria-expanded')).toEqual('false')
760
760
expect($dropdown.classes()).not.toContain('show')
@@ -765,7 +765,7 @@ describe('dropdown', () => {
765
765
expect(wrapper.emitted('show')).toBeDefined()
766
766
expect(wrapper.emitted('show').length).toBe(1)
767
767
expect($toggle.attributes('aria-haspopup')).toBeDefined()
768
-
expect($toggle.attributes('aria-haspopup')).toEqual('true')
768
+
expect($toggle.attributes('aria-haspopup')).toEqual('menu')
769
769
expect($toggle.attributes('aria-expanded')).toBeDefined()
770
770
expect($toggle.attributes('aria-expanded')).toEqual('false')
771
771
expect($dropdown.classes()).not.toContain('show')
@@ -777,7 +777,7 @@ describe('dropdown', () => {
777
777
expect(wrapper.emitted('show')).toBeDefined()
778
778
expect(wrapper.emitted('show').length).toBe(2)
779
779
expect($toggle.attributes('aria-haspopup')).toBeDefined()
780
-
expect($toggle.attributes('aria-haspopup')).toEqual('true')
780
+
expect($toggle.attributes('aria-haspopup')).toEqual('menu')
781
781
expect($toggle.attributes('aria-expanded')).toBeDefined()
782
782
expect($toggle.attributes('aria-expanded')).toEqual('true')
783
783
expect($dropdown.classes()).toContain('show')
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4