From 3ce4275d31630c98d6cf41c3b56db019590553d4 Mon Sep 17 00:00:00 2001 From: Kaosiso Ezealigo Date: Fri, 8 Dec 2023 10:17:57 +0100 Subject: [PATCH] cypress test: exact match fix --- agenta-web/cypress.config.ts | 1 - agenta-web/cypress/e2e/exact-match-evaluation.cy.ts | 3 --- 2 files changed, 4 deletions(-) diff --git a/agenta-web/cypress.config.ts b/agenta-web/cypress.config.ts index 980b98b2fd..6824bd5527 100644 --- a/agenta-web/cypress.config.ts +++ b/agenta-web/cypress.config.ts @@ -11,7 +11,6 @@ export default defineConfig({ baseUrl: "http://localhost", defaultCommandTimeout: 30000, requestTimeout: 10000, - specPattern: ["*/e2e/ab-testing-evaluation.cy.ts"], }, env: { baseApiURL: "http://localhost/api", diff --git a/agenta-web/cypress/e2e/exact-match-evaluation.cy.ts b/agenta-web/cypress/e2e/exact-match-evaluation.cy.ts index 24812a6b32..bdd8a75245 100644 --- a/agenta-web/cypress/e2e/exact-match-evaluation.cy.ts +++ b/agenta-web/cypress/e2e/exact-match-evaluation.cy.ts @@ -49,9 +49,6 @@ describe("Exact Match Evaluation workflow", () => { // Check if the text contains either "correct" or "wrong" expect(text.includes("correct") || text.includes("wrong")).to.be.true }) - - cy.get(".ant-statistic-content-value").first().should("contain", "3 out of 3") - cy.get(".ant-message-notice-content").should("exist") }) it("Should display Exact Match Evaluation result", () => {