Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
replacing old validation message (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
resh-ie committed Jan 11, 2021
1 parent f0d7e4c commit 2062b98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui-automated-tests/src/flows/brief/atm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const fillResponseCriteria = async (numberOfCriteria: number): Promise<ICriteria

const fillClosingDate = async () => {
await clickSaveContinue();
await utils.matchText("li", "You must add a contact number");
await utils.matchText("li", "Contact number is required");
const now = new Date();
const future = new Date(now.setDate(now.getDate() + 14));
await utils.type("day", { value: `${format(future, "dd")}` });
Expand Down
2 changes: 1 addition & 1 deletion ui-automated-tests/src/flows/brief/rfx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const fillEvaluationCriteria = async () => {

const fillClosingDate = async () => {
await clickSaveContinue();
await utils.matchText("li", "You must add a contact number");
await utils.matchText("li", "Contact number is required");
const now = new Date();
const future = new Date(now.setDate(now.getDate() + 14));
await utils.type("day", { value: `${format(future, "dd")}` });
Expand Down
2 changes: 1 addition & 1 deletion ui-automated-tests/src/flows/brief/training.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const fillEvaluationCriteria = async () => {

const fillClosingDate = async () => {
await clickSaveContinue();
await utils.matchText("li", "You must add a contact number");
await utils.matchText("li", "Contact number is required");
const now = new Date();
const future = new Date(now.setDate(now.getDate() + 14));
await utils.type("day", { value: `${format(future, "dd")}` });
Expand Down

0 comments on commit 2062b98

Please sign in to comment.