Skip to content

Commit 67570c4

Browse files
Added detailed component testing on tenant forms
1 parent 894541c commit 67570c4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

cypress/e2e/ui/Settings/Application-Settings/tenant.cy.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,11 @@ describe('Automate Tenant form operations: Settings > Application Settings > Acc
323323
cy.toolbar(CONFIG_TOOLBAR_BUTTON, EDIT_TENANT_CONFIG_OPTION);
324324
});
325325

326+
it('Validate Edit tenant form elements', () => {
327+
// Validate form fields
328+
validateFormElements();
329+
});
330+
326331
it('Validate Reset & Cancel buttons on Edit tenant form', () => {
327332
// Update name & description fields
328333
updateNameAndDescription(
@@ -486,6 +491,15 @@ describe('Automate Tenant form operations: Settings > Application Settings > Acc
486491
deleteAccordionItem(INITIAL_CHILD_TENANT_NAME);
487492
});
488493

494+
it('Validate Edit child tenant form elements', () => {
495+
// Validate form fields
496+
validateFormElements();
497+
// Cancel the edit form
498+
cancelForm();
499+
// Removing the child tenant
500+
deleteAccordionItem(initialChildTenantName);
501+
});
502+
489503
it('Validate Reset & Cancel buttons on the Edit child tenent form', () => {
490504
// Update name & description fields
491505
updateNameAndDescription(

0 commit comments

Comments
 (0)