Skip to content

Test: Implement Component: New Delivery (Step 1) Validation Requirements - #546

Merged
johdanike merged 1 commit into
SwiftChainn:mainfrom
Ikechukwu-Patrick:test-comp-delivery-step1
Sep 1, 2026
Merged

Test: Implement Component: New Delivery (Step 1) Validation Requirements#546
johdanike merged 1 commit into
SwiftChainn:mainfrom
Ikechukwu-Patrick:test-comp-delivery-step1

Conversation

@Ikechukwu-Patrick

Copy link
Copy Markdown
Contributor

Closes #500

Summary
Implements automated component tests using React Testing Library to verify that the New Delivery (Step 1) form enforces strict validation on required fields.

Changes Proposed

  • Created __tests__/components/DeliveryStep1.test.tsx.
  • Added tests asserting that submitting an empty form triggers validation warnings for Origin and Destination.
  • Verified that validation states clear dynamically as users populate inputs.
  • Ensured the onNext callback is safely blocked during invalid states and triggers correctly with validated payload data.

@drips-wave

drips-wave Bot commented Sep 1, 2026

Copy link
Copy Markdown

@Ikechukwu-Patrick Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@johdanike
johdanike merged commit 2685841 into SwiftChainn:main Sep 1, 2026
0 of 2 checks 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.

[Test] Component: New Delivery (Step 1) Validation Requirements

2 participants