Skip to content

Homepage hero updates + blockchain filter #2596

Homepage hero updates + blockchain filter

Homepage hero updates + blockchain filter #2596

Triggered via pull request October 24, 2024 16:12
Status Failure
Total duration 3m 38s
Artifacts

javascript.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 notice
strategies/index.test.ts:27:2 › strategy index page › should only display live strategies to admin user when live filter applied: tests/integration/strategies/index.test.ts#L32
1) strategies/index.test.ts:27:2 › strategy index page › should only display live strategies to admin user when live filter applied Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 2 30 | 31 | const rows = page.locator(`[data-testid="strategy-tiles"] > *`); > 32 | expect(await rows.count()).toBe(1); | ^ 33 | 34 | const heading = page.getByRole('heading', { name: 'MATIC-USD breakout on Uniswap v3' }); 35 | await expect(heading).toBeVisible(); at /home/runner/work/frontend/frontend/tests/integration/strategies/index.test.ts:32:30
strategies/index.test.ts:38:2 › strategy index page › should only display non-live strategies to admin user when unpublished filter applied: tests/integration/strategies/index.test.ts#L43
2) strategies/index.test.ts:38:2 › strategy index page › should only display non-live strategies to admin user when unpublished filter applied Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 2 41 | 42 | const rows = page.locator(`[data-testid="strategy-tiles"] > *`); > 43 | expect(await rows.count()).toBe(1); | ^ 44 | 45 | const heading = page.getByRole('heading', { name: 'Multipair breakout strategy on Uniswap v3' }); 46 | await expect(heading).toBeVisible(); at /home/runner/work/frontend/frontend/tests/integration/strategies/index.test.ts:43:30
test
Process completed with exit code 1.
🎭 Playwright Run Summary
2 failed strategies/index.test.ts:27:2 › strategy index page › should only display live strategies to admin user when live filter applied strategies/index.test.ts:38:2 › strategy index page › should only display non-live strategies to admin user when unpublished filter applied 2 skipped 21 passed (12.8s)