Created
December 20, 2019 21:38
-
-
Save nelsson/de6b48f8730c4d8ccad5475d16434581 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FAIL packages/bah-admin/src/modals/ModalUserForm/UserRoles/UserRoles.test.js (6.1s) | |
| ● Console | |
| console.warn node_modules/gsap/dist/gsap.js:93 | |
| Invalid Invalid scrollTo tween [object Object]. Missing plugin? gsap.registerPlugin() tween of undefined Missing plugin? gsap.registerPlugin() | |
| ● <UserRoles/> › renders without accessibility violations | |
| expect(received).toHaveNoViolations(expected) | |
| Expected the HTML found at $('.UserRoles-container-90 > .TextsWithCheck-root-96.UserRoles-option-93:nth-child(1) > label > .MuiButtonBase-root.MuiIconButton-root.PrivateSwitchBase-root-119 > .MuiIconButton-label > input') to have no violations: | |
| <input class="PrivateSwitchBase-input-122" type="checkbox" data-indeterminate="false" aria-label="checkBox" value=""> | |
| Received: | |
| "Form field must not have multiple label elements (form-field-multiple-labels)" | |
| Fix all of the following: | |
| Multiple label elements is not widely supported in assistive technologies | |
| You can find more information on this issue here: | |
| https://dequeuniversity.com/rules/axe/3.3/form-field-multiple-labels?application=axeAPI | |
| Expected the HTML found at $('.TextsWithCheck-root-96.UserRoles-option-93:nth-child(2) > label > .MuiButtonBase-root.MuiIconButton-root.PrivateSwitchBase-root-119 > .MuiIconButton-label > input') to have no violations: | |
| <input class="PrivateSwitchBase-input-122" type="checkbox" data-indeterminate="false" aria-label="checkBox" value=""> | |
| Received: | |
| "Form field must not have multiple label elements (form-field-multiple-labels)" | |
| Fix all of the following: | |
| Multiple label elements is not widely supported in assistive technologies | |
| You can find more information on this issue here: | |
| https://dequeuniversity.com/rules/axe/3.3/form-field-multiple-labels?application=axeAPI | |
| Expected the HTML found at $('.TextsWithCheck-root-96.UserRoles-option-93:nth-child(3) > label > .MuiButtonBase-root.MuiIconButton-root.PrivateSwitchBase-root-119 > .MuiIconButton-label > input') to have no violations: | |
| <input class="PrivateSwitchBase-input-122" type="checkbox" data-indeterminate="false" aria-label="checkBox" value=""> | |
| Received: | |
| "Form field must not have multiple label elements (form-field-multiple-labels)" | |
| Fix all of the following: | |
| Multiple label elements is not widely supported in assistive technologies | |
| You can find more information on this issue here: | |
| https://dequeuniversity.com/rules/axe/3.3/form-field-multiple-labels?application=axeAPI | |
| Expected the HTML found at $('.TextsWithCheck-root-96.UserRoles-option-93:nth-child(4) > label > .MuiButtonBase-root.MuiIconButton-root.PrivateSwitchBase-root-119 > .MuiIconButton-label > input') to have no violations: | |
| <input class="PrivateSwitchBase-input-122" type="checkbox" data-indeterminate="false" aria-label="checkBox" value=""> | |
| Received: | |
| "Form field must not have multiple label elements (form-field-multiple-labels)" | |
| Fix all of the following: | |
| Multiple label elements is not widely supported in assistive technologies | |
| You can find more information on this issue here: | |
| https://dequeuniversity.com/rules/axe/3.3/form-field-multiple-labels?application=axeAPI | |
| Expected the HTML found at $('.UserRoles-customContainer-91 > .TextsWithCheck-root-96.UserRoles-option-93 > label > .MuiButtonBase-root.MuiIconButton-root.PrivateSwitchBase-root-119 > .MuiIconButton-label > input') to have no violations: | |
| <input class="PrivateSwitchBase-input-122" type="checkbox" data-indeterminate="false" aria-label="checkBox" value=""> | |
| Received: | |
| "Form field must not have multiple label elements (form-field-multiple-labels)" | |
| Fix all of the following: | |
| Multiple label elements is not widely supported in assistive technologies | |
| You can find more information on this issue here: | |
| https://dequeuniversity.com/rules/axe/3.3/form-field-multiple-labels?application=axeAPI | |
| 42 | const html = baseElement.outerHTML | |
| 43 | cleanup() | |
| > 44 | expect(await axe(html)).toHaveNoViolations() | |
| | ^ | |
| 45 | }) | |
| 46 | }) | |
| 47 | | |
| at toHaveNoViolations (packages/bah-admin/src/modals/ModalUserForm/UserRoles/UserRoles.test.js:44:29) | |
| at tryCatch (node_modules/regenerator-runtime/runtime.js:45:40) | |
| at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:271:22) | |
| at Generator.prototype.(anonymous function) [as next] (node_modules/regenerator-runtime/runtime.js:97:21) | |
| at tryCatch (node_modules/regenerator-runtime/runtime.js:45:40) | |
| at invoke (node_modules/regenerator-runtime/runtime.js:135:20) | |
| at node_modules/regenerator-runtime/runtime.js:145:13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment