SciCatProject / SciCatProject/frontend

ConfigurableActionsComponent test is flaky

Open
#2,129 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
29
Forks
44
Avg merge
20h 2m
Merged PRs (30d)
20

Description

unit tests sporadically fail with

) 0060: there should be as many actions as defined in default configuration
2300
     1010: ConfigurableActionsComponent
2301
     Expected 0 to equal 9.

Re-running the test does resolve the error sometimes.

Contributor guide

Open the contributing guide

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.

Research direction

Locate the unit test for ConfigurableActionsComponent and reproduce the sporadic failure where the action count is 0 instead of 9. Investigate the test setup and configuration initialization, then verify the test consistently passes with the expected nine actions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.