Fix E2E Crucible and Path Tracer selectors; trim PROBLEMS.md.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Use actions-card containText and pt-actions TRACE button; sync test counts (797/612/791/25) and drop covered-noise rows.
This commit is contained in:
AetherForge
2026-06-07 07:26:37 -07:00
parent f9ce44b962
commit 8b14582975
4 changed files with 20 additions and 28 deletions

View File

@@ -21,9 +21,9 @@ test.describe('Crucible remote command', () => {
test('whoami on selected online node shows terminal output', async ({ page }) => {
await page.getByText(E2E_STUB_AGENT_HOSTNAME).click();
await expect(
page.locator('.crucible-actions-card').getByText(new RegExp(`${E2E_STUB_AGENT_HOSTNAME}`)),
).toBeVisible();
await expect(page.locator('.crucible-actions-card')).toContainText(E2E_STUB_AGENT_HOSTNAME, {
timeout: 10_000,
});
await page.getByRole('button', { name: 'CMD', exact: true }).click();
const input = page.locator('.crucible-term-input');

View File

@@ -56,7 +56,9 @@ test.describe('Path Tracer E2E', () => {
const card = page.locator('.pt-agent-card').filter({ hasText: E2E_STUB_AGENT_HOSTNAME });
await expect(card).toBeVisible({ timeout: 15_000 });
await card.click();
await card.getByRole('button', { name: /TRACE/i }).click();
const traceBtn = page.locator('.pt-actions').getByRole('button', { name: /TRACE/i });
await expect(traceBtn).toBeEnabled({ timeout: 10_000 });
await traceBtn.click();
await expect(page.getByText('Spread Routes')).toBeVisible({ timeout: 15_000 });
await expect(page.getByText(/192\.168\.1\.0\/24/)).toBeVisible();