chore(deps): update dependency @canonical/rebac-admin to v0.0.1-alpha.10 - autoclosed #102
Annotations
4 errors and 1 warning
Run yarn test --coverage.enabled true:
src/components/Routes/Routes.test.tsx#L206
TestingLibraryElementError: Unable to find an element by: [data-testid="login-form"]
Ignored nodes: comments, script, style
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'A')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'A')
at getOwner (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:348:45)
at jsxDEVImpl (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:523:57)
at Object.jsx (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:651:14)
at y$ (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/src/components/ReBACAdmin/ReBACAdmin.tsx:91:24)
at renderWithHooks (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.#callDispatchEventListeners (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/happy-dom/src/event/EventTarget.ts:310:41)
at HTMLUnknownElement.dispatchEvent (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/happy-dom/src/event/EventTarget.ts:127:35)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'A')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'A')
at getOwner (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:348:45)
at jsxDEVImpl (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:523:57)
at Object.jsx (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:651:14)
at y$ (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/src/components/ReBACAdmin/ReBACAdmin.tsx:91:24)
at renderWithHooks (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.de
|
Run yarn test --coverage.enabled true:
src/components/Routes/Routes.test.tsx#L224
TestingLibraryElementError: Unable to find an element by: [data-testid="Permissions"]
Ignored nodes: comments, script, style
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'A')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'A')
at getOwner (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:348:45)
at jsxDEVImpl (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:523:57)
at Object.jsx (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:651:14)
at y$ (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/src/components/ReBACAdmin/ReBACAdmin.tsx:91:24)
at renderWithHooks (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.#callDispatchEventListeners (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/happy-dom/src/event/EventTarget.ts:310:41)
at HTMLUnknownElement.dispatchEvent (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/happy-dom/src/event/EventTarget.ts:127:35)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
Ignored nodes: comments, script, style
<body>
<div>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'A')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'A')
at getOwner (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:348:45)
at jsxDEVImpl (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:523:57)
at Object.jsx (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:651:14)
at y$ (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/src/components/ReBACAdmin/ReBACAdmin.tsx:91:24)
at renderWithHooks (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.d
|
Run yarn test --coverage.enabled true:
src/pages/Permissions/Permissions.test.tsx#L34
TestingLibraryElementError: Unable to find an element with the text: Canonical ReBAC Admin. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
id="_rht_toaster"
style="position: fixed; z-index: 9999; top: 16px; left: 16px; right: 16px; bottom: 16px; pointer-events: none;"
/>
<h2>
Unexpected Application Error!
</h2>
<h3
style="font-style: italic;"
>
Cannot read properties of undefined (reading 'A')
</h3>
<pre
style="padding: 0.5rem; background-color: rgba(200, 200, 200, 0.5);"
>
TypeError: Cannot read properties of undefined (reading 'A')
at getOwner (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:348:45)
at jsxDEVImpl (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:523:57)
at Object.jsx (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:651:14)
at y$ (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/@canonical/rebac-admin/src/components/ReBACAdmin/ReBACAdmin.tsx:91:24)
at renderWithHooks (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/juju-dashboard/juju-dashboard/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.#callDispatchEventListeners (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/happy-dom/src/event/EventTarget.ts:310:41)
at HTMLUnknownElement.dispatchEvent (file:///home/runner/work/juju-dashboard/juju-dashboard/node_modules/happy-dom/src/event/EventTarget.ts:127:35)
</pre>
<p>
💿 Hey developer 👋
</p>
<p>
You can provide a way better UX than this when your app throws errors by providing your own
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
ErrorBoundary
</code>
or
<code
style="padding: 2px 4px; background-color: rgba(200, 200, 200, 0.5);"
>
errorElement
</code>
prop on your route.
</p>
</div>
</body>
❯ getOwner node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:348:45
❯ jsxDEVImpl node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:523:57
❯ Object.jsx node_modules/@canonical/rebac-admin/node_modules/react/cjs/react-jsx-runtime.development.js:651:14
❯ y$ node_modules/@canonical/rebac-admin/src/components/ReBACAdmin/ReBACAdmin.tsx:91:24
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14
❯ HTMLUnknownElement.#callDispatchEventListeners node_modules/happy-dom/src/event/EventTarget.ts:310:41
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/pages/Permissions/Permissions.test.tsx:34:19
|
Run yarn test --coverage.enabled true
Process completed with exit code 1.
|
Use Node.js 18.x
Cache not found for keys: node-cache-Linux-x64-yarn-0533c1c7ef68dea4f21f0ee0a1e7626c2b51b5133584d9b5bddae917fedea881
|
Loading