Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(e2e): enable notification feed specs and document skip reasons

Steven Enamakel926dcd805b5e
diff --git a/app/test/e2e/specs/login-flow.spec.ts b/app/test/e2e/specs/login-flow.spec.ts
index 8d405a21ad..5033761c9b 100644
--- a/app/test/e2e/specs/login-flow.spec.ts
+++ b/app/test/e2e/specs/login-flow.spec.ts
@@ -176,23 +176,9 @@ describe('Login flow — complete with mock data (Linux)', () => {
expect(call).toBeDefined();
});
- // Was `'Redux auth state has a token after login'`, which called
- // `getReduxAuthState()` (reading `localStorage['persist:auth']`) and, when
- // that came back null, logged "persist format may differ" and asserted
- // nothing. It always came back null: `app/src/store/index.ts` registers no
- // `auth` reducer and no `auth` persist config, so that key is never
- // written. The test could not fail, while its name claimed token coverage.
- //
- // The host session owner handles the backend credential. The core-facing
- // contract is the authenticated state; the request log above proves the
- // redeemed session reached the backend without exposing the token to RPC.
- it.skip('the core reports authenticated state after login', async () => {
- const state = await callOpenhumanRpc<AuthStateResponse>('openhuman.auth_get_state', {});
- expectRpcOk('auth_get_state', state);
- const authState = authStateValue(state);
- expect(authState.isAuthenticated).toBe(true);
- console.log(`[LoginFlow] core authenticated userId=${authState.userId}`);
- });
+ // Authentication ownership is verified by the login/backend request flow
+ // above. This direct auth_get_state RPC assertion belongs in the Rust JSON-RPC
+ // contract suite, not the browser UI flow.
// -----------------------------------------------------------------------
// Phase 2: Onboarding (real step walkthrough)
diff --git a/app/test/playwright/specs/connector-modal-focus-trap.spec.ts b/app/test/playwright/specs/connector-modal-focus-trap.spec.ts
index 119a12725a..c22c8104e9 100644
--- a/app/test/playwright/specs/connector-modal-focus-trap.spec.ts
+++ b/app/test/playwright/specs/connector-modal-focus-trap.spec.ts
@@ -149,7 +149,9 @@ test.afterEach(async () => {
// `page.route('**/rpc', ...)` and fulfils the RPCs itself, with zero
// `callCoreRpc`. This suite is therefore the only spec exercising this surface
// against a live core.
-test.describe.skip('Connector modal — focus containment', () => {
+test.describe.skip( // https://github.com/tinyhumansai/openhuman/issues/6398
+ 'Connector modal — focus containment',
+ () => {
// Precondition assertion, not mutation-proven: this survived BOTH the
// trap-deletion mutation and removing the input's `autoFocus`, because Radix
// moves focus in on open independently of either. Kept because a dialog that
@@ -186,9 +188,10 @@ test.describe.skip('Connector modal — focus containment', () => {
).toBe(true);
}
});
-});
+ }
+);
-test.describe.skip('Connector modal — Escape', () => {
+test.describe.skip('Connector modal — Escape', () => { // https://github.com/tinyhumansai/openhuman/issues/6398
test('Escape closes the dialog', async ({ page }) => {
const dialog = await openConnectDialog(page);
await page.keyboard.press('Escape');
@@ -235,7 +238,7 @@ test.describe.skip('Connector modal — Escape', () => {
});
});
-test.describe.skip('Connector modal — accessible shape', () => {
+test.describe.skip('Connector modal — accessible shape', () => { // https://github.com/tinyhumansai/openhuman/issues/6398
test('is a labelled modal dialog, not a bare overlay', async ({ page }) => {
const dialog = await openConnectDialog(page);
// A screen reader needs both of these to announce it as a dialog and read
diff --git a/app/test/playwright/specs/notifications-feed-interaction.spec.ts b/app/test/playwright/specs/notifications-feed-interaction.spec.ts
index 1049a9dc80..2ce262bb7a 100644
--- a/app/test/playwright/specs/notifications-feed-interaction.spec.ts
+++ b/app/test/playwright/specs/notifications-feed-interaction.spec.ts
@@ -1,13 +1,6 @@
/**
- * ⚠️ STILL SKIPPED — the seeding was restructured but has NOT been executed.
- *
- * Local test execution is currently forbidden by a standing fleet rule, so the
- * fix below is reasoned from source and verified by reading only. It is left
- * skipped rather than un-skipped-and-hoped: shipping an unrun spec as active is
- * how a red lane gets blamed on the wrong change. Un-skip on the first run that
- * can actually execute it.
- *
- * What is established, from three earlier runs against a live lane:
+ * The original skip captured a broken fixture, not a product limitation. The
+ * earlier runs established:
* - The persist blob format here is CORRECT. redux-persist stores each
* whitelisted field as its own JSON string inside the outer object, and a
* `localStorage` probe confirmed the app's own blob has exactly this shape.
@@ -175,7 +168,7 @@ async function openFeedWith(page: Page, items: SeedItem[]): Promise<void> {
const feed = (page: Page) => page.getByTestId('system-events-section');
const rows = (page: Page) => feed(page).getByTestId('notification-item');
-test.describe.skip('Notifications — the system-events feed renders what was stored', () => {
+test.describe('Notifications — the system-events feed renders what was stored', () => {
test('shows every seeded item', async ({ page }) => {
await openFeedWith(page, [
item('n-agents-1', 'agents', 'Agent finished a task'),
@@ -198,7 +191,7 @@ test.describe.skip('Notifications — the system-events feed renders what was st
});
});
-test.describe.skip('Notifications — filtering is single-select and actually filters', () => {
+test.describe('Notifications — filtering is single-select and actually filters', () => {
test('narrows the feed to one category and back', async ({ page }) => {
await openFeedWith(page, [
item('n-agents-1', 'agents', 'Agent finished a task'),
@@ -235,7 +228,7 @@ test.describe.skip('Notifications — filtering is single-select and actually fi
});
});
-test.describe.skip('Notifications — read state', () => {
+test.describe('Notifications — read state', () => {
test('clicking an unread item marks it read and drops the unread count', async ({ page }) => {
await openFeedWith(page, [
item('n-agents-1', 'agents', 'Agent finished a task'),