Skip to content

Commit

Permalink
DEVPROD-10482 Update valid projects label to use ID instead of name (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
khelif96 authored Sep 16, 2024
1 parent 7e698cf commit ae56374
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe("project section", () => {
cy.getInputByLabel("Key").type("key-name");
cy.getInputByLabel("Value").type("my-value");
cy.contains("button", "Add project").click();
cy.getInputByLabel("Project Name").type("spruce");
cy.getInputByLabel("Project ID").type("spruce");

save();
cy.validateToast("success");
Expand All @@ -26,7 +26,7 @@ describe("project section", () => {
cy.reload();
cy.getInputByLabel("Key").should("have.value", "key-name");
cy.getInputByLabel("Value").should("have.value", "my-value");
cy.getInputByLabel("Project Name").should("have.value", "spruce");
cy.getInputByLabel("Project ID").should("have.value", "spruce");

// Undo changes.
cy.dataCy("delete-item-button").first().click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const getFormSchema = (): ReturnType<GetFormSchema> => ({
title: "Valid Projects",
items: {
type: "string" as "string",
title: "Project Name",
title: "Project ID",
default: "",
minLength: 1,
},
Expand Down

0 comments on commit ae56374

Please sign in to comment.