Skip to content

fix(test): update project create fixture version - #46

Closed
Hweinstock wants to merge 1 commit into
refactorfrom
fix/project-create-exit-test-fixture
Closed

Hweinstock wants to merge 1 commit into
refactorfrom
fix/project-create-exit-test-fixture

Conversation

@Hweinstock

@Hweinstock Hweinstock commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Spec

Update the project create restored-terminal test fixture to satisfy the current project schema. The fake create result used version: 1, while ProjectSpecSchema requires version 2.

Regression introduced by aws/agentcore-cli#2348, which required project schema version 2 without updating this fixture.

Reproduction

bun test src/handlers/project/create/create.screen.test.tsx \
  --test-name-pattern "successful TUI create leaves the launch command in the restored terminal"

Before this change, the fixture throws a schema validation error and the test times out waiting for the success screen.

Verification

  • Focused regression: 10/10 isolated runs passed.
  • Create screen suite: 24/24 passed.
  • Full unit suite: 3,550/3,550 passed in 92.43s.
  • bun run typecheck
  • bun run lint:check
  • bun run format:check
  • bun run secrets:check
  • git diff --check

Testing instructions

Run the reproduction command above and confirm the test reaches the successful TUI exit and finds Next step: cd DemoApp/ && agentcore in restored-terminal output.

@Hweinstock Hweinstock closed this Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant