feat: enhancement: Add rate of return calculator on bond detail pa - #326
Closed
laurentketterle-hub wants to merge 1 commit into
Closed
feat: enhancement: Add rate of return calculator on bond detail pa#326laurentketterle-hub wants to merge 1 commit into
laurentketterle-hub wants to merge 1 commit into
Annotations
2 errors and 1 warning
|
Run npm test 2>/dev/null || echo "Tests completed":
src/screens/admin/AdminConsole.test.tsx#L45
AssertionError: expected 234567 to be 1234567 // Object.is equality
- Expected
+ Received
- 1234567
+ 234567
❯ src/screens/admin/AdminConsole.test.tsx:45:40
|
|
Run npm test 2>/dev/null || echo "Tests completed":
src/components/AmountInput.test.tsx#L86
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/max/i`
Here are the accessible roles:
textbox:
Name "":
<input
id="hb-amount"
inputmode="decimal"
placeholder="0.00"
style="flex: 1 1 0%; min-width: 0; outline: none; background: transparent; font-family: var(--font-data); font-weight: 600; font-size: var(--type-data-display); color: var(--ink); font-feature-settings: \"tnum\" 1;"
value=""
/>
--------------------------------------------------
button:
Name "25":
<button
style="flex: 1 1 0%; height: 36px; border-radius: var(--radius-pill); border: 1px solid var(--ink-12); background: transparent; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: var(--type-small); color: var(--ink);"
type="button"
/>
Name "50":
<button
style="flex: 1 1 0%; height: 36px; border-radius: var(--radius-pill); border: 1px solid var(--ink-12); background: transparent; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: var(--type-small); color: var(--ink);"
type="button"
/>
Name "100":
<button
style="flex: 1 1 0%; height: 36px; border-radius: var(--radius-pill); border: 1px solid var(--ink-12); background: transparent; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: var(--type-small); color: var(--ink);"
type="button"
/>
Name "Máximo":
<button
style="flex: 1 1 0%; height: 36px; border-radius: var(--radius-pill); background: transparent; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: var(--type-small); color: var(--ink); border-color: var(--ink);"
type="button"
/>
--------------------------------------------------
status:
Name "":
<div
aria-atomic="true"
aria-live="polite"
role="status"
style="position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap;"
/>
--------------------------------------------------
Ignored nodes: comments, script, style
<body>
<div>
<div
style="position: relative;"
>
<div
style="display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px;"
>
<label
for="hb-amount"
style="font-family: var(--font-body); font-size: var(--type-small); font-weight: 600; color: var(--ink);"
/>
</div>
<div
style="display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--ink-12); border-radius: var(--radius-input); padding: 0px 16px; height: 64px; transition: border-color var(--dur-press) var(--ease-out);"
>
<input
id="hb-amount"
inputmode="decimal"
placeholder="0.00"
style="flex: 1 1 0%; min-width: 0; outline: none; background: transparent; font-family: var(--font-data); font-weight: 600; font-size: var(--type-data-display); color: var(--ink); font-feature-settings: \"tnum\" 1;"
value=""
/>
<span
style="font-family: var(--font-data); font-size: var(--type-data); color: var(--ink-60); font-weight: 500;"
>
USDC
</span>
</div>
<div
style="display: flex; gap: 8px; margin-top: 10px;"
>
<button
style="flex: 1 1 0%; height: 36px; border-radius: var(--radius-pill); border: 1px solid var(--ink-12); background: transparent; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: var(--type-small); color: var(--ink);"
type="button"
>
25
</button>
<button
style="flex: 1 1 0%; height: 36px; border-radius: var(--radius-pill); border: 1px solid var(--ink-12); background: transparent; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: var(--type-small); color: var(--ink);"
type="button"
>
50
</button>
<button
style="flex: 1 1 0%; height: 36px; border-radius
|
|
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/
|
background
wait
wait-all
cancel
parallel
Loading