Skip to content

test(ui): choose the signed-in model in the first-model login e2e - #204173

Merged
obviyus merged 1 commit into
mainfrom
fix/provider-login-starter-profile
Nov 23, 2026
Merged

obviyus merged 1 commit into
mainfrom
fix/provider-login-starter-profile

Conversation

@obviyus

@obviyus obviyus commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

provider-browser-login-first-model.real-gateway.e2e.test.ts passes 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, 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 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 on main (no "… is ready for your agent." text); passes on this branch against a fresh pnpm ui:build.

- #203379 shows Choose a model before the starter after a provider sign-in.

Co-authored-by: obviyus <[email protected]>

@THE-NAVVV THE-NAVVV left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

​

@clawsweeper

clawsweeper Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review ended

ClawSweeper stopped reviewing this revision because the pull request closed.

View the workflow run.

@obviyus
obviyus merged commit 91dee12 into main Nov 23, 2026
77 checks passed
@obviyus
obviyus deleted the fix/provider-login-starter-profile branch November 23, 2026 17:44
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants