Skip to content

Commit 4099c44

Browse files
e2e testing: Assistant token count flake fix (#9228)
Assistant token count is flaking when the chat window needs scrolled to see all chat entries. SInce this testing token count, if the count matches that implicitely means teh message count will be good as well. ### QA Notes <!-- Positron team members: please add relevant e2e test tags, so the tests can be run when you open this pull request. - Instructions: https://github.com/posit-dev/positron/blob/main/test/e2e/README.md#pull-requests-and-test-tags - Available tags: https://github.com/posit-dev/positron/blob/main/test/e2e/infra/test-runner/test-tags.ts --> <!-- Add additional information for QA on how to validate the change, paying special attention to the level of risk, adjacent areas that could be affected by the change, and any important contextual information not present in the linked issues. -->
1 parent 44c6353 commit 4099c44

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/e2e/tests/positron-assistant/positron-assistant.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ test.describe('Positron Assistant Chat Tokens', { tag: [tags.WIN, tags.ASSISTANT
226226
await app.workbench.assistant.enterChatMessage(message2);
227227

228228
await app.workbench.assistant.waitForReadyToSend();
229-
await app.workbench.assistant.verifyNumberOfVisibleResponses(2, true);
230229

231230
const totalTokens = await app.workbench.assistant.getTotalTokenUsage();
232231
expect(totalTokens).toBeDefined();

0 commit comments

Comments
 (0)