diff --git a/awx/ui/src/screens/Instances/InstanceAdd/InstanceAdd.test.js b/awx/ui/src/screens/Instances/InstanceAdd/InstanceAdd.test.js index 1c4d8d1d1c..ac667c37ad 100644 --- a/awx/ui/src/screens/Instances/InstanceAdd/InstanceAdd.test.js +++ b/awx/ui/src/screens/Instances/InstanceAdd/InstanceAdd.test.js @@ -36,6 +36,7 @@ describe('', () => { }); }); expect(InstancesAPI.create).toHaveBeenCalledWith({ + listener_port: null, // injected if listener_port is not set node_type: 'hop', }); expect(history.location.pathname).toBe('/instances/13/details'); diff --git a/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js b/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js index c675fb7b44..e1882d3a75 100644 --- a/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js +++ b/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.js @@ -369,7 +369,7 @@ function InstanceDetail({ setBreadcrumb, isK8s }) { isDisabled={ !config?.me?.is_superuser || instance.health_check_pending || - !instance.managed + instance.managed } variant="primary" ouiaId="health-check-button" diff --git a/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.test.js b/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.test.js index baa1ab3e54..888a67c0e2 100644 --- a/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.test.js +++ b/awx/ui/src/screens/Instances/InstanceDetail/InstanceDetail.test.js @@ -48,6 +48,7 @@ describe('', () => { cpu_capacity: 32, mem_capacity: 38, enabled: true, + managed: false, managed_by_policy: true, node_type: 'execution', node_state: 'ready',