Skip to content

Commit 76378dd

Browse files
committed
test: identify the provider in the quota ownership fixture
1 parent ca087ed commit 76378dd

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎ui/src/e2e/chat-quota-pill-93041.e2e.test.ts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,15 @@ suite.define(() => {
448448
assistantAgentId: "main",
449449
defaultAgentId: "main",
450450
deferredMethods: ["models.authStatus", "models.authStatus", "agent.identity.get"],
451+
// The selected agent's session metrics may not have arrived; its transcript
452+
// still identifies which provider's quota belongs in the popover.
453+
historyMessages: [
454+
{
455+
role: "assistant",
456+
content: [{ type: "text", text: "Ready." }],
457+
provider: "openai",
458+
},
459+
],
451460
methodResponses: {
452461
"agent.identity.get": {
453462
cases: [

0 commit comments

Comments
 (0)