tenthe opened a new issue, #1087: URL: https://github.com/apache/streampipes/issues/1087
### Body # Cypress E2E tests for dashboard widgets We already have a e2e test that validates that the dashboard is working, running in the smoke tests (`cypress/tests/dashboard/dashboardTest.smoke.spec.ts`). Additionally we should add a test that validates that all different **widget types** work as expected. My suggestion would be that we create a single pipeline in the `beforeEach` and then create a test for each widget type in a new dashboard to verify that the widget works as expected. This way the pipeline only needs to be set up once. ## List of widgets - [ ] Area Chart - [ ] Gauge - [ ] Line Chart - [ ] Raw - [ ] Single Value - [ ] Stacked Line Chart - [ ] Status - [ ] Table - [ ] Traffic Light I think the test itself can be quite simple and just confirm that the data is displayed, but feel free to extend it with more functionality (e.g. whether the line chart is displayed correctly). It is also possible to test multiple configurations of each widget. Also, we can discuss whether it is useful to also test the functionality of editing existing widgets, but I would recommend to put this in another test. These tests should only verify that the various widgets work as expected. ## Mentoring As this ticket is marked as good first issue: one of @tenthe or @dominikriemer is 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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
