Created
May 8, 2024 15:06
-
-
Save nickboldt/ced0d75907a81f3e3cd9e23b26d0f543 to your computer and use it in GitHub Desktop.
1.26.x yarn test
This file contains 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
@janus-idp/backstage-plugin-rbac:test: Summary of all failing tests | |
@janus-idp/backstage-plugin-rbac:test: FAIL components/RolesList/DeleteRoleDialog.test.tsx (17.47 s) | |
@janus-idp/backstage-plugin-rbac:test: ● DeleteRoleDialog › enables the delete button when the role name is correctly entered | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: expect(element).not.toBeDisabled() | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: Received element is disabled: | |
@janus-idp/backstage-plugin-rbac:test: <button class="MuiButtonBase-root MuiButton-root MuiButton-contained Mui-disabled Mui-disabled" disabled="" tabindex="-1" type="button" /> | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: Ignored nodes: comments, script, style | |
@janus-idp/backstage-plugin-rbac:test: <html> | |
@janus-idp/backstage-plugin-rbac:test: <head /> | |
@janus-idp/backstage-plugin-rbac:test: <body | |
@janus-idp/backstage-plugin-rbac:test: style="padding-right: 0px; overflow: hidden;" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: aria-hidden="true" | |
@janus-idp/backstage-plugin-rbac:test: /> | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: class="MuiDialog-root" | |
@janus-idp/backstage-plugin-rbac:test: role="presentation" | |
@janus-idp/backstage-plugin-rbac:test: style="position: fixed; z-index: 1300; right: 0px; bottom: 0px; top: 0px; left: 0px;" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: aria-hidden="true" | |
@janus-idp/backstage-plugin-rbac:test: class="MuiBackdrop-root" | |
@janus-idp/backstage-plugin-rbac:test: style="opacity: 1; webkit-transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;" | |
@janus-idp/backstage-plugin-rbac:test: /> | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: data-test="sentinelStart" | |
@janus-idp/backstage-plugin-rbac:test: tabindex="0" | |
@janus-idp/backstage-plugin-rbac:test: /> | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: class="MuiDialog-container MuiDialog-scrollPaper" | |
@janus-idp/backstage-plugin-rbac:test: role="none presentation" | |
@janus-idp/backstage-plugin-rbac:test: style="opacity: 1; webkit-transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;" | |
@janus-idp/backstage-plugin-rbac:test: tabindex="-1" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: class="MuiPaper-root MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthMd MuiPaper-elevation24 MuiPaper-rounded" | |
@janus-idp/backstage-plugin-rbac:test: role="dialog" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: class="MuiDialogTitle-root" | |
@janus-idp/backstage-plugin-rbac:test: id="delete-role" | |
@janus-idp/backstage-plugin-rbac:test: title="Delete Role" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <h2 | |
@janus-idp/backstage-plugin-rbac:test: class="MuiTypography-root MuiTypography-h6" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: class="MuiBox-root MuiBox-root-12 makeStyles-titleContainer-10" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <span | |
@janus-idp/backstage-plugin-rbac:test: style="font-weight: bold;" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <svg | |
@janus-idp/backstage-plugin-rbac:test: aria-hidden="true" | |
@janus-idp/backstage-plugin-rbac:test: class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall" | |
@janus-idp/backstage-plugin-rbac:test: focusable="false" | |
@janus-idp/backstage-plugin-rbac:test: style="color: red; align-content: center; margin-top: 7px; margin-bottom: -3px;" | |
@janus-idp/backstage-plugin-rbac:test: viewBox="0 0 24 24" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <path | |
@janus-idp/backstage-plugin-rbac:test: d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" | |
@janus-idp/backstage-plugin-rbac:test: /> | |
@janus-idp/backstage-plugin-rbac:test: </svg> | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: Delete this role? | |
@janus-idp/backstage-plugin-rbac:test: </span> | |
@janus-idp/backstage-plugin-rbac:test: <button | |
@janus-idp/backstage-plugin-rbac:test: aria-label="close" | |
@janus-idp/backstage-plugin-rbac:test: class="MuiButtonBase-root MuiIconButton-root makeStyles-closeButton-11" | |
@janus-idp/backstage-plugin-rbac:test: tabindex="0" | |
@janus-idp/backstage-plugin-rbac:test: type="button" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <span | |
@janus-idp/backstage-plugin-rbac:test: class="MuiIconButton-label" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <svg | |
@janus-idp/backstage-plugin-rbac:test: aria-hidden="true" | |
@janus-idp/backstage-plugin-rbac:test: class="MuiSvgIcon-root" | |
@janus-idp/backstage-plugin-rbac:test: focusable="false" | |
@janus-idp/backstage-plugin-rbac:test: viewBox="0 0 24 24" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <path | |
@janus-idp/backstage-plugin-rbac:test: d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" | |
@janus-idp/backstage-plugin-rbac:test: /> | |
@janus-idp/backstage-plugin-rbac:test: </svg> | |
@janus-idp/backstage-plugin-rbac:test: </span> | |
@janus-idp/backstage-plugin-rbac:test: <span | |
@janus-idp/backstage-plugin-rbac:test: class="MuiTouchRipple-root" | |
@janus-idp/backstage-plugin-rbac:test: /> | |
@janus-idp/backstage-plugin-rbac:test: </button> | |
@janus-idp/backstage-plugin-rbac:test: </div> | |
@janus-idp/backstage-plugin-rbac:test: </h2> | |
@janus-idp/backstage-plugin-rbac:test: </div> | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: class="MuiDialogContent-root" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: Are you sure you want to delete the role | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: <span | |
@janus-idp/backstage-plugin-rbac:test: style="font-weight: bold;" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: Test Role | |
@janus-idp/backstage-plugin-rbac:test: </span> | |
@janus-idp/backstage-plugin-rbac:test: ? | |
@janus-idp/backstage-plugin-rbac:test: <br /> | |
@janus-idp/backstage-plugin-rbac:test: <br /> | |
@janus-idp/backstage-plugin-rbac:test: Deleting this role is irreversible and will remove its functionality from the system. Proceed with caution. | |
@janus-idp/backstage-plugin-rbac:test: <br /> | |
@janus-idp/backstage-plugin-rbac:test: <br /> | |
@janus-idp/backstage-plugin-rbac:test: The | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: <span | |
@janus-idp/backstage-plugin-rbac:test: style="font-weight: bold;" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: no members | |
@janus-idp/backstage-plugin-rbac:test: </span> | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: associated with this role will lose access to all the | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: <span | |
@janus-idp/backstage-plugin-rbac:test: style="font-weight: bold;" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: 0 permission policies | |
@janus-idp/backstage-plugin-rbac:test: </span> | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: specified in this role. | |
@janus-idp/backstage-plugin-rbac:test: <br /> | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: class="MuiFormControl-root MuiTextField-root" | |
@janus-idp/backstage-plugin-rbac:test: data-testid="delete-role" | |
@janus-idp/backstage-plugin-rbac:test: style="margin-top: 24px;" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <label | |
@janus-idp/backstage-plugin-rbac:test: class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-outlined MuiFormLabel-filled Mui-focused Mui-focused Mui-required Mui-required" | |
@janus-idp/backstage-plugin-rbac:test: data-shrink="true" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: Role name | |
@janus-idp/backstage-plugin-rbac:test: <span | |
@janus-idp/backstage-plugin-rbac:test: aria-hidden="true" | |
@janus-idp/backstage-plugin-rbac:test: class="MuiFormLabel-asterisk MuiInputLabel-asterisk" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: * | |
@janus-idp/backstage-plugin-rbac:test: </span> | |
@janus-idp/backstage-plugin-rbac:test: </label> | |
@janus-idp/backstage-plugin-rbac:test: <div | |
@janus-idp/backstage-plugin-rbac:test: class="MuiInputBase-root MuiOutlinedInput-root Mui-focused Mui-focused MuiInputBase-formControl" | |
@janus-idp/backstage-plugin-rbac:test: > | |
@janus-idp/backstage-plugin-rbac:test: <input | |
@janus-idp/backstage-plugin-rbac:test: aria-invalid="false" | |
@janus-idp/backstage-plugin-rbac:test: class="MuiInputBase-input MuiOutlinedInput-input" | |
@janus-idp/backstage-plugin-rbac:test: name="delete-role" | |
@janus-idp/backstage-plugin-rbac:test: required="" | |
@janus-idp/backstage-plugin-rbac:test: ... | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: 66 | const deleteButton = screen.getByRole('button', { name: /Delete/i }); | |
@janus-idp/backstage-plugin-rbac:test: 67 | await waitFor(() => { | |
@janus-idp/backstage-plugin-rbac:test: > 68 | expect(deleteButton).not.toBeDisabled(); | |
@janus-idp/backstage-plugin-rbac:test: | ^ | |
@janus-idp/backstage-plugin-rbac:test: 69 | }); | |
@janus-idp/backstage-plugin-rbac:test: 70 | }); | |
@janus-idp/backstage-plugin-rbac:test: 71 | | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: at toBeDisabled (components/RolesList/DeleteRoleDialog.test.tsx:68:32) | |
@janus-idp/backstage-plugin-rbac:test: at runWithExpensiveErrorDiagnosticsDisabled (../../../node_modules/@testing-library/dom/dist/config.js:47:12) | |
@janus-idp/backstage-plugin-rbac:test: at checkCallback (../../../node_modules/@testing-library/dom/dist/wait-for.js:124:77) | |
@janus-idp/backstage-plugin-rbac:test: at checkRealTimersCallback (../../../node_modules/@testing-library/dom/dist/wait-for.js:118:16) | |
@janus-idp/backstage-plugin-rbac:test: at Timeout.task [as _onTimeout] (../../../node_modules/jsdom/lib/jsdom/browser/Window.js:520:19) | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: ● DeleteRoleDialog › shows an error when the deletion fails | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: Unable to perform pointer interaction as the element has `pointer-events: none`: | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: BUTTON(label=Delete) | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: 98 | | |
@janus-idp/backstage-plugin-rbac:test: 99 | const deleteButton = screen.getByRole('button', { name: /Delete/i }); | |
@janus-idp/backstage-plugin-rbac:test: > 100 | await user.click(deleteButton); | |
@janus-idp/backstage-plugin-rbac:test: | ^ | |
@janus-idp/backstage-plugin-rbac:test: 101 | await waitFor(() => { | |
@janus-idp/backstage-plugin-rbac:test: 102 | expect( | |
@janus-idp/backstage-plugin-rbac:test: 103 | screen.queryByText(/Unable to delete the role/i), | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: at Object.assertPointerEvents (../../../node_modules/@testing-library/user-event/dist/cjs/utils/pointer/cssPointerEvents.js:49:15) | |
@janus-idp/backstage-plugin-rbac:test: at Object.enter (../../../node_modules/@testing-library/user-event/dist/cjs/system/pointer/pointer.js:60:34) | |
@janus-idp/backstage-plugin-rbac:test: at PointerHost.move (../../../node_modules/@testing-library/user-event/dist/cjs/system/pointer/index.js:52:79) | |
@janus-idp/backstage-plugin-rbac:test: at pointerAction (../../../node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:67:39) | |
@janus-idp/backstage-plugin-rbac:test: at Object.pointer (../../../node_modules/@testing-library/user-event/dist/cjs/pointer/index.js:35:15) | |
@janus-idp/backstage-plugin-rbac:test: at Object.asyncWrapper (../../../node_modules/@testing-library/react/dist/pure.js:88:22) | |
@janus-idp/backstage-plugin-rbac:test: at Object.<anonymous> (components/RolesList/DeleteRoleDialog.test.tsx:100:5) | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: | |
@janus-idp/backstage-plugin-rbac:test: Test Suites: 1 failed, 28 passed, 29 total | |
@janus-idp/backstage-plugin-rbac:test: Tests: 2 failed, 134 passed, 136 total | |
@janus-idp/backstage-plugin-rbac:test: Snapshots: 0 total | |
@janus-idp/backstage-plugin-rbac:test: Time: 130.901 s | |
@janus-idp/backstage-plugin-rbac:test: Ran all test suites. | |
@janus-idp/backstage-plugin-rbac:test: error Command failed with exit code 1. | |
@janus-idp/backstage-plugin-rbac:test: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | |
@janus-idp/backstage-plugin-rbac:test: ERROR: command finished with error: command (/home/nboldt/RHDH/DH/0-janus-idp-plugins-GH_alt/plugins/rbac) yarn run test exited (1) | |
@janus-idp/backstage-plugin-rbac#test: command (/home/nboldt/RHDH/DH/0-janus-idp-plugins-GH_alt/plugins/rbac) yarn run test exited (1) | |
Tasks: 39 successful, 46 total | |
Cached: 0 cached, 46 total | |
Time: 3m29.101s | |
Failed: @janus-idp/backstage-plugin-rbac#test | |
ERROR run failed: command exited (1) | |
error Command failed with exit code 1. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
Author
nickboldt
commented
May 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment