Skip to content

Commit

Permalink
fixes cypress error
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Nov 27, 2023
1 parent 24974aa commit 710ad20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agenta-web/cypress/support/commands/evaluations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ Cypress.Commands.add("cleanupVariantAndTestset", () => {

Cypress.Commands.add("addingOpenaiKey", () => {
cy.visit("/settings")
cy.get('[data-cy="openai-api-input"]').type(apiKey)
cy.get('[data-cy="openai-api-save"]').click()
cy.get('[data-cy="openai-api-input"]').eq(0).type(apiKey)
cy.get('[data-cy="openai-api-save"]').eq(0).click()
})

Cypress.Commands.add("removeOpenAiKey", () => {
Expand Down

0 comments on commit 710ad20

Please sign in to comment.