Skip to content

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

test: correct desktop settings expectations

Steven Enamakela5e39896800d
diff --git a/app/src/components/settings/panels/AutonomyPanel.tsx b/app/src/components/settings/panels/AutonomyPanel.tsx
index df36d88065..c9716574a6 100644
--- a/app/src/components/settings/panels/AutonomyPanel.tsx
+++ b/app/src/components/settings/panels/AutonomyPanel.tsx
@@ -140,6 +140,7 @@ const AutonomyRateLimitSection = () => {
type="button"
variant="primary"
size="xs"
+ data-testid="autonomy-max-actions-save"
onClick={() => void onSave()}
disabled={!canSave}>
{status.kind === 'saving' ? t('autonomy.statusSaving') : t('common.save')}
diff --git a/app/test/e2e/specs/memory-engine-settings.spec.ts b/app/test/e2e/specs/memory-engine-settings.spec.ts
index e9c9daf00d..10e73f202e 100644
--- a/app/test/e2e/specs/memory-engine-settings.spec.ts
+++ b/app/test/e2e/specs/memory-engine-settings.spec.ts
@@ -47,10 +47,27 @@ describe('Memory engine settings panel (real UI flow)', () => {
it('gates Switch until the selected engine has what it needs', async function () {
this.timeout(60_000);
await clickTestId('memory-engine-radio-supermemory', 10_000);
- // The key field is a password input; without one the switch stays disabled.
+ // Supermemory's key is optional; its endpoint is required. Leave the
+ // endpoint blank to verify the gate that the core advertises for it.
+ const endpoint = await browser.$('#memory-engine-supermemory-endpoint');
+ await endpoint.waitForExist({ timeout: 10_000 });
+ await browser.execute(() => {
+ const el = document.querySelector<HTMLInputElement>(
+ '#memory-engine-supermemory-endpoint'
+ );
+ if (!el) return;
+ const setter = Object.getOwnPropertyDescriptor(
+ window.HTMLInputElement.prototype,
+ 'value'
+ )?.set;
+ if (setter) setter.call(el, '');
+ else el.value = '';
+ el.dispatchEvent(new Event('input', { bubbles: true }));
+ el.dispatchEvent(new Event('change', { bubbles: true }));
+ });
const sw = await waitForTestId('memory-engine-switch', 10_000);
expect(await sw.isEnabled()).toBe(false);
- expect(await textExists('API key')).toBe(true);
+ expect(await textExists('Endpoint')).toBe(true);
});
it('keeps the local engine as the oracle-visible active engine', async () => {
diff --git a/app/test/e2e/specs/settings-advanced-config.spec.ts b/app/test/e2e/specs/settings-advanced-config.spec.ts
index a49d408a5e..55c9901f3c 100644
--- a/app/test/e2e/specs/settings-advanced-config.spec.ts
+++ b/app/test/e2e/specs/settings-advanced-config.spec.ts
@@ -142,7 +142,9 @@ describe('Settings - Advanced Config', function () {
el.dispatchEvent(new Event('input', { bubbles: true }));
el.dispatchEvent(new Event('change', { bubbles: true }));
}, String(target));
- await clickText('Save', 10_000);
+ const save = await browser.$('[data-testid="autonomy-max-actions-save"]');
+ await save.waitForClickable({ timeout: 10_000 });
+ await save.click();
await waitForText('Saved.', 10_000);
await browser.waitUntil(
diff --git a/gitbooks/developing/e2e-testing.md b/gitbooks/developing/e2e-testing.md
index 0a607a8a1f..93f61a8346 100644
--- a/gitbooks/developing/e2e-testing.md
+++ b/gitbooks/developing/e2e-testing.md
@@ -171,7 +171,7 @@ E2E_PORT_BASE=31000 pnpm --filter openhuman-app test:e2e:web
### Push / PR checks
-The default pull-request gate is `.github/workflows/ci-lite.yml` (quick lane: quality checks plus complete unit-test suites for each changed area). E2E suites do not run on PRs to `main`. The full E2E matrix (Rust mock-backend, Playwright web, desktop on Linux/macOS/Windows) runs in `.github/workflows/ci-full.yml` on PRs targeting the `release` branch and on every push to it.
+The default pull-request gate is `.github/workflows/ci-fast.yml` (quality checks plus complete unit-test suites for changed areas). E2E suites do not run on PRs to `main`. The full E2E matrix (Rust mock-backend, Playwright web, desktop on Linux/macOS/Windows) runs in `.github/workflows/ci-full.yml` on PRs targeting the `release` branch and on every push to it.
macOS and Windows desktop E2E do not run on pushes or PRs. `.github/workflows/e2e.yml` is a manually dispatched workflow whose `run_macos` / `run_windows` inputs default to `false` until #5485 lands a native driver for each platform; someone has to opt in explicitly to get cross-platform desktop signal before promotion.
diff --git a/gitbooks/developing/release-policy.md b/gitbooks/developing/release-policy.md
index bf6fffe1f4..cec22150b6 100644
--- a/gitbooks/developing/release-policy.md
+++ b/gitbooks/developing/release-policy.md
@@ -43,7 +43,7 @@ Implementation: `app/src/utils/oauthAppVersionGate.ts`, `app/src/utils/desktopDe
Two long-lived branches, two CI lanes:
-- `main`: where all feature/fix PRs land. Every PR (and push to main) runs CI Lite ([`ci-lite.yml`](../../.github/workflows/ci-lite.yml)): quality checks plus complete unit-test suites for each changed area, gated at ≥ 80% diff coverage by the `PR CI Gate` check.
+- `main`: where all feature/fix PRs land. Every PR runs CI Fast ([`ci-fast.yml`](../../.github/workflows/ci-fast.yml)), with quality checks and complete unit-test suites for changed areas, gated at ≥ 80% diff coverage.
- `release`: a maintainer-promoted snapshot of `main` that releases are cut from. PRs targeting `release` and every push to `release` run CI Full ([`ci-full.yml`](../../.github/workflows/ci-full.yml)): complete unit suites, Rust mock-backend E2E, Playwright web E2E, and the full desktop E2E matrix on Linux/macOS/Windows. The `CI Full Gate` check aggregates every lane except the Playwright spec run, which is non-blocking signal for now (`continue-on-error`, flaky under CI contention, #3615): a green gate does not prove Playwright specs passed, so check that lane's result in the run before cutting. Only the Playwright artifact _build_ is gated.
The cycle: