Stabilize Playwright phase 8 with page smokes and flake fixes.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Direct-navigate Calibrate, harden stub agent timing, and add Emberwake/Seer/Oath smokes so the full 32-spec E2E sweep passes reliably.
This commit is contained in:
AetherForge
2026-06-07 12:03:44 -07:00
parent 7eafea09f7
commit 6122c3ebfc
6 changed files with 13 additions and 8 deletions

View File

@@ -24,13 +24,13 @@ test.describe('Page smoke', () => {
});
test('Settings renders Calibrate', async ({ page }) => {
await page.getByRole('navigation').getByRole('link', { name: 'Calibrate', exact: true }).click();
await page.goto('/settings');
await expect(page.getByRole('heading', { name: 'Calibrate' })).toBeVisible({ timeout: 10_000 });
await expect(page.getByRole('button', { name: 'Save Calibration' })).toBeVisible();
});
test('Settings shows Calibration Control mode toggle', async ({ page }) => {
await page.getByRole('navigation').getByRole('link', { name: 'Calibrate', exact: true }).click();
await page.goto('/settings');
await expect(page.getByRole('heading', { name: 'Calibrate' })).toBeVisible({ timeout: 10_000 });
await expect(page.getByRole('group', { name: 'Calibration control mode' })).toBeVisible({
timeout: 10_000,
@@ -85,6 +85,6 @@ test.describe('Page smoke', () => {
await expect(page.getByRole('columnheader', { name: 'Time' })).toBeVisible();
await expect(page.getByRole('columnheader', { name: 'Action' })).toBeVisible();
await expect(page.getByRole('link', { name: /Seer reasoning/i })).toBeVisible();
await expect(page.getByText(/No oath rows yet|Loading…/)).toBeVisible({ timeout: 15_000 });
await expect(page.getByText(/No oath rows yet|Loading…/)).toBeVisible({ timeout: 15_000 });
});
});
});