Stabilize Playwright phase 8 E2E to 25 green specs.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Harden login and online-card assertions, fix multi-hop discover spread selection, add Path Tracer RS lanes mock E2E, and graceful stub WS teardown.
This commit is contained in:
AetherForge
2026-06-07 07:01:35 -07:00
parent bd041edc0e
commit e3d7ecc33f
9 changed files with 73 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
import { expect, test } from '@playwright/test';
import { loginToDashboard } from './fixtures';
import { expectOnlineCrucibleCard, loginToDashboard } from './fixtures';
import { ensureLiveStubAgent, isLiveStubReady } from './live-stub';
import { E2E_STUB_AGENT_HOSTNAME, E2E_STUB_AGENT_ID } from './stub-agent';
@@ -22,8 +22,7 @@ test.describe('Crucible bulk command', () => {
});
test('bulk pause on selected online node fires POST bulk-command', async ({ page }) => {
const card = page.locator('.crucible-node-card').filter({ hasText: E2E_STUB_AGENT_HOSTNAME });
await expect(card.locator('.cn-status-dot.on')).toBeVisible({ timeout: 15_000 });
const card = await expectOnlineCrucibleCard(page, E2E_STUB_AGENT_HOSTNAME);
await card.click();
await expect(page.locator('.fleet-bulk-bar').getByText(/1 selected/)).toBeVisible({
timeout: 10_000,