From 5d1b4786d83925ae5d8a542e65db7929c03a1c5f Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Thu, 15 Feb 2024 04:39:43 +0100 Subject: [PATCH] removed redundant test cases --- agenta-web/cypress/e2e/eval.comparison.cy.ts | 3 --- agenta-web/cypress/e2e/eval.evaluations.cy.ts | 3 --- agenta-web/cypress/e2e/eval.evaluators.cy.ts | 3 --- agenta-web/cypress/e2e/eval.scenarios.cy.ts | 3 --- 4 files changed, 12 deletions(-) diff --git a/agenta-web/cypress/e2e/eval.comparison.cy.ts b/agenta-web/cypress/e2e/eval.comparison.cy.ts index ad2f4c3fd1..ab0528dee6 100644 --- a/agenta-web/cypress/e2e/eval.comparison.cy.ts +++ b/agenta-web/cypress/e2e/eval.comparison.cy.ts @@ -12,9 +12,6 @@ describe("Evaluation Comparison Test", function () { beforeEach(() => { cy.visit(`/apps/${app_id}/evaluations`) cy.location("pathname").should("include", "/evaluations") - cy.get('[data-cy="evaluation-results-compare-button"]').should("exist") - cy.get('[data-cy="evaluation-results-delete-button"]').should("exist") - cy.get('[data-cy="new-evaluation-button"]').should("exist") }) it("Should create 2 new Evaluations", () => { diff --git a/agenta-web/cypress/e2e/eval.evaluations.cy.ts b/agenta-web/cypress/e2e/eval.evaluations.cy.ts index 51f42b3d1c..979b9bd211 100644 --- a/agenta-web/cypress/e2e/eval.evaluations.cy.ts +++ b/agenta-web/cypress/e2e/eval.evaluations.cy.ts @@ -12,9 +12,6 @@ describe("Evaluations CRUD Operations Test", function () { beforeEach(() => { cy.visit(`/apps/${app_id}/evaluations`) cy.location("pathname").should("include", "/evaluations") - cy.get('[data-cy="evaluation-results-compare-button"]').should("exist") - cy.get('[data-cy="evaluation-results-delete-button"]').should("exist") - cy.get('[data-cy="new-evaluation-button"]').should("exist") }) it("Should successfully create an Evaluation", () => { diff --git a/agenta-web/cypress/e2e/eval.evaluators.cy.ts b/agenta-web/cypress/e2e/eval.evaluators.cy.ts index 40f33d8d6b..6775429935 100644 --- a/agenta-web/cypress/e2e/eval.evaluators.cy.ts +++ b/agenta-web/cypress/e2e/eval.evaluators.cy.ts @@ -14,9 +14,6 @@ describe("Evaluators CRUD Operations Test", function () { beforeEach(() => { cy.visit(`/apps/${app_id}/evaluations`) cy.location("pathname").should("include", "/evaluations") - cy.get('[data-cy="evaluation-results-compare-button"]').should("exist") - cy.get('[data-cy="evaluation-results-delete-button"]').should("exist") - cy.get('[data-cy="new-evaluation-button"]').should("exist") cy.get("#rc-tabs-1-tab-evaluators > :nth-child(2)").click() }) diff --git a/agenta-web/cypress/e2e/eval.scenarios.cy.ts b/agenta-web/cypress/e2e/eval.scenarios.cy.ts index f14b6baef0..da0fa44177 100644 --- a/agenta-web/cypress/e2e/eval.scenarios.cy.ts +++ b/agenta-web/cypress/e2e/eval.scenarios.cy.ts @@ -12,9 +12,6 @@ describe("Evaluation Scenarios Test", function () { beforeEach(() => { cy.visit(`/apps/${app_id}/evaluations`) cy.location("pathname").should("include", "/evaluations") - cy.get('[data-cy="evaluation-results-compare-button"]').should("exist") - cy.get('[data-cy="evaluation-results-delete-button"]').should("exist") - cy.get('[data-cy="new-evaluation-button"]').should("exist") }) it("Should successfully create an Evaluation", () => {