Skip to content

Commit

Permalink
Update cy tests for Manage your vendors page after removing Add Vendo…
Browse files Browse the repository at this point in the history
…rs btn (#4510)
  • Loading branch information
Kelsey-Ethyca committed Dec 11, 2023
1 parent 0fa4a12 commit 21b9535
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions clients/admin-ui/cypress/e2e/consent-configuration.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ describe("Consent configuration", () => {
cy.visit(CONFIGURE_CONSENT_ROUTE);
cy.getByTestId("empty-state");
cy.get("body").click(0, 0);
cy.getByTestId("add-vendor-btn").click();
cy.getByTestId("add-vendor-modal-content");
});
});

Expand Down Expand Up @@ -112,7 +110,6 @@ describe("Consent configuration", () => {
cy.getByTestId("subrow-cell_2_Data use").contains("Improve Service");
cy.getByTestId("subrow-cell_3_Cookie name").contains("cookie2");
cy.getByTestId("subrow-cell_3_Data use").contains("Improve Service");
cy.getByTestId("add-vendor-btn");
});
});

Expand Down Expand Up @@ -152,7 +149,7 @@ describe("Consent configuration", () => {
cy.visit(CONFIGURE_CONSENT_ROUTE);
});

it("can add a vendor without the dictionary", () => {
it.skip("can add a vendor without the dictionary", () => {
cy.getByTestId("add-vendor-btn").click();
cy.getByTestId("input-name").type("test vendor");
cy.selectOption(
Expand Down Expand Up @@ -190,7 +187,7 @@ describe("Consent configuration", () => {
});
});

it("can manually add more data uses", () => {
it.skip("can manually add more data uses", () => {
cy.getByTestId("add-vendor-btn").click();
cy.getByTestId("add-data-use-btn").should("be.disabled");
cy.getByTestId("input-name").type("test vendor");
Expand Down Expand Up @@ -284,7 +281,7 @@ describe("Consent configuration", () => {
cy.visit(CONFIGURE_CONSENT_ROUTE);
});

it("can fill in dictionary suggestions", () => {
it.skip("can fill in dictionary suggestions", () => {
cy.getByTestId("add-vendor-btn").click();
cy.getByTestId("input-vendor_id")
.click()
Expand Down Expand Up @@ -737,7 +734,7 @@ describe("Consent configuration", () => {
});
});

it("can create a vendor that is not in the dictionary", () => {
it.skip("can create a vendor that is not in the dictionary", () => {
cy.getByTestId("add-vendor-btn").click();
cy.getByTestId("input-vendor_id").type("custom vendor{enter}");
cy.selectOption(
Expand Down

0 comments on commit 21b9535

Please sign in to comment.