Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛(lld): fix e2e test web api #8002

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@

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
Loading