Skip to content

Commit

Permalink
fixed failing cypress test(frontend)
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Dec 19, 2024
1 parent f58e343 commit a0e15e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions agenta-web/cypress/e2e/eval.evaluations.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 0 additions & 1 deletion agenta-web/cypress/support/commands/evaluations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a0e15e8

Please sign in to comment.