Skip to content

test: TableDesigner alter test is flaky #923

Closed

Description

@EVWorth

In one full npm run test:unit run, "TableDesigner > creating a table shows the statement first > shows an alter as well, and runs nothing until Execute" (src/components/designer/__tests__/TableDesigner.test.tsx) failed. It passed when run alone twice and in the next full run.

Likely cause

The test waits for findByDisplayValue("users") and then clicks "Remove column name" straight away. That button only exists after the columns have loaded, which can happen later under load.

Fix

Wait for the column rows, for example await screen.findByLabelText("Remove column name"), before clicking.

Activity

  1. added
    bug
    on Oct 30, 2026
  2. added 2 commits that reference this issue on Oct 30, 2026
    9f81c96
    0cf1ecb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions