orchest/cypress at master · orchest/orchest · GitHub
Skip to content
This repository was archived by the owner on Jan 10, 2026. It is now read-only.

Latest commit

 

History

History

cypress

Folders and files

README.md

Integration Tests

We use Cypress to run end-to-end tests.

Tips

  • run cy.reload() after cy.exec. The reason is that the client-side React app will cache the latest response from the backend of orchest-webserver. The backend changes is not yet updated to the client-side.

  • use assertion instead of cy.wait.

  • when encountering "timeout, some element never appears" issue, prevent finding element by chaining cy.get or cy.find.

// if Cypress found .foo but failed to find .bar, it won't retry querying from beginning
cy.get(".foo").find(".bar");
// this will retry the whole query
cy.get(".foo .bar");