Skip to content

Add integration tests for createServerWorkflow API - #747

Merged
robstryker merged 1 commit into
redhat-developer:masterfrom
robstryker:itest-create-server-workflow
Aug 21, 2026
Merged

Add integration tests for createServerWorkflow API#747
robstryker merged 1 commit into
redhat-developer:masterfrom
robstryker:itest-create-server-workflow

Conversation

@robstryker

Copy link
Copy Markdown
Collaborator

Summary

  • Adds 8 integration tests for the createServerWorkflow API introduced in Create server workflow #657
  • Tests the two-step workflow: initial request returns attribute prompts, second request with data creates the server
  • Covers success path, validation failures (missing id, missing home, null request, invalid type), and duplicate server rejection

Fixes #658

Test plan

  • CI passes (integration tests run against a real WildFly instance)

🤖 Generated with Claude Code

Tests cover the two-step workflow introduced in PR redhat-developer#657:
- Initial request returns prompt items for server attributes
- Submitting valid data creates the server
- Missing id rejected
- Missing server home returns invalid fields
- Null request and null/invalid server type rejected
- Duplicate server name rejected

Fixes redhat-developer#658

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@robstryker
robstryker merged commit 95d26a4 into redhat-developer:master Aug 21, 2026
1 check passed
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.

Implement integration-tests covering new api changes - Create server workflow

1 participant