apache / streampipes

Apache StreamPipes - A self-service (Industrial) IoT toolbox to enable non-technical users to connect, analyze and explore IoT data streams.
https://streampipes.apache.org
Apache License 2.0
593 stars 175 forks source link

Create cypress tests to validate version updates #1281

Open tenthe opened 1 year ago

tenthe commented 1 year ago

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:

  1. A workflow to set up the resources in the old system.
  2. A workflow to validate that everything is still working as expected after the update.

Design & Implementation Steps

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.

CoffeeGeek101 commented 1 year ago

@tenthe I would like to work on this issue.

tenthe commented 1 year ago

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

CoffeeGeek101 commented 1 year ago

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.

tenthe commented 1 year ago

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.

CoffeeGeek101 commented 1 year ago

Sure!!..I'll let you know once I run the existing Cypress tests!!