Workbench tests fail a template job at random

Open
#14,635 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp, playwright, postgresql
Domain
backend, testing

Research direction

Start with the three named tests and their failure traces in the linked CI runs, then follow WorkbenchTestReviewer.Comment and the screenshot and IndexedDB checks. Compare the surrounding test behavior and relevant CI configuration to identify a reproducible cause. Done means the intermittent failures have a clear cause and the affected tests pass reliably.

Written by the indexing model from the issue text.

Description

Two Workbench tests failed once each in All CI 41891696845, and each of them failed its whole job, with everything else passing:

Job Test Error
PostgreSQL, net10 ReviewApiTests.AReply_Should_ReachTheReviewerAtOnce, 1 of 2499 TimeoutException: The review didn't reach the expected state in time. from WorkbenchTestReviewer.Comment
SQL Server, net11 ThemeAndCultureUITests.TypicalVision_Should_TakeTheFilterAway (DesktopWithoutAgent), 1 of 2588 PlaywrightException: Element is not attached to the DOM while taking the screenshot of the swatches

In the first one the comment never reached the server's copy of the review in 15 seconds, while the tests right before and after it took under half a second, comment included.

HomePageUITests.TheSoundSwitch_Should_ShowOnlyWithAnAgent (DesktopWithAgent) also failed once, in All CI 41861696424, when IsReplySoundMuted never showed up in IndexedDB. It may have another cause.

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.