streampipes
streampipes copied to clipboard
Create cypress tests to validate version updates
Body
Background
This issue aims to automatically validate the update process of StreamPipes, as discussed in issue #1193.
Description
A Cypress test should be implemented to validate all functionalities after the update. Two workflows are required for this:
- A workflow to set up the resources in the old system.
- A workflow to validate that everything is still working as expected after the update.
Design & Implementation Steps
- [ ] Define the steps to setup the system
- [ ] Define the steps to validate the updated system
- [ ] Implement the first workflow to set up the resources in the old system.
- [ ] Implement the second workflow to validate that everything is still working as expected after the update.
In [1] you can find some examples with more complex test settings as an example. [1] https://github.com/apache/streampipes/tree/dev/ui/cypress/tests/experimental
Mentoring
As this ticket is marked as good first issue: one of @dominikriemer, @tenthe, or @bossenti are happy to provide help for getting started, just tag (one of) them if you want to start working on this issue and need some help.
StreamPipes Committer
I acknowledge that I am a maintainer/committer of the Apache StreamPipes project.
@tenthe I would like to work on this issue.
Hello @CoffeeGeek101, great. Do you have any experience with Cypress? You can set up a local StreamPipes instance as described here [1] and run the Cypress tests in that directory [2].
In #955 I gave an example of how to set it up.
Please let me know if you have any questions.
[1] https://streampipes.apache.org/download [2] https://github.com/apache/streampipes/tree/dev/ui/cypress
hey, @tenthe. I don't have experience with Cypress yet but willing to learn as I work on this and I can setup the project repo as described. Just let me know if it alright from your side, so I'll start working it asap.
Of course. I suggest that you first set up the system and run the existing Cypress tests locally. Let me know if you have any problems.
Sure!!..I'll let you know once I run the existing Cypress tests!!