Skip to content

πŸ™Œ OpenHands: AI-Driven Development

test(e2e): launch the same-model profile test from the BETA profile (#18121)

Engel Nyst6e8157147936
diff --git a/tests/e2e/mock-llm/settings/mock-llm-profile-management.spec.ts b/tests/e2e/mock-llm/settings/mock-llm-profile-management.spec.ts
index 7139e7225d..2679318ef9 100644
--- a/tests/e2e/mock-llm/settings/mock-llm-profile-management.spec.ts
+++ b/tests/e2e/mock-llm/settings/mock-llm-profile-management.spec.ts
@@ -308,6 +308,9 @@ test.describe("same-model profile identity", () => {
model: SHARED_MODEL,
});
await activateProfileViaUI(page, PROFILE_BETA);
+ // A launch from the named agent profile runs its llm_profile_ref, not the
+ // standalone active LLM profile, so point it at BETA too.
+ await ensureMockLLMAgentProfile(page.request, PROFILE_BETA);
// Register a trajectory for the conversation.
// Turn 0 is padding: the agent-server makes an internal LLM call