fix: my denoms test #50
Annotations
10 errors
error: NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted:
node_modules/next/dist/client/router.js#L146
at useRouter (/home/runner/work/manifest-app/manifest-app/node_modules/next/dist/client/router.js:146:15)
at TailwindModal (/home/runner/work/manifest-app/manifest-app/components/react/modal.tsx:38:18)
at renderWithHooks (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork$1 (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/manifest-app/manifest-app/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/manifest-app/manifest-app/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/react/dist/pure.js:180:18)
at /home/runner/work/manifest-app/manifest-app/components/bank/components/__tests__/sendBox.test.tsx:27:5
|
error: NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted:
node_modules/next/dist/client/router.js#L146
at useRouter (/home/runner/work/manifest-app/manifest-app/node_modules/next/dist/client/router.js:146:15)
at TailwindModal (/home/runner/work/manifest-app/manifest-app/components/react/modal.tsx:38:18)
at renderWithHooks (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork$1 (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/manifest-app/manifest-app/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/manifest-app/manifest-app/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/react/dist/pure.js:180:18)
at /home/runner/work/manifest-app/manifest-app/components/bank/components/__tests__/sendBox.test.tsx:33:5
at /home/runner/work/manifest-app/manifest-app/components/bank/components/__tests__/sendBox.test.tsx:32:57
|
error: NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted:
node_modules/next/dist/client/router.js#L146
at useRouter (/home/runner/work/manifest-app/manifest-app/node_modules/next/dist/client/router.js:146:15)
at TailwindModal (/home/runner/work/manifest-app/manifest-app/components/react/modal.tsx:38:18)
at renderWithHooks (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork$1 (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/manifest-app/manifest-app/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/manifest-app/manifest-app/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/react/dist/pure.js:180:18)
at /home/runner/work/manifest-app/manifest-app/components/bank/components/__tests__/sendBox.test.tsx:41:5
at /home/runner/work/manifest-app/manifest-app/components/bank/components/__tests__/sendBox.test.tsx:40:79
|
error: NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted:
node_modules/next/dist/client/router.js#L146
at useRouter (/home/runner/work/manifest-app/manifest-app/node_modules/next/dist/client/router.js:146:15)
at TailwindModal (/home/runner/work/manifest-app/manifest-app/components/react/modal.tsx:38:18)
at renderWithHooks (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
at mountIndeterminateComponent (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:20074:13)
at beginWork$1 (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:27426:14)
at performUnitOfWork (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
at workLoopSync (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
at renderRootSync (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
at recoverFromConcurrentError (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
at performConcurrentWorkOnRoot (/home/runner/work/manifest-app/manifest-app/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
at flushActQueue (/home/runner/work/manifest-app/manifest-app/node_modules/react/cjs/react.development.js:2667:24)
at act (/home/runner/work/manifest-app/manifest-app/node_modules/react/cjs/react.development.js:2582:11)
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/react/dist/act-compat.js:47:25
at renderRoot (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/react/dist/pure.js:180:18)
at /home/runner/work/manifest-app/manifest-app/components/bank/components/__tests__/sendBox.test.tsx:47:5
at /home/runner/work/manifest-app/manifest-app/components/bank/components/__tests__/sendBox.test.tsx:46:56
|
TestingLibraryElementError: Unable to find an element with the placeholder text of: udenom:
node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div
id="interchain-ui-overlays-manager"
/>
<div>
<div
class="_14der0i88"
data-is-controlled="false"
style="visibility: visible;"
/>
<section>
<div
class="lg:flex mx-auto w-full flex-col items-center justify-between"
>
<div
class="flex items-center mx-auto w-full dark:bg-[#FFFFFF0F] bg-[#FFFFFFCC] p-6 sm:p-8 rounded-2xl shadow-lg"
>
<div
class="w-full"
>
<h1
class="mb-4 text-xl font-extrabold tracking-tight sm:mb-6 leading-tight border-b-[0.5px] dark:text-[#FFFFFF99] dark:border-[#FFFFFF99] border-b-[black] pb-4"
>
Create Denom
</h1>
bound HTMLFormElement {
"0": <input
class="dark:text-[#FFFFFF99] text-[#161616] input border-[#00000033] dark:border-[#FFFFFF33] bg-[#E0E0FF0A] dark:bg-[#E0E0FF0A] w-full
autofill:bg-[#E0E0FF0A] autofill:dark:bg-[#E0E0FF0A]
focus:bg-[#E0E0FF0A] focus:dark:bg-[#E0E0FF0A]
undefined"
id="subdenom"
name="subdenom"
placeholder="utoken"
type="text"
value="subtesttoken"
/>,
}
</div>
</div>
<div
class="flex space-x-3 mt-6 mx-auto w-full"
>
<button
class="btn btn-neutral py-2.5 sm:py-3.5 w-1/2"
>
<span
class="hidden sm:inline"
>
Back: Factory Page
</span>
<span
class="sm:hidden"
>
Back
</span>
</button>
<button
class="w-1/2 btn btn-gradient text-white py-2.5 sm:py-3.5 disabled:opacity-50"
>
Next: Token Metadata
</button>
</div>
</div>
</section>
</div>
</body>
at getElementError (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/manifest-app/manifest-app/components/factory/forms/__tests__/CreateDenom.test.tsx:29:34
at /home/runner/work/manifest-app/manifest-app/components/factory/forms/__tests__/CreateDenom.test.tsx:27:44
|
TestingLibraryElementError: Unable to find an element with the placeholder text of: udenom:
node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div
id="interchain-ui-overlays-manager"
/>
<div>
<div
class="_14der0i88"
data-is-controlled="false"
style="visibility: visible;"
/>
<section>
<div
class="lg:flex mx-auto w-full flex-col items-center justify-between"
>
<div
class="flex items-center mx-auto w-full dark:bg-[#FFFFFF0F] bg-[#FFFFFFCC] p-6 sm:p-8 rounded-2xl shadow-lg"
>
<div
class="w-full"
>
<h1
class="mb-4 text-xl font-extrabold tracking-tight sm:mb-6 leading-tight border-b-[0.5px] dark:text-[#FFFFFF99] dark:border-[#FFFFFF99] border-b-[black] pb-4"
>
Create Denom
</h1>
bound HTMLFormElement {
"0": <input
class="dark:text-[#FFFFFF99] text-[#161616] input border-[#00000033] dark:border-[#FFFFFF33] bg-[#E0E0FF0A] dark:bg-[#E0E0FF0A] w-full
autofill:bg-[#E0E0FF0A] autofill:dark:bg-[#E0E0FF0A]
focus:bg-[#E0E0FF0A] focus:dark:bg-[#E0E0FF0A]
undefined"
id="subdenom"
name="subdenom"
placeholder="utoken"
type="text"
value="subtesttoken"
/>,
}
</div>
</div>
<div
class="flex space-x-3 mt-6 mx-auto w-full"
>
<button
class="btn btn-neutral py-2.5 sm:py-3.5 w-1/2"
>
<span
class="hidden sm:inline"
>
Back: Factory Page
</span>
<span
class="sm:hidden"
>
Back
</span>
</button>
<button
class="w-1/2 btn btn-gradient text-white py-2.5 sm:py-3.5 disabled:opacity-50"
>
Next: Token Metadata
</button>
</div>
</div>
</section>
</div>
</body>
at getElementError (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/manifest-app/manifest-app/components/factory/forms/__tests__/CreateDenom.test.tsx:42:34
at /home/runner/work/manifest-app/manifest-app/components/factory/forms/__tests__/CreateDenom.test.tsx:40:55
|
TestingLibraryElementError: Unable to find an element with the placeholder text of: udenom:
node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div
id="interchain-ui-overlays-manager"
/>
<div>
<div
class="_14der0i88"
data-is-controlled="false"
style="visibility: visible;"
/>
<section>
<div
class="lg:flex mx-auto w-full flex-col items-center justify-between"
>
<div
class="flex items-center mx-auto w-full dark:bg-[#FFFFFF0F] bg-[#FFFFFFCC] p-6 sm:p-8 rounded-2xl shadow-lg"
>
<div
class="w-full"
>
<h1
class="mb-4 text-xl font-extrabold tracking-tight sm:mb-6 leading-tight border-b-[0.5px] dark:text-[#FFFFFF99] dark:border-[#FFFFFF99] border-b-[black] pb-4"
>
Create Denom
</h1>
bound HTMLFormElement {
"0": <input
class="dark:text-[#FFFFFF99] text-[#161616] input border-[#00000033] dark:border-[#FFFFFF33] bg-[#E0E0FF0A] dark:bg-[#E0E0FF0A] w-full
autofill:bg-[#E0E0FF0A] autofill:dark:bg-[#E0E0FF0A]
focus:bg-[#E0E0FF0A] focus:dark:bg-[#E0E0FF0A]
undefined"
id="subdenom"
name="subdenom"
placeholder="utoken"
type="text"
value="subtesttoken"
/>,
}
</div>
</div>
<div
class="flex space-x-3 mt-6 mx-auto w-full"
>
<button
class="btn btn-neutral py-2.5 sm:py-3.5 w-1/2"
>
<span
class="hidden sm:inline"
>
Back: Factory Page
</span>
<span
class="sm:hidden"
>
Back
</span>
</button>
<button
class="w-1/2 btn btn-gradient text-white py-2.5 sm:py-3.5 disabled:opacity-50"
>
Next: Token Metadata
</button>
</div>
</div>
</section>
</div>
</body>
at getElementError (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/manifest-app/manifest-app/components/factory/forms/__tests__/CreateDenom.test.tsx:55:34
at /home/runner/work/manifest-app/manifest-app/components/factory/forms/__tests__/CreateDenom.test.tsx:52:62
|
TestingLibraryElementError: Unable to find an element with the placeholder text of: udenom:
node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div
id="interchain-ui-overlays-manager"
/>
<div>
<div
class="_14der0i88"
data-is-controlled="false"
style="visibility: visible;"
/>
<section>
<div
class="lg:flex mx-auto w-full flex-col items-center justify-between"
>
<div
class="flex items-center mx-auto w-full dark:bg-[#FFFFFF0F] bg-[#FFFFFFCC] p-6 sm:p-8 rounded-2xl shadow-lg"
>
<div
class="w-full"
>
<h1
class="mb-4 text-xl font-extrabold tracking-tight sm:mb-6 leading-tight border-b-[0.5px] dark:text-[#FFFFFF99] dark:border-[#FFFFFF99] border-b-[black] pb-4"
>
Create Denom
</h1>
bound HTMLFormElement {
"0": <input
class="dark:text-[#FFFFFF99] text-[#161616] input border-[#00000033] dark:border-[#FFFFFF33] bg-[#E0E0FF0A] dark:bg-[#E0E0FF0A] w-full
autofill:bg-[#E0E0FF0A] autofill:dark:bg-[#E0E0FF0A]
focus:bg-[#E0E0FF0A] focus:dark:bg-[#E0E0FF0A]
undefined"
id="subdenom"
name="subdenom"
placeholder="utoken"
type="text"
value="subtesttoken"
/>,
}
</div>
</div>
<div
class="flex space-x-3 mt-6 mx-auto w-full"
>
<button
class="btn btn-neutral py-2.5 sm:py-3.5 w-1/2"
>
<span
class="hidden sm:inline"
>
Back: Factory Page
</span>
<span
class="sm:hidden"
>
Back
</span>
</button>
<button
class="w-1/2 btn btn-gradient text-white py-2.5 sm:py-3.5 disabled:opacity-50"
>
Next: Token Metadata
</button>
</div>
</div>
</section>
</div>
</body>
at getElementError (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/manifest-app/manifest-app/components/factory/forms/__tests__/CreateDenom.test.tsx:64:34
at /home/runner/work/manifest-app/manifest-app/components/factory/forms/__tests__/CreateDenom.test.tsx:62:59
|
TestingLibraryElementError: Unable to find a label with the text of: multi-burn-btn:
node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div
id="interchain-ui-overlays-manager"
/>
<div>
<div
class="_14der0i88"
data-is-controlled="false"
style="visibility: visible;"
/>
<div
class="animate-fadeIn text-sm z-10"
>
<div
class="rounded-lg"
>
<div
class="grid grid-cols-2 gap-6"
>
<div>
<p
class="text-sm font-light text-gray-500 dark:text-gray-400 mb-2"
>
NAME
</p>
<div
class="bg-base-300 p-4 rounded-md"
>
<p
class="font-semibold text-md max-w-[20ch] truncate text-black dark:text-white"
/>
</div>
</div>
<div>
<p
class="text-sm font-light text-gray-500 dark:text-gray-400 mb-2"
>
YOUR BALANCE
</p>
<div
class="bg-base-300 p-4 rounded-md"
>
<p
class="font-semibold text-md text-black dark:text-white"
>
1000000
</p>
</div>
</div>
<div>
<p
class="text-sm font-light text-gray-500 dark:text-gray-400 mb-2"
>
EXPONENT
</p>
<div
class="bg-base-300 p-4 rounded-md"
>
<p
class="font-semibold text-md text-black dark:text-white"
>
6
</p>
</div>
</div>
<div>
<p
class="text-sm font-light text-gray-500 dark:text-gray-400 mb-2"
>
CIRCULATING SUPPLY
</p>
<div
class="bg-base-300 p-4 rounded-md"
>
<p
class="font-semibold text-md max-w-[20ch] truncate text-black dark:text-white"
>
0
MFX
</p>
</div>
</div>
</div>
</div>
<button
aria-label="multi-burn-button"
class="btn btn-error btn-md flex-grow w-full text-white mt-6"
type="button"
>
Multi Burn
</button>
</div>
</div>
</body>
at getElementError (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/config.js:37:19)
at getAllByLabelText (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/queries/label-text.js:111:38)
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/manifest-app/manifest-app/components/factory/forms/__tests__/BurnForm.test.tsx:37:19
|
TestingLibraryElementError: Unable to find an element with the text: You are not affiliated with any PoA Admin entity.. This could be because the text is broken up by multiple elements. In this case:
node_modules/@testing-library/dom/dist/config.js#L37
Ignored nodes: comments, script, style
<body>
<div
id="interchain-ui-overlays-manager"
/>
<div>
<div
class="_14der0i88"
data-is-controlled="false"
style="visibility: visible;"
/>
<div
class="animate-fadeIn text-sm z-10"
>
<div
class="rounded-lg"
>
<div
class="w-full p-2 justify-center items-center my-auto leading-tight text-xl flex flex-col font-medium text-pretty"
>
<span>
You must be apart of the admin group to burn MFX.
</span>
</div>
</div>
<button
aria-label="multi-burn-button"
class="btn btn-error btn-md flex-grow w-full text-white mt-6"
disabled=""
type="button"
>
Multi Burn
</button>
</div>
</div>
</body>
at getElementError (/home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/config.js:37:19)
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:76:38
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/manifest-app/manifest-app/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at /home/runner/work/manifest-app/manifest-app/components/factory/forms/__tests__/BurnForm.test.tsx:43:14
|