The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(profiles): serialise the shared-id describes; cite why the id field is absent\n\ntinysweeper/critique, two findings on settings-profiles-crud.spec.ts.\n\n1. test-isolation (high) — both describes reuse one hard-coded profile id against\n a single core, so parallel workers can interleave a create with another test's\n afterEach delete. Serialising each describe keeps the id stable and readable\n rather than randomising it, which would have made failures harder to trace.\n\n2. unchecked-assert-location (medium) — NOT a defect. Edit mode renders the id as\n a non-editable <code>, not a read-only input: ProfileEditorPage.tsx:224-229\n branches on isCreate and only the create branch renders a SettingsTextField\n with an aria-label. toHaveCount(0) is correct. The comment now cites that,\n since the bot flagged the previous wording as author uncertainty.\n\nVerified by reading ProfileEditorPage.tsx, not executed.\n
M3gA-Mind9c20b26c43fc
diff --git a/app/test/playwright/specs/settings-profiles-crud.spec.ts b/app/test/playwright/specs/settings-profiles-crud.spec.tsindex c9f42a1ccb..4f764ed138 100644--- a/app/test/playwright/specs/settings-profiles-crud.spec.ts+++ b/app/test/playwright/specs/settings-profiles-crud.spec.ts@@ -69,6 +69,11 @@ async function deleteFromCore(id: string) {}test.describe('Agent profiles — create', () => {+ // These tests share one hard-coded profile id against a single core, so they+ // must not interleave: a parallel worker's afterEach delete can land between+ // another test's create and its assertion. Serialising the describe is the+ // fix that keeps the id stable and readable (tinysweeper, test-isolation).+ test.describe.configure({ mode: 'serial' });const NAME = 'W1 Browser Profile';const ID = 'w1-browser-profile';@@ -132,6 +137,11 @@ test.describe('Agent profiles — create', () => {});test.describe('Agent profiles — activate and delete', () => {+ // These tests share one hard-coded profile id against a single core, so they+ // must not interleave: a parallel worker's afterEach delete can land between+ // another test's create and its assertion. Serialising the describe is the+ // fix that keeps the id stable and readable (tinysweeper, test-isolation).+ test.describe.configure({ mode: 'serial' });const NAME = 'W1 Lifecycle Profile';const ID = 'w1-lifecycle-profile';@@ -190,7 +200,11 @@ test.describe('Agent profiles — activate and delete', () => {await row(page, NAME).getByText('Edit').click();await expect(page.getByLabel('Name', { exact: true })).toHaveValue(NAME, { timeout: 30_000 });- // The id is read-only in edit mode — there is no ID field to type into.+ // Edit mode renders the id as a non-editable `<code>`, not a read-only input:+ // `ProfileEditorPage.tsx:224-229` branches on `isCreate` and only the create+ // branch renders a `SettingsTextField` with an `aria-label`. So there is no+ // labelled control to find and the count is 0, not 1 (tinysweeper flagged this+ // as possibly a hidden-but-present field; it is genuinely absent).await expect(page.getByLabel('ID', { exact: true })).toHaveCount(0);});});