Skip to content

[Task] Fix flaky test on main #1250

@kantord

Description

@kantord

Main has a flaky test. It seems to be due to a timing issue or race condition.

Here is an example of a failing job: https://github.com/stacklok/toolhive-studio/actions/runs/19137353334/job/54692718082

 FAIL  renderer/src/features/clients/components/__tests__/manage-clients-button.test.tsx > ManageClientsButton – BDD flows > disables clients from a group
TestingLibraryElementError: Unable to find role="switch" and name "cursor"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions