-
Spike
-
Resolution: Done
-
Major
-
None
-
None
-
None
Currently Cypress tests in console repo contain steps which are being executed on almost every test run. A good example is create namespace and delete namespace methods. Instead of running the functionality of these methods on every test, we could replace them with CLI calls, which would speed up the testing process. We will also need to keep the method as part of our tests, so the functionality is tested, but we dont need to run it in each test.
AC:
- Identify all the repeating steps/methods in console's Cypress test suits which could run using CLI
- Create a story for each of these identified steps/methods so to run them using CLI
cy.exec(`...`)
- The story should also be responsible for preserving the step/method as is but only running it once.
- relates to
-
CONSOLE-3749 Improve Cypress login performance
- Closed
-
CONSOLE-3750 Add Cypress command to create resources via CLI
- Closed
-
CONSOLE-3751 Add Cypress command to update resources via CLI
- Closed
-
CONSOLE-3752 Add Cypress command to delete resources via CLI
- Closed
-
CONSOLE-3753 Improve Cypress test data and state management
- To Do
-
CONSOLE-3754 Review our Cypress tests for best practices
- To Do