add dashboard #63
Annotations
6 errors
Unhandled error:
components/SaveCanvasButton/SaveCanvasButton.tsx#L34
Error: No file ID found in the URL. This is a bug.
❯ components/SaveCanvasButton/SaveCanvasButton.tsx:34:10
❯ processDispatchQueue node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:16122:17
❯ node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:16725:9
❯ batchedUpdates$1 node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:3129:40
❯ dispatchEventForPluginEventSystem node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:16281:7
❯ dispatchEvent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:20353:11
❯ dispatchDiscreteEvent node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom-client.development.js:20321:11
❯ HTMLDivElement.callTheUserObjectsOperation node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
❯ invokeEventListeners node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
This error originated in "tests/integration/SaveCanvasButton.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should indicate that the canvas was saved on the tooltip after keyboard shortcut". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Unhandled error:
components/SaveCanvasButton/SaveCanvasButton.tsx#L34
Error: No file ID found in the URL. This is a bug.
❯ components/SaveCanvasButton/SaveCanvasButton.tsx:34:10
❯ handleKeyboardSave components/SaveCanvasButton/SaveCanvasButton.tsx:101:5
❯ callTheUserObjectsOperation node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
❯ invokeEventListeners node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
❯ EventTargetImpl._dispatch node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
❯ EventTargetImpl.dispatchEvent node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17
❯ dispatchEvent node_modules/.pnpm/[email protected]/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34
❯ node_modules/.pnpm/@testing-library[email protected]/node_modules/@testing-library/dom/dist/events.js:19:20
❯ node_modules/.pnpm/@testing-library[email protected]_@[email protected]_@[email protected]_@types+reac_75pw4xbvzl4m4awzelcfrgu7ka/node_modules/@testing-library/react/dist/pure.js:108:16
This error originated in "tests/integration/SaveCanvasButton.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "tests/integration/SaveCanvasButton.test.tsx". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
tests/integration/Navbar.test.tsx > Navbar functionality > clicking on any tab should open MUI 'not implemented' snackbar:
tests/integration/Navbar.test.tsx#L35
TestingLibraryElementError: Unable to find an element with the text: /This feature is not yet implemented/i. 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
style="padding-right: 1024px; overflow: hidden;"
>
<div
aria-hidden="true"
>
<header
data-testid="nav-bar"
>
<nav
id="navbar-container"
>
<section
id="navbar-links-section"
>
<a
href="/home"
>
<img
alt="logo"
id="navbar-logo"
src="/assets/icons/IdeaDrawnNewLogo_transparent.png"
/>
</a>
<div
id="navbar-links"
>
<button
name="File"
>
File
</button>
<button
name="Edit"
>
Edit
</button>
<button
name="View"
>
View
</button>
<button
name="Filter"
>
Filter
</button>
<button
name="Admin"
>
Admin
</button>
</div>
</section>
<section
id="navbar-buttons-section"
>
<button
aria-label="Save Canvas (CTRL + S)"
class=""
data-mui-internal-clone-element="true"
id="save-btn"
>
<svg
class="icon"
fill="none"
height="1em"
stroke="currentColor"
stroke-width="2"
viewBox="0 0 25 25"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<rect
height="18"
rx="2"
stroke-linecap="round"
stroke-linejoin="round"
width="18"
x="3"
y="5"
/>
<rect
height="7"
stroke-linecap="round"
stroke-linejoin="round"
width="10"
x="7"
y="6"
/>
<circle
cx="12"
cy="18"
r="3"
stroke-linecap="round"
stroke-linejoin="round"
/>
</svg>
</button>
<button
data-testid="export-button"
>
Export Canvas
</button>
<a
data-testid="export-link"
download="canvas.png"
href="#"
style="display: none;"
>
Export Link
</a>
</section>
</nav>
</header>
</div>
<div
class="MuiPopover-root MuiMenu-root MuiModal-root css-onmpsg-MuiModal-root-MuiPopover-root-MuiMenu-root"
role="presentation"
>
<div
aria-hidden="true"
class="MuiBackdrop-root MuiBackdrop-invisible MuiModal-backdrop css-vl6bb4-MuiBackdrop-root-MuiModal-backdrop"
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;"
/>
<div
data-testid="sentinelStart"
tabindex="0"
/>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation8 MuiPopover-paper MuiMenu-paper MuiMenu-paper css-120jsko-MuiPaper-root-MuiPopover-paper-MuiMenu-paper"
style="--Paper-shadow: 0px 5px 5px -3px rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px rgba(0,0,0,0.12); opacity: 1; webkit-transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; top: 16px; left: 16px; transform-origin: -16px -16px;"
tabindex="-1"
>
<ul
class="MuiList-root MuiList-padding MuiMenu-list
|
tests/integration/SaveCanvasButton.test.tsx > SaveCanvasButton functionality > should indicate that the canvas was saved on the tooltip after click:
tests/integration/SaveCanvasButton.test.tsx#L108
AssertionError: expected "toBlobOverride" to be called at least once
❯ tests/integration/SaveCanvasButton.test.tsx:108:16
❯ tests/integration/SaveCanvasButton.test.tsx:107:15
|
tests/integration/SaveCanvasButton.test.tsx > SaveCanvasButton functionality > should indicate that the canvas was saved on the tooltip after keyboard shortcut:
tests/integration/SaveCanvasButton.test.tsx#L136
AssertionError: expected "toBlobOverride" to be called at least once
❯ tests/integration/SaveCanvasButton.test.tsx:136:16
❯ tests/integration/SaveCanvasButton.test.tsx:135:15
|
Execute Vite tests
Process completed with exit code 1.
|