MCPcopy Create free account
hub / github.com/GCWing/BitFun / getMessageCount

Method getMessageCount

tests/e2e/page-objects/ChatPage.ts:144–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 }
143
144 async getMessageCount(): Promise<{ user: number; model: number }> {
145 const userMessages = await $$(this.selectors.userMessage);
146 const modelResponses = await $$(this.selectors.modelResponse);
147
148 return {
149 user: userMessages.length,
150 model: modelResponses.length,
151 };
152 }
153
154 async isModelSelectorVisible(): Promise<boolean> {
155 return this.isElementVisible(this.selectors.modelSelector);

Callers 3

l1-chat.spec.tsFile · 0.80
basic-chat.spec.tsFile · 0.80

Calls 1

$$Function · 0.85

Tested by

no test coverage detected