Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
Signed-off-by: Nandini Chandra <[email protected]>
  • Loading branch information
nachandr committed Aug 24, 2023
1 parent 849c913 commit 1b46fe9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 1b46fe9

Please sign in to comment.