fix: fix flaky PlanningModeModal test — use findByText for async rendering

The test clicked 'Medium' and 'Continue' synchronously without waiting
for the scope question options to fully render. Use findByText/findByRole
to wait for elements to appear before interacting, and add a timeout to
the final waitFor for the second question.
This commit is contained in:
Timothy Laurent
2026-05-05 13:32:59 -07:00
parent 2d107ea01c
commit a126b893d1
2 changed files with 7 additions and 4 deletions

View File

@@ -32,8 +32,8 @@ jobs:
- name: Install Bun
uses: oven-sh/setup-bun@v2
- name: Build plugins
run: pnpm -r --filter './plugins/**' build
- name: Build plugins and core packages
run: pnpm build
- name: Lint
run: pnpm lint