Feat/nextui inputs #1342
Annotations
5 errors
src/pages/Home/__tests__/UnlockModal.test.tsx > UnlockModal > renders:
src/pages/Home/__tests__/UnlockModal.test.tsx#L15
Error: expect(element).toHaveClass("input-underline")
Expected the element to have class:
input-underline
Received:
w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none data-[has-start-content=true]:ps-1.5 data-[has-end-content=true]:pe-1.5 text-small group-data-[has-value=true]:text-default-foreground
❯ src/pages/Home/__tests__/UnlockModal.test.tsx:15:19
|
src/pages/Home/SendModal/__tests__/SendModal.test.tsx > SendModal > SendLN > disables the send button on invalid input:
src/pages/Home/SendModal/__tests__/SendModal.test.tsx#L48
Error: expect(element).toHaveClass("input-error")
Expected the element to have class:
input-error
Received:
w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none data-[has-start-content=true]:ps-1.5 data-[has-end-content=true]:pe-1.5 text-small !placeholder:text-danger !text-danger group-data-[has-value=true]:text-default-foreground is-filled
❯ src/pages/Home/SendModal/__tests__/SendModal.test.tsx:48:28
|
src/pages/Home/SendModal/__tests__/SendModal.test.tsx > SendModal > SendOnChain > should show error on wrong addrees input:
src/pages/Home/SendModal/__tests__/SendModal.test.tsx#L122
Error: expect(element).toHaveClass("input-error")
Expected the element to have class:
input-error
Received:
w-full font-normal bg-transparent !outline-none placeholder:text-foreground-500 focus-visible:outline-none data-[has-start-content=true]:ps-1.5 data-[has-end-content=true]:pe-1.5 text-small !placeholder:text-danger !text-danger group-data-[has-value=true]:text-default-foreground is-filled
❯ src/pages/Home/SendModal/__tests__/SendModal.test.tsx:122:28
|
src/pages/Home/SendModal/__tests__/SendModal.test.tsx > SendModal > SendOnChain > test a valid form pass:
src/pages/Home/SendModal/__tests__/SendModal.test.tsx#L145
Error: expect(element).toBeEnabled()
Received element is not enabled:
<button
class="z-0 group relative inline-flex items-center justify-center box-border appearance-none select-none whitespace-nowrap subpixel-antialiased overflow-hidden tap-highlight-transparent data-[pressed=true]:scale-[0.97] outline-none data-[focus-visible=true]:z-10 data-[focus-visible=true]:outline-2 data-[focus-visible=true]:outline-focus data-[focus-visible=true]:outline-offset-2 min-w-20 h-10 text-small gap-2 rounded-full [&>svg]:max-w-[theme(spacing.8)] transition-transform-colors-opacity motion-reduce:transition-none bg-primary text-primary-foreground data-[hover=true]:opacity-hover px-8 py-6 font-semibold"
disabled=""
type="submit"
/>
❯ src/pages/Home/SendModal/__tests__/SendModal.test.tsx:145:26
|
build (20.x)
Process completed with exit code 1.
|