test: add missing test coverage for wxo deployments - #12689
Conversation
… schemas, hooks, and components Frontend (11 new/expanded test files, ~170 tests): - use-connection-panel-state: tests for all handlers, ID sanitization, env var management - step-review: tests for summary display, flows, connections, masking, edit mode - global variable hooks: tests for useGetGlobalVariables auth guard and Zustand hydration - use-patch-deployment: fix incorrect spec field assertion, test URL/body destructuring - deployment-expanded-row, deployment-info-grid, deployment-flow-list: component tests - flow-list-panel, version-panel, connection-search-list: panel component tests - deployment-stepper-payload-builders: tests for buildConnectionPayloads, buildDeploymentUpdatePayload, buildDeploymentPayload, buildProviderAccountPayload Backend (2 expanded test files, ~21 new tests): - test_deployments_response_mapping: tests for update/list/execution/config response shapes - test_deployment_schemas: tests for pagination constraints, execution schemas, snapshot schemas
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@copilot resolve the merge conflicts in this pull request |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-1.9.1 #12689 +/- ##
================================================
Coverage ? 53.00%
================================================
Files ? 2023
Lines ? 183792
Branches ? 28873
================================================
Hits ? 97410
Misses ? 85284
Partials ? 1098
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
* test(deployments): add comprehensive test coverage for WXO deployment schemas, hooks, and components Frontend (11 new/expanded test files, ~170 tests): - use-connection-panel-state: tests for all handlers, ID sanitization, env var management - step-review: tests for summary display, flows, connections, masking, edit mode - global variable hooks: tests for useGetGlobalVariables auth guard and Zustand hydration - use-patch-deployment: fix incorrect spec field assertion, test URL/body destructuring - deployment-expanded-row, deployment-info-grid, deployment-flow-list: component tests - flow-list-panel, version-panel, connection-search-list: panel component tests - deployment-stepper-payload-builders: tests for buildConnectionPayloads, buildDeploymentUpdatePayload, buildDeploymentPayload, buildProviderAccountPayload Backend (2 expanded test files, ~21 new tests): - test_deployments_response_mapping: tests for update/list/execution/config response shapes - test_deployment_schemas: tests for pagination constraints, execution schemas, snapshot schemas * Fix nested button issue; remove more unnecessary tests * update fe tests * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes * fix tests; filter sql warnings * ruff --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Viktor Avelino <64113566+viktoravelino@users.noreply.github.com>
* test(deployments): add comprehensive test coverage for WXO deployment schemas, hooks, and components Frontend (11 new/expanded test files, ~170 tests): - use-connection-panel-state: tests for all handlers, ID sanitization, env var management - step-review: tests for summary display, flows, connections, masking, edit mode - global variable hooks: tests for useGetGlobalVariables auth guard and Zustand hydration - use-patch-deployment: fix incorrect spec field assertion, test URL/body destructuring - deployment-expanded-row, deployment-info-grid, deployment-flow-list: component tests - flow-list-panel, version-panel, connection-search-list: panel component tests - deployment-stepper-payload-builders: tests for buildConnectionPayloads, buildDeploymentUpdatePayload, buildDeploymentPayload, buildProviderAccountPayload Backend (2 expanded test files, ~21 new tests): - test_deployments_response_mapping: tests for update/list/execution/config response shapes - test_deployment_schemas: tests for pagination constraints, execution schemas, snapshot schemas * Fix nested button issue; remove more unnecessary tests * update fe tests * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes * fix tests; filter sql warnings * ruff --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Viktor Avelino <64113566+viktoravelino@users.noreply.github.com> (cherry picked from commit 3fb40f3)
Adds missing test coverage