diff --git a/agenta-web/cypress/e2e/eval.evaluations.cy.ts b/agenta-web/cypress/e2e/eval.evaluations.cy.ts index 2324923abb..fee60cf455 100644 --- a/agenta-web/cypress/e2e/eval.evaluations.cy.ts +++ b/agenta-web/cypress/e2e/eval.evaluations.cy.ts @@ -50,6 +50,8 @@ describe("Evaluations CRUD Operations Test", function () { cy.get(".ant-table-row").eq(0).click() cy.wait(1000) cy.contains(/create a new test set/i).should("be.visible") + cy.get(".ag-root").should("exist") + cy.wait(3000) cy.get('[data-cy="testset-header-column-edit-button"]').eq(1).click() cy.get('[data-cy="testset-header-column-edit-input"]').clear() cy.get('[data-cy="testset-header-column-edit-input"]').type("answer") diff --git a/agenta-web/cypress/support/commands/evaluations.ts b/agenta-web/cypress/support/commands/evaluations.ts index c01d83092b..57004db6d5 100644 --- a/agenta-web/cypress/support/commands/evaluations.ts +++ b/agenta-web/cypress/support/commands/evaluations.ts @@ -104,7 +104,6 @@ Cypress.Commands.add("createNewEvaluation", (evaluatorName = "Exact Match") => { cy.get('[data-cy="evaluation-testset-table"]').find('input[type="radio"]').eq(0).check() - cy.get('[data-cy="evaluation-variant-collapse-header"]').click() cy.get('[data-cy="evaluation-variant-table"]').find('input[type="checkbox"]').eq(0).check() cy.get('[data-cy="evaluation-evaluator-collapse-header"]').click()