Skip to content

Commit

Permalink
fix(frontend): eval cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ashrafchowdury committed Dec 6, 2024
1 parent 6246514 commit 6b209cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agenta-web/cypress/e2e/eval.evaluations.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ describe("Evaluations CRUD Operations Test", function () {
cy.get('[data-cy="new-evaluation-button"]').click()
cy.get(".ant-modal-content").should("exist")

cy.get(".ant-modal-footer > .ant-btn-primary > .ant-btn-icon > .anticon > svg").click()
cy.get(".ant-modal-content").should("contain.text", "This field is required")
cy.get(".ant-modal-footer > .ant-btn-primary").click()
cy.get(".ant-message").should("contain.text", "Please select a test set")
})

it("Should verify the successful creation and completion of the evaluation", () => {
Expand Down

0 comments on commit 6b209cc

Please sign in to comment.