Skip to content

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

chore: files changed app/test/e2e/specs/navigation.spec.ts,app/test/e2e/specs/user-journey-settings-

Steven Enamakel8db29c059db8
diff --git a/app/test/e2e/specs/navigation.spec.ts b/app/test/e2e/specs/navigation.spec.ts
index 9e10664c35..8fca5d1851 100644
--- a/app/test/e2e/specs/navigation.spec.ts
+++ b/app/test/e2e/specs/navigation.spec.ts
@@ -15,6 +15,7 @@
*/
import { waitForApp, waitForAppReady } from '../helpers/app-helpers';
import { hasAppChrome, waitForTestId } from '../helpers/element-helpers';
+import { isTauriDriver } from '../helpers/platform';
import { resetApp } from '../helpers/reset-app';
import { navigateViaHash, waitForHomePage } from '../helpers/shared-flows';
import { startMockServer, stopMockServer } from '../mock-server';
@@ -97,7 +98,8 @@ describe('Navigation', () => {
const escaped = route.hash.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
expect(hash).toMatch(new RegExp(`^#${escaped}`));
- if (route.readyTestId) {
+ // waitForTestId is tauri-driver only; Mac2 keeps the hash + char checks.
+ if (route.readyTestId && isTauriDriver()) {
await waitForTestId(route.readyTestId, 15_000);
}
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 93f54b788b..bedae62104 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
@@ -18,6 +18,7 @@
*/
import { waitForApp, waitForAppReady } from '../helpers/app-helpers';
import { textExists, waitForTestId } from '../helpers/element-helpers';
+import { isTauriDriver } from '../helpers/platform';
import { resetApp } from '../helpers/reset-app';
import {
navigateToBilling,
@@ -95,7 +96,8 @@ describe('User journey — settings round-trip', () => {
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);
+ // waitForTestId is tauri-driver only; the marker check below covers Mac2.
+ if (isTauriDriver()) await waitForTestId('memory-page', 10_000);
const dataMarkers = ['Documents', 'Memory', 'Engine'];
let found = false;