Skip to content

Commit

Permalink
updates to failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tiyiprh committed Aug 26, 2024
1 parent f2b5f59 commit 4a831c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/awx/infrastructure/hosts/hosts.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('Host Tests', () => {
cy.navigateTo('awx', 'hosts');
cy.filterTableByMultiSelect('name', [hostName]);
cy.getByDataCy('edit-host').click();
cy.verifyPageTitle('Edit host');
cy.verifyPageTitle(`Edit ${hostName}`);
cy.getByDataCy('description').clear().type('This is the description edited');
cy.getByDataCy('Submit').click();
cy.hasDetail(/^Description$/, 'This is the description edited');
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/awx/inventories-source/inventorySource.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ describe('Inventory Sources', () => {
cy.getByDataCy('Submit').click();
cy.verifyPageTitle('amazon ec2 source');
cy.clickButton('Edit inventory source');
cy.verifyPageTitle('Edit source');
cy.verifyPageTitle(`Edit ${inventorySource.name}`);
cy.getByDataCy('name').clear().type('updated amazon ec2 source');
cy.getByDataCy('overwrite_vars').check();
cy.getByDataCy('Submit').click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function useInventoriesSourcesToolbarActions(
variant: ButtonVariant.primary,
isPinned: true,
icon: PlusCircleIcon,
label: t('Add source'),
label: t('Create source'),
onClick: () =>
pageNavigate(String(AwxRoute.InventorySourcesAdd), {
params: { inventory_type: params.inventory_type, id: params.id },
Expand Down

0 comments on commit 4a831c8

Please sign in to comment.