Skip to content

Commit

Permalink
🐛(lld): fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasWerey committed Oct 3, 2024
1 parent e8cd9ce commit 44737a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ test("Wallet API methods @smoke", async ({ page }) => {
await drawer.selectCurrency("tether usd");
// Test name and balance for tokens
await expect(drawer.getAccountButton("tether usd", 2)).toContainText(

Check failure on line 240 in apps/ledger-live-desktop/tests/specs/services/wallet-api.spec.ts

View workflow job for this annotation

GitHub Actions / Test Desktop / Desktop Tests E2E (Ubuntu)

[mocked_tests] › specs/services/wallet-api.spec.ts:207:5 › Wallet API methods @smoke

1) [mocked_tests] › specs/services/wallet-api.spec.ts:207:5 › Wallet API methods @smoke ────────── Error: Timed out 41000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('account-row-tether usd-2').first() Expected string: "Ethereum 3 (USDT)71,8174 USDT" Received string: "Ethereum 3 (USDT)71.8174 USDT" Call log: - expect.toContainText with timeout 41000ms - waiting for getByTestId('account-row-tether usd-2').first() - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected value "Ethereum 3 (USDT)71.8174 USDT" - locator resolved to <div class="sc-heNFcO jRunBX" id="account-Tether USD-2" data-testid="account-row-tether usd-2">…</div> - unexpected valu
"Ethereum 3 (USDT)71.8174 USDT", // Special space present in the actual rendered element apparently
"Ethereum 3 (USDT)71,8174 USDT", // Special space present in the actual rendered element apparently
);
await drawer.back();

Expand Down

0 comments on commit 44737a6

Please sign in to comment.