bit Boilerplate's chat panel sometimes shows nothing after Ask on a product card in the PostgreSQL job

Open
#15,250 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
testing

Research direction

Start with AiChatPanelCardsUITests.ProductCards_Should_ShowWhatTheToolLoaded_AndReachLaterTurnsAsTheAssistants and the final UI step in the PostgreSQL template job, comparing it with the earlier passing UI steps. Check why the panel does not render the next turn after the test confirms it reached the chat client. Done means the intermittent failure is reproduced or explained and the UI step passes reliably in that job.

Written by the indexing model from the issue text.

Description

AiChatPanelCardsUITests.ProductCards_Should_ShowWhatTheToolLoaded_AndReachLaterTurnsAsTheAssistants fails now and then in the PostgreSQL template job, always in its last UI step (Blazor WebAssembly with prerendering, output caching and InvariantGlobalization):

It fails at the same line every time, waiting for "It seats seven." after Ask on the first card:

Locator expected to be visible
Expect "ToBeVisibleAsync" Locator(".panel-cnt").GetByText("It seats seven.") with timeout 60000ms

The server did get the next turn: the test's own check that "Tell me more about the EQB SUV" reached the chat client passes just before. The panel never shows it, though. In the job's videos the first turn (the two cards, the answer and the "Which one is cheaper?" suggestion) stays exactly as it was for the whole minute: no new user message, no answer, and the suggestion is still there.

The earlier UI steps of the same job (WebAssembly, and WebAssembly with prerendering and output caching in Firefox) pass it.

Dominant language
C#
Stars
1.4k
Forks
264
Avg merge
7h 38m
Merged PRs (30d)
544

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bitfoundation/bitplatform

All issues in bitfoundation/bitplatform

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.