Repository navigation
test(ui): choose the signed-in model in the first-model login e2e - #204173
Merged
Merged
Conversation
- #203379 shows Choose a model before the starter after a provider sign-in. Co-authored-by: obviyus <[email protected]>
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review endedClawSweeper stopped reviewing this revision because the pull request closed. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 24, 2026
…enclaw#204173) `provider-browser-login-first-model.real-gateway.e2e.test.ts` passes again. It follows the sign-in dialog that openclaw#203379 introduced: choose a model, then start the chat. Part of openclaw#204008. ## Problem Since openclaw#203379 ("make provider sign-in easy to find in plugin settings"), a completed provider sign-in shows **Choose a model** first. "Start a new chat with …" appears after the user chooses. openclaw#203379's own test pins this for a verified sign-in (`model-providers-page.login-start-chat.test.ts`, case `verified: true`). The first-model e2e still expected the model name and the starter in the first render, so it has failed on every scheduled run since 20:25Z on 2026-11-22 (first red 95d8741; the window from 7468e30 contains openclaw#203379). Measured locally from the page: the completion carried `modelActivation.modelRef = browser-login-fixture/ready`, and the refreshed catalog listed that model. The dialog showed "Fixture browser sign-in is ready" and "Choose a model". ## Solution Test-only. The e2e clicks **Choose a model** and then uses the starter. The other assertions are unchanged: the agent primary is the account that signed in (`browser-login-fixture/ready@browser-login-fixture:default`), and the starter chat answers through the fixture provider. The test title now says what it proves. ## Evidence - `provider-browser-login-first-model.real-gateway.e2e.test.ts`: fails on `main` (no "… is ready for your agent." text); passes on this branch against a fresh `pnpm ui:build`. Co-authored-by: Ayaan Zaidi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
provider-browser-login-first-model.real-gateway.e2e.test.tspasses again. It follows the sign-in dialog that #203379 introduced: choose a model, then start the chat.Part of #204008.
Problem
Since #203379 ("make provider sign-in easy to find in plugin settings"), a completed provider sign-in shows Choose a model first. "Start a new chat with …" appears after the user chooses. #203379's own test pins this for a verified sign-in (
model-providers-page.login-start-chat.test.ts, caseverified: true). The first-model e2e still expected the model name and the starter in the first render, so it has failed on every scheduled run since 20:25Z on 2026-11-22 (first red a63a429; the window from 8ab2464 contains #203379).Measured locally from the page: the completion carried
modelActivation.modelRef = browser-login-fixture/ready, and the refreshed catalog listed that model. The dialog showed "Fixture browser sign-in is ready" and "Choose a model".Solution
Test-only. The e2e clicks Choose a model and then uses the starter. The other assertions are unchanged: the agent primary is the account that signed in (
browser-login-fixture/ready@browser-login-fixture:default), and the starter chat answers through the fixture provider. The test title now says what it proves.Evidence
provider-browser-login-first-model.real-gateway.e2e.test.ts: fails onmain(no "… is ready for your agent." text); passes on this branch against a freshpnpm ui:build.