busola
busola copied to clipboard
Library with Cypress commands for testing in modules
Description There are Cypress-based UI tests in the Istio and API Gateway module. Those tests heavily use custom Cypress commands. There are commands for each field that is filled for a resource, e.g. APIRule in API Gateway or Virtual Service in Istio. Those commands are built on top lower-level custom Cypress commands, e.g. to click a button, type into a field or select a list item. The implementations of those commands are duplicated in the support folder in Istio and API gateway.
Additionally, there are also commands defined in Busola. We should unify them in a library in the Busola repository and release them with a new version. This way we can reduce the effort in UI module tests when there are changes to UI elements.
Reasons Reduce effort in module tests and increase stability of UI tests.
Attachments