diff --git a/cypress/support/hostsfunctions.ts b/cypress/support/hostsfunctions.ts index 282fc1098d..36f88ebb52 100644 --- a/cypress/support/hostsfunctions.ts +++ b/cypress/support/hostsfunctions.ts @@ -21,7 +21,7 @@ export function createAndCheckHost(host_type: string, inventory: string) { // create host cy.clickButton(/^Create host$/); - cy.verifyPageTitle('Create Host'); + cy.verifyPageTitle('Create host'); cy.getByDataCy('name').type(hostName); cy.getByDataCy('description').type('This is the description'); diff --git a/frontend/awx/resources/inventories/inventoryHostsPage/InventoryHostForm.tsx b/frontend/awx/resources/inventories/inventoryHostsPage/InventoryHostForm.tsx index 9997ae83d2..2a705c0c2e 100644 --- a/frontend/awx/resources/inventories/inventoryHostsPage/InventoryHostForm.tsx +++ b/frontend/awx/resources/inventories/inventoryHostsPage/InventoryHostForm.tsx @@ -124,7 +124,7 @@ export function CreateHost() { }), } : {}, - { label: t('Add') }, + { label: t('Create host') }, ]; } else { breadcrumbs = [ @@ -132,13 +132,13 @@ export function CreateHost() { label: t('Hosts'), to: getPageUrl(AwxRoute.Hosts), }, - { label: t('Create') }, + { label: t('Create host') }, ]; } return ( - + - + submitText={t('Save host')} onSubmit={onSubmit}