From 1b46fe9f56e2e418b2b2911298e7acb034bce895 Mon Sep 17 00:00:00 2001 From: Nandini Chandra Date: Thu, 24 Aug 2023 12:23:22 -0500 Subject: [PATCH] Update test Signed-off-by: Nandini Chandra --- .../migration/applicationinventory/assessment/create.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/tests/migration/applicationinventory/assessment/create.test.ts b/cypress/e2e/tests/migration/applicationinventory/assessment/create.test.ts index f52ffe532..794e96829 100644 --- a/cypress/e2e/tests/migration/applicationinventory/assessment/create.test.ts +++ b/cypress/e2e/tests/migration/applicationinventory/assessment/create.test.ts @@ -75,13 +75,14 @@ describe(["@tier2"], "Application validations", () => { it("Application field validations", function () { Assessment.open(); clickByText(button, createNewButton); - selectFormItems(applicationBusinessServiceSelect, "Collins LLC"); + selectFormItems(applicationBusinessServiceSelect, businessservicesList[0].name); // Name constraints inputText(applicationNameInput, data.getRandomWord(2)); cy.get(commonView.nameHelper).should("contain", minCharsMsg); inputText(applicationNameInput, data.getRandomWords(90)); cy.get(commonView.nameHelper).should("contain", max120CharsMsg); + cy.get(applicationNameInput).clear(); // Description constraint inputText(applicationDescriptionInput, data.getRandomWords(90));