chore: 🤖 remove helper text, fix test

This commit is contained in:
dharini committed 2022-02-03 10:38:10 -08:00
1 parent 323945d760
commit 8f11f2536b
4 files changed
+12 -17

No files matched your search

@@ -72,11 +72,13 @@
</:body>
</form.fieldset>
<Rose::Separator />
<form.fieldset>
<:title>{{t 'resources.host-catalog.form.provider-details'}}</:title>
<:body>
<form.radioGroup
@name='aws-plugins'
@name='aws_plugins'
@selectedValue={{@model.compositeType}}
@changed={{route-action 'changeType'}}
as |radioGroup|
@@ -84,14 +86,12 @@
<radioGroup.card
@label={{t 'resources.host-catalog.types.aws'}}
@value='aws'
@helperText={{t 'resources.host-catalog.form.types.static.help'}}
@layout='tile'
@icon='flight-icons/svg/aws-color-16'
/>
<radioGroup.card
@label={{t 'resources.host-catalog.types.azure'}}
@value='azure'
@helperText={{t 'resources.host-catalog.form.types.dynamic.help'}}
@layout='tile'
@icon='flight-icons/svg/azure-color-16'
/>
@@ -103,7 +103,7 @@
<:title>{{t 'resources.host-catalog.form.provider-details'}}</:title>
<:body>
<form.radioGroup
@name='aws-plugin'
@name='aws_plugin'
@selectedValue={{@model.compositeType}}
@disabled={{true}}
as |radioGroup|
@@ -111,7 +111,6 @@
<radioGroup.card
@label={{t 'resources.host-catalog.types.aws'}}
@value='aws'
@helperText={{t 'resources.host-catalog.form.types.static.help'}}
@layout='tile'
@icon='flight-icons/svg/aws-color-16'
/>
@@ -51,7 +51,7 @@
<:title>{{t 'form.type.label'}}</:title>
<:body>
<form.radioGroup
@name='azure-plugins'
@name='azure_plugins'
@selectedValue={{@model.type}}
@changed={{route-action 'changeType'}}
as |radioGroup|
@@ -71,12 +71,12 @@
</form.radioGroup>
</:body>
</form.fieldset>
<Rose::Separator />
<form.fieldset>
<:title>{{t 'resources.host-catalog.form.provider-details'}}</:title>
<:body>
<form.radioGroup
@name='aws-plugins'
@name='aws_plugins'
@selectedValue={{@model.compositeType}}
@changed={{route-action 'changeType'}}
as |radioGroup|
@@ -84,14 +84,12 @@
<radioGroup.card
@label={{t 'resources.host-catalog.types.aws'}}
@value='aws'
@helperText={{t 'resources.host-catalog.form.types.static.help'}}
@layout='tile'
@icon='flight-icons/svg/aws-color-16'
/>
<radioGroup.card
@label={{t 'resources.host-catalog.types.azure'}}
@value='azure'
@helperText={{t 'resources.host-catalog.form.types.dynamic.help'}}
@layout='tile'
@icon='flight-icons/svg/azure-color-16'
/>
@@ -103,7 +101,7 @@
<:title>{{t 'resources.host-catalog.form.provider-details'}}</:title>
<:body>
<form.radioGroup
@name='azure-plugin'
@name='azure_plugin'
@selectedValue={{@model.compositeType}}
@disabled={{true}}
as |radioGroup|
@@ -111,7 +109,6 @@
<radioGroup.card
@label={{t 'resources.host-catalog.types.azure'}}
@value='azure'
@helperText={{t 'resources.host-catalog.form.types.dynamic.help'}}
@layout='tile'
@icon='flight-icons/svg/azure-color-16'
/>
@@ -51,7 +51,7 @@
<:title>{{t 'form.type.label'}}</:title>
<:body>
<form.radioGroup
@name='static-types'
@name='static_types'
@selectedValue={{@model.type}}
@changed={{route-action 'changeType'}}
as |radioGroup|
@@ -73,11 +73,12 @@
</form.fieldset>
{{#if @model.isPlugin}}
<Rose::Separator />
<form.fieldset>
<:title>{{t 'resources.host-catalog.form.provider-details'}}</:title>
<:body>
<form.radioGroup
@name='aws-plugins'
@name='aws_plugins'
@selectedValue={{@model.compositeType}}
@changed={{route-action 'changeType'}}
as |radioGroup|
@@ -85,13 +86,11 @@
<radioGroup.card
@label={{t 'resources.host-catalog.types.aws'}}
@value='aws'
@helperText={{t 'resources.host-catalog.types.static.help'}}
@layout='tile'
/>
<radioGroup.card
@label={{t 'resources.host-catalog.types.azure'}}
@value='azure'
@helperText={{t 'resources.host-catalog.form.types.dynamic.help'}}
@layout='tile'
/>
</form.radioGroup>
@@ -86,7 +86,7 @@ module('Acceptance | host-catalogs | create', function (hooks) {
);
await fillIn('[name="name"]', 'random string');
await fillIn('[name="description"]', 'random string');
await fillIn('[name="types"]', 'static');
await fillIn('[name="static_types"]', 'static');
await click('[type="submit"]');
assert.equal(gethostCatalogCount(), count + 1);
});