Repository navigation
test: cover webhook resend, stream card pin/copy-link, notification prefs - #1026
Merged
Merged
Annotations
10 errors, 1 warning, and 1 notice
|
Run npm test:
__tests__/hooks/use-stream-history.test.ts#L56
TypeError: fetchHorizonTransactions is not a function
❯ __tests__/hooks/use-stream-history.test.ts:56:28
|
|
Run npm test:
__tests__/hooks/use-notifications-retention.test.ts#L153
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ __tests__/hooks/use-notifications-retention.test.ts:153:3
|
|
Run npm test:
__tests__/hooks/use-notifications-retention.test.ts#L132
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ __tests__/hooks/use-notifications-retention.test.ts:132:3
|
|
Run npm test:
__tests__/hooks/use-notifications-retention.test.ts#L111
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ __tests__/hooks/use-notifications-retention.test.ts:111:3
|
|
Run npm test:
__tests__/hooks/use-notifications-retention.test.ts#L91
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ __tests__/hooks/use-notifications-retention.test.ts:91:3
|
|
Run npm test:
__tests__/components/connect-wallet-button.test.tsx#L166
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ __tests__/components/connect-wallet-button.test.tsx:166:3
|
|
Run npm test:
__tests__/components/analytics-charts.test.tsx#L155
TestingLibraryElementError: Unable to find an element with the text: /no streams to track/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>
<div>
<div
class="group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl"
data-size="default"
data-slot="card"
>
<div
class="group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)"
data-slot="card-header"
>
<div
class="font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm"
data-slot="card-title"
>
Streaming volume over time
</div>
<div
class="text-sm text-muted-foreground"
data-slot="card-description"
>
Total tokens deposited into streams created per day, for the selected window.
</div>
</div>
<div
class="px-(--card-spacing)"
data-slot="card-content"
>
<p
class="text-sm text-muted-foreground"
>
No stream activity yet for this period.
</p>
</div>
</div>
<div
class="grid gap-6 lg:grid-cols-[0.9fr_1.1fr]"
>
<div
class="group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl"
data-size="default"
data-slot="card"
>
<div
class="group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)"
data-slot="card-header"
>
<div
class="font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm"
data-slot="card-title"
>
Token distribution
</div>
<div
class="text-sm text-muted-foreground"
data-slot="card-description"
>
Streams grouped by token across the current dataset.
</div>
</div>
<div
class="px-(--card-spacing)"
data-slot="card-content"
>
<p
class="text-sm text-muted-foreground"
>
No token distribution data available yet.
</p>
</div>
</div>
<div
class="group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl"
data-size="default"
data-slot="card"
>
<div
class="group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto
|
|
Run npm test:
__tests__/components/analytics-charts.test.tsx#L139
TestingLibraryElementError: Unable to find an element with the text: /GABCD…90AB/. 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
class="group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl"
data-size="default"
data-slot="card"
>
<div
class="group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)"
data-slot="card-header"
>
<div
class="font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm"
data-slot="card-title"
>
Streaming volume over time
</div>
<div
class="text-sm text-muted-foreground"
data-slot="card-description"
>
Total tokens deposited into streams created per day, for the selected window.
</div>
</div>
<div
class="px-(--card-spacing)"
data-slot="card-content"
>
<div
class="recharts-responsive-container"
style="width: 100%; height: 260px; min-width: 0;"
>
<div
style="width: 0px; overflow-x: visible;"
/>
</div>
</div>
</div>
<div
class="grid gap-6 lg:grid-cols-[0.9fr_1.1fr]"
>
<div
class="group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl"
data-size="default"
data-slot="card"
>
<div
class="group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)"
data-slot="card-header"
>
<div
class="font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm"
data-slot="card-title"
>
Token distribution
</div>
<div
class="text-sm text-muted-foreground"
data-slot="card-description"
>
Streams grouped by token across the current dataset.
</div>
</div>
<div
class="px-(--card-spacing)"
data-slot="card-content"
>
<div
class="flex flex-col items-center gap-4 sm:flex-row"
>
<div
class="recharts-responsive-container max-w-[200px]"
style="width: 100%; height: 200px; min-width: 0;"
>
<div
style="width: 0px; overflow-x: visible;"
/>
</div>
<div
class="w-full space-y-2"
>
<div
class="flex items-center justify-between text-sm"
>
<span
class="flex items-center gap-2"
>
<span
class="size-2.5 shrink-0 rounded-full"
style="background: var(--color-chart-1);"
/>
USDC
|
|
Run npm test:
__tests__/components/analytics-charts.test.tsx#L115
TestingLibraryElementError: Found multiple elements with the text: /500/
Here are the matching elements:
Ignored nodes: comments, script, style
<span
class="font-medium"
>
500
</span>
Ignored nodes: comments, script, style
<span
class="group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3! bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80"
data-slot="badge"
data-variant="secondary"
>
500
USDC
</span>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
class="group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl"
data-size="default"
data-slot="card"
>
<div
class="group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)"
data-slot="card-header"
>
<div
class="font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm"
data-slot="card-title"
>
Streaming volume over time
</div>
<div
class="text-sm text-muted-foreground"
data-slot="card-description"
>
Total tokens deposited into streams created per day, for the selected window.
</div>
</div>
<div
class="px-(--card-spacing)"
data-slot="card-content"
>
<div
class="recharts-responsive-container"
style="width: 100%; height: 260px; min-width: 0;"
>
<div
style="width: 0px; overflow-x: visible;"
/>
</div>
</div>
</div>
<div
class="grid gap-6 lg:grid-cols-[0.9fr_1.1fr]"
>
<div
class="group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl"
data-size="default"
data-slot="card"
>
<div
class="group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)"
data-slot="card-header"
>
<div
class="font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm"
data-slot="card-title"
>
Token distribution
</div>
<div
class="text-sm text-muted-foreground"
data-slot="card-description"
>
Streams grouped by token across the current dataset.
</div>
</div>
<div
class="px-(--card-spacing)"
data-slot="card-content"
>
<div
class="flex flex-col items-cent
|
|
Run npm test:
__tests__/components/analytics-charts.test.tsx#L84
TestingLibraryElementError: Found multiple elements with the text: /token distribution/i
Here are the matching elements:
Ignored nodes: comments, script, style
<div
class="font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm"
data-slot="card-title"
>
Token distribution
</div>
Ignored nodes: comments, script, style
<p
class="text-sm text-muted-foreground"
>
No token distribution data available yet.
</p>
(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
Ignored nodes: comments, script, style
<body>
<div>
<div
class="group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl"
data-size="default"
data-slot="card"
>
<div
class="group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)"
data-slot="card-header"
>
<div
class="font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm"
data-slot="card-title"
>
Streaming volume over time
</div>
<div
class="text-sm text-muted-foreground"
data-slot="card-description"
>
Total tokens deposited into streams created per day, for the selected window.
</div>
</div>
<div
class="px-(--card-spacing)"
data-slot="card-content"
>
<p
class="text-sm text-muted-foreground"
>
No stream activity yet for this period.
</p>
</div>
</div>
<div
class="grid gap-6 lg:grid-cols-[0.9fr_1.1fr]"
>
<div
class="group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl"
data-size="default"
data-slot="card"
>
<div
class="group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-(--card-spacing) has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-(--card-spacing)"
data-slot="card-header"
>
<div
class="font-heading text-base leading-snug font-medium group-data-[size=sm]/card:text-sm"
data-slot="card-title"
>
Token distribution
</div>
<div
class="text-sm text-muted-foreground"
data-slot="card-description"
>
Streams grouped by token across the current dataset.
</div>
</div>
<div
class="px-(--card-spacing)"
data-slot="card-content"
>
<p
class="text-sm text-muted-foreground"
>
No token distribution data available yet.
</p>
</div>
</div>
<div
class="group/card flex flex-col gap-(--card-spacing) overflow-hidden rounded-xl bg-card py-(--card-spacing) text-sm text-card-foreground ring-1 ring-foreground/10 [--card-spacing:--spacing(4)] has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:[--card-spacing:--spacing(3)] data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:las
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|
background
wait
wait-all
cancel
parallel
Loading