Dashboard: default to last selected device #204
Annotations
3 errors
Unhandled error:
src/pages/dashboard/Dashboard.tsx#L82
TypeError: Cannot read properties of undefined (reading 'dongle_id')
❯ getDefaultDongleId src/pages/dashboard/Dashboard.tsx:82:25
❯ Object.get when [as when] src/pages/dashboard/Dashboard.tsx:111:24
❯ Object.Switch.createMemo.equals.equals [as fn] node_modules/solid-js/dist/dev.js:1681:30
❯ runComputation node_modules/solid-js/dist/dev.js:788:22
❯ updateComputation node_modules/solid-js/dist/dev.js:766:3
❯ runTop node_modules/solid-js/dist/dev.js:883:7
❯ runQueue node_modules/solid-js/dist/dev.js:957:42
❯ completeUpdates node_modules/solid-js/dist/dev.js:912:10
❯ runUpdates node_modules/solid-js/dist/dev.js:901:5
❯ completeLoad node_modules/solid-js/dist/dev.js:330:5
This error originated in "src/App.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 "Show login page". 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.
|
src/App.test.tsx > Show login page:
src/App.test.tsx#L12
TestingLibraryElementError: Unable to find an element with the text: Sign in with Google. 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 />
</body>
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ findByText node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/App.test.tsx:12:23
|
test
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-artifacts-9830045862
Expired
|
191 KB |
|