diff --git a/apps/ui/tests/worktree-integration.spec.ts b/apps/ui/tests/worktree-integration.spec.ts index d78db9a9..587f7085 100644 --- a/apps/ui/tests/worktree-integration.spec.ts +++ b/apps/ui/tests/worktree-integration.spec.ts @@ -2716,10 +2716,11 @@ test.describe("Worktree Integration Tests", () => { const editDialog = page.locator('[data-testid="edit-feature-dialog"]'); await expect(editDialog).toBeVisible({ timeout: 5000 }); - // Update the description + // Update the description - wait for the textarea to be visible const descInput = page.locator( - '[data-testid="edit-feature-description"] textarea' + '[data-testid="feature-description-input"]' ); + await expect(descInput).toBeVisible({ timeout: 5000 }); await descInput.fill("Feature with PR URL persistence - updated"); // Save the feature