Skip to content

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

test(e2e): consolidate settings round-trip tests into a single spec

Steven Enamakel57182a5f9048
diff --git a/app/test/e2e/specs/user-journey-settings-round-trip.spec.ts b/app/test/e2e/specs/user-journey-settings-round-trip.spec.ts
index 220e23aab5..93f54b788b 100644
--- a/app/test/e2e/specs/user-journey-settings-round-trip.spec.ts
+++ b/app/test/e2e/specs/user-journey-settings-round-trip.spec.ts
@@ -8,7 +8,7 @@
* Journey:
* 1. Login + land on home
* 2. /settings — verify root index loads
- * 3. /settings/memory-data — verify loads
+ * 3. /settings/memory-data — verify it redirects to Memory → Documents
* 4. /settings/developer-options — verify loads
* 5. /settings/billing — verify billing panel loads
* 6. /home — verify home loads
@@ -17,7 +17,7 @@
* Each screen must load within 10s with non-trivial content (no blank/error state).
*/
import { waitForApp, waitForAppReady } from '../helpers/app-helpers';
-import { textExists } from '../helpers/element-helpers';
+import { textExists, waitForTestId } from '../helpers/element-helpers';
import { resetApp } from '../helpers/reset-app';
import {
navigateToBilling,
@@ -89,12 +89,15 @@ describe('User journey — settings round-trip', () => {
expect(found).toBe(true);
});
- it('/settings/memory-data — loads within 10s', async () => {
+ it('/settings/memory-data — redirects to the Memory page within 10s', async () => {
+ // The v1 memory data panel is gone; the slug redirects to the Memory
+ // page's Documents chip (/connections?tab=brain&brain=documents).
console.log(`${LOG_PREFIX} Navigating to /settings/memory-data`);
await navigateViaHash('/settings/memory-data');
await waitForPanelLoad('/settings/memory-data');
+ await waitForTestId('memory-page', 10_000);
- const dataMarkers = ['Memory', 'Data', 'Storage', 'Export', 'Import', 'Settings'];
+ const dataMarkers = ['Documents', 'Memory', 'Engine'];
let found = false;
for (const marker of dataMarkers) {
if (await textExists(marker)) {
diff --git a/app/test/playwright/specs/navigation-settings-panels.spec.ts b/app/test/playwright/specs/navigation-settings-panels.spec.ts
index 31c4dc2cc9..0928c51990 100644
--- a/app/test/playwright/specs/navigation-settings-panels.spec.ts
+++ b/app/test/playwright/specs/navigation-settings-panels.spec.ts
@@ -9,7 +9,9 @@ interface PanelCheck {
const panels: PanelCheck[] = [
{ hash: '/settings', markers: ['Settings', 'Appearance', 'Privacy'] },
- { hash: '/settings/memory-data', markers: ['Memory', 'Data', 'Storage'] },
+ // The v1 memory data panel is gone; this slug redirects to the Memory
+ // page's Documents chip (/connections?tab=brain&brain=documents).
+ { hash: '/settings/memory-data', markers: ['Documents', 'Memory'] },
{ hash: '/settings/notifications-hub', markers: ['Plan & billing'] },
{ hash: '/settings/developer-options', markers: ['Developer', 'Debug', 'Advanced'] },
{ hash: '/settings/account', markers: ['Account', 'Plan & billing'] },
diff --git a/app/test/playwright/specs/user-journey-settings-round-trip.spec.ts b/app/test/playwright/specs/user-journey-settings-round-trip.spec.ts
index c5ca954964..51dbd395de 100644
--- a/app/test/playwright/specs/user-journey-settings-round-trip.spec.ts
+++ b/app/test/playwright/specs/user-journey-settings-round-trip.spec.ts
@@ -11,7 +11,9 @@ interface PanelCheck {
const panels: PanelCheck[] = [
{ hash: '/settings', markers: ['Settings', 'Appearance', 'Notifications'] },
- { hash: '/settings/memory-data', markers: ['Memory', 'Data', 'Storage'] },
+ // The v1 memory data panel is gone; this slug redirects to the Memory
+ // page's Documents chip (/connections?tab=brain&brain=documents).
+ { hash: '/settings/memory-data', markers: ['Documents', 'Memory'] },
{ hash: '/settings/developer-options', markers: ['Developer', 'Debug', 'Advanced'] },
{ hash: '/settings/account', markers: ['Account', 'Billing'] },
// Home folded into the unified chat surface — /home redirects to /chat.