Created
May 8, 2024 15:02
-
-
Save jesuino/cfe799967685ec21b26cb2f5350cf508 to your computer and use it in GitHub Desktop.
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: 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: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment