You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
test: wait for designer columns before using them
fix: grid cell keys, tx switch prompt, CSV import (#922)