mirror of
https://github.com/haveno-dex/haveno-ui.git
synced 2025-04-19 07:05:56 -04:00
chore: Fix snapshot tests.
This commit is contained in:
parent
397c9d2c98
commit
68d44a2d60
@ -44,12 +44,12 @@ exports[`molecules::AddressCard > renders without exploding 1`] = `
|
||||
class="mantine-Group-root mantine-Group-child mantine-ze53qg"
|
||||
>
|
||||
<a
|
||||
class="mantine-Text-root mantine-Anchor-root mantine-Group-child mantine-16zvpw1"
|
||||
class="mantine-Text-root mantine-Anchor-root mantine-Group-child mantine-1yvb6qd"
|
||||
>
|
||||
Copy
|
||||
</a>
|
||||
<a
|
||||
class="mantine-Text-root mantine-Anchor-root mantine-Group-child mantine-16zvpw1"
|
||||
class="mantine-Text-root mantine-Anchor-root mantine-Group-child mantine-1yvb6qd"
|
||||
>
|
||||
QR
|
||||
</a>
|
||||
|
@ -46,25 +46,25 @@ describe("organisms::MyWalletMoneroBalance", () => {
|
||||
unmount();
|
||||
});
|
||||
|
||||
it("contains avaliable balance, reservered funds and locked funds details", () => {
|
||||
it("contains available balance, reservered funds and locked funds details", () => {
|
||||
const { unmount } = render(
|
||||
<AppProviders>
|
||||
<MyWalletMoneroBalance />
|
||||
</AppProviders>
|
||||
);
|
||||
expect(screen.queryByTestId("avaliable-balance")).toBeInTheDocument();
|
||||
expect(screen.queryByTestId("available-balance")).toBeInTheDocument();
|
||||
expect(screen.queryByTestId("locked-funds")).toBeInTheDocument();
|
||||
expect(screen.queryByTestId("reserverd-funds")).toBeInTheDocument();
|
||||
unmount();
|
||||
});
|
||||
|
||||
it("contains avaliable balance, reservered funds and locked funds details", () => {
|
||||
it("contains available balance, reservered funds and locked funds details", () => {
|
||||
const { unmount } = render(
|
||||
<AppProviders>
|
||||
<MyWalletMoneroBalance />
|
||||
</AppProviders>
|
||||
);
|
||||
expect(screen.queryByTestId("avaliable-balance")).toHaveTextContent(
|
||||
expect(screen.queryByTestId("available-balance")).toHaveTextContent(
|
||||
"835,120.34017"
|
||||
);
|
||||
expect(screen.queryByTestId("reserverd-funds")).toHaveTextContent(
|
||||
|
@ -43,12 +43,12 @@ exports[`organisms::MyWalletMoneroBalance > renders without exploding 1`] = `
|
||||
>
|
||||
<div
|
||||
class="mantine-Stack-root mantine-DetailItem-root mantine-Group-child mantine-2d5onn"
|
||||
data-testid="avaliable-balance"
|
||||
data-testid="available-balance"
|
||||
>
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-label mantine-10gsq91"
|
||||
>
|
||||
Avaliable Balance
|
||||
Available Balance
|
||||
</div>
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-content mantine-oat2gy"
|
||||
@ -56,6 +56,21 @@ exports[`organisms::MyWalletMoneroBalance > renders without exploding 1`] = `
|
||||
835,120.34017
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="mantine-Stack-root mantine-DetailItem-root mantine-Group-child mantine-2d5onn"
|
||||
data-testid="unreserved-funds"
|
||||
>
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-label mantine-10gsq91"
|
||||
>
|
||||
Unreserved Funds
|
||||
</div>
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-content mantine-oat2gy"
|
||||
>
|
||||
90,371.161239
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="mantine-Stack-root mantine-DetailItem-root mantine-Group-child mantine-2d5onn"
|
||||
data-testid="reserverd-funds"
|
||||
@ -63,7 +78,7 @@ exports[`organisms::MyWalletMoneroBalance > renders without exploding 1`] = `
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-label mantine-10gsq91"
|
||||
>
|
||||
Reservered Funds
|
||||
Reserved Funds
|
||||
</div>
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-content mantine-oat2gy"
|
||||
|
@ -47,7 +47,7 @@ exports[`organisms::MyWalletMeneroBalanceSkeleton > renders without exploding 1`
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-label mantine-10gsq91"
|
||||
>
|
||||
Avaliable Balance
|
||||
Available Balance
|
||||
</div>
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-content mantine-oat2gy"
|
||||
@ -63,7 +63,23 @@ exports[`organisms::MyWalletMeneroBalanceSkeleton > renders without exploding 1`
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-label mantine-10gsq91"
|
||||
>
|
||||
Reservered Funds
|
||||
Unreserved Funds
|
||||
</div>
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-content mantine-oat2gy"
|
||||
>
|
||||
<div
|
||||
class="mantine-Skeleton-root mantine-Skeleton-visible mantine-12edv24"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="mantine-Stack-root mantine-DetailItem-root mantine-Group-child mantine-2d5onn"
|
||||
>
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-label mantine-10gsq91"
|
||||
>
|
||||
Reserved Funds
|
||||
</div>
|
||||
<div
|
||||
class="mantine-Text-root mantine-DetailItem-content mantine-oat2gy"
|
||||
|
@ -28,12 +28,12 @@ exports[`organisms::MyWalletPrimaryAddress > renders without exploding 1`] = `
|
||||
class="mantine-Group-root mantine-Group-child mantine-ze53qg"
|
||||
>
|
||||
<a
|
||||
class="mantine-Text-root mantine-Anchor-root mantine-Group-child mantine-16zvpw1"
|
||||
class="mantine-Text-root mantine-Anchor-root mantine-Group-child mantine-1yvb6qd"
|
||||
>
|
||||
Copy
|
||||
</a>
|
||||
<a
|
||||
class="mantine-Text-root mantine-Anchor-root mantine-Group-child mantine-16zvpw1"
|
||||
class="mantine-Text-root mantine-Anchor-root mantine-Group-child mantine-1yvb6qd"
|
||||
>
|
||||
QR
|
||||
</a>
|
||||
|
@ -3,7 +3,7 @@
|
||||
exports[`organisms::MyWalletMoneroBalance > renders without exploding. 1`] = `
|
||||
<DocumentFragment>
|
||||
<table
|
||||
class="mantine-Table-root mantine-16jrhzw"
|
||||
class="mantine-Table-root mantine-u2os4d"
|
||||
>
|
||||
<tbody>
|
||||
<tr>
|
||||
|
@ -66,7 +66,7 @@ export enum LangKeys {
|
||||
MyWalletSendFieldAddress = "myWallet.send.addressField",
|
||||
MyWalletSendFieldAddressPlaceholder = "myWallet.send.addressFieldPlaceholder",
|
||||
MyWalletReceiveTitle = "myWallet.receive.receiveTitle",
|
||||
MyWalletMoneroAvailableBalance = "myWallet.monero.avaliableBalance",
|
||||
MyWalletMoneroAvailableBalance = "myWallet.monero.availableBalance",
|
||||
MyWalletMoneroReservedFunds = "myWallet.monero.reserveredFunds",
|
||||
MyWalletMoneroUnreservedFunds = "myWallet.monero.unreservedFunds",
|
||||
MyWalletMoneroLockedFunds = "myWallet.monero.lockedFunds",
|
||||
|
Loading…
x
Reference in New Issue
Block a user