diff --git a/agenta-web/cypress/support/commands/evaluations.ts b/agenta-web/cypress/support/commands/evaluations.ts index 57004db6d..1747649de 100644 --- a/agenta-web/cypress/support/commands/evaluations.ts +++ b/agenta-web/cypress/support/commands/evaluations.ts @@ -50,7 +50,8 @@ Cypress.Commands.add("createVariantsAndTestsets", () => { cy.wrap(testsetName).as("testsetName") cy.get(".ag-row").should("have.length", 1) - cy.get('[data-cy="testset-header-column-edit-button"]').eq(0).click() + cy.wait(2000) + cy.get('[data-cy="testset-header-column-edit-button"]').eq(0).should("exist").click() cy.get('[data-cy="testset-header-column-edit-input"]').clear() cy.get('[data-cy="testset-header-column-edit-input"]').type("country") cy.get('[data-cy="testset-header-column-save-button"]').click()