fix: show native TVL in international vault tooltip #3990
javascript.yml
on: pull_request
build
upload-sourcemaps
Annotations
2 errors, 3 warnings, and 2 notices
|
tests/integration/trading-view/vaults/datasets.test.ts:95:2 › vault datasets page › curl example shows actual key after successful validation:
tests/integration/trading-view/vaults/datasets.test.ts#L99
2) tests/integration/trading-view/vaults/datasets.test.ts:95:2 › vault datasets page › curl example shows actual key after successful validation
Error: expect(locator).toContainText(expected) failed
Locator: locator('pre code')
Timeout: 5000ms
- Expected substring - 1
+ Received string + 7
- test-valid-api-key-12345
+ export TRADING_STRATEGY_API_KEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
+
+ # Vault metadata
+ curl -L "http://localhost:4173/trading-view/vaults/datasets/download/vault-metadata?api-key=$TRADING_STRATEGY_API_KEY" --output vault-metadata.json
+
+ # Vault prices
+ curl -L "http://localhost:4173/trading-view/vaults/datasets/download/vault-prices?api-key=$TRADING_STRATEGY_API_KEY" --output vault-historical.parquet
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('pre code')
9 × locator resolved to <code class="svelte-vm985m">export TRADING_STRATEGY_API_KEY="XXXXX-XXXXX-XXXX…</code>
- unexpected value "export TRADING_STRATEGY_API_KEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"
# Vault metadata
curl -L "http://localhost:4173/trading-view/vaults/datasets/download/vault-metadata?api-key=$TRADING_STRATEGY_API_KEY" --output vault-metadata.json
# Vault prices
curl -L "http://localhost:4173/trading-view/vaults/datasets/download/vault-prices?api-key=$TRADING_STRATEGY_API_KEY" --output vault-historical.parquet"
97 | await page.getByRole('button', { name: 'Enter' }).click();
98 | const code = page.locator('pre code');
> 99 | await expect(code).toContainText(VALID_API_KEY);
| ^
100 | await expect(code).not.toContainText('XXXXX-XXXXX-XXXXX-XXXXX-XXXXX');
101 | });
102 |
at /home/runner/work/frontend/frontend/tests/integration/trading-view/vaults/datasets.test.ts:99:22
|
|
tests/integration/trading-view/vaults/datasets.test.ts:89:2 › vault datasets page › displays validated API key in the page:
tests/integration/trading-view/vaults/datasets.test.ts#L92
1) tests/integration/trading-view/vaults/datasets.test.ts:89:2 › vault datasets page › displays validated API key in the page
Error: expect(locator).toBeVisible() failed
Locator: getByText('test-valid-api-key-12345', { exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByText('test-valid-api-key-12345', { exact: true })
90 | await page.getByLabel('Enter API key to enable download').fill(VALID_API_KEY);
91 | await page.getByRole('button', { name: 'Enter' }).click();
> 92 | await expect(page.getByText(VALID_API_KEY, { exact: true })).toBeVisible();
| ^
93 | });
94 |
95 | test('curl example shows actual key after successful validation', async ({ page }) => {
at /home/runner/work/frontend/frontend/tests/integration/trading-view/vaults/datasets.test.ts:92:64
|
|
check-format
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, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test-e2e
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, pnpm/action-setup@v4, webfactory/ssh-agent@v0.9.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test
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, pnpm/action-setup@v4, webfactory/ssh-agent@v0.9.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
3 skipped
17 passed (29.3s)
|
|
🎭 Playwright Run Summary
2 flaky
tests/integration/trading-view/vaults/datasets.test.ts:89:2 › vault datasets page › displays validated API key in the page
tests/integration/trading-view/vaults/datasets.test.ts:95:2 › vault datasets page › curl example shows actual key after successful validation
2 skipped
195 passed (2.0m)
|