Hi Tim, before each test, all data within the system is cleaned to ensure that the environment is always the same, even if a previous test failed. Further, each test has a ‘beforeEach’ function that is called to set up the data for the test. The actual test logic is in the ‘it’ function.
There are basically two types of tests: 1. Functionality tests (e.g., test workflows for adapters, dashboards, data views, …): All those tests are in ‘/cypress/tests and grouped by module. The test ‘cypress/tests/adapters/fileStream.smoke.spec.ts’ tests the creation and deletion of a generic file adapter. The test ‘cypress/tests/datalake/ widgetDataConfiguration.smoke.spec.ts’ tests different data configurations for a widget within the data explorer. 1. Processing element tests: To ease testing of processing elements we created configuration files to describe the test, the input data, and the expected output data. The code for such tests is in ‘cypress/tests/pipelineElements/AllPipelineElements.spec.ts’. This function reads the test description json in ‘cypress/fixtures/pipelineElement/…’ and executes the tests. I hope this explanation clarifies some things. In [1] is a README explaining the structure of the project. Please ask if you have any additional questions. Kind regards, Philipp [1] https://github.com/apache/incubator-streampipes/blob/dev/ui/cypress/README.md Von: Tim <[email protected]> Datum: Dienstag, 9. August 2022 um 20:57 An: [email protected] <[email protected]> Betreff: Re: It's time for Streampipes 0.70, isn't it? Sounds good. Do you have any example for a missing test that might be a low hanging fruit to start with? I've already had a look into the existing E2E tests within "ui/cypress/tests", but frankly speaking I'm a bit lost. Best Tim Am 05.08.2022 17:58 schrieb Philipp Zehnder: > Hey Tim, > > thanks for the suggestion. > If you want, you can provide some test workflows. > It is always easier to implement a test when the workflow is already > provided including the input parameters and the buttons to click. > > Therefore, you can have a look at the already existing tests. I think > it would be great when we manage to test all the main functionalities. > > Is that something you would like to do? > Of course, you can also provide some tests yourself, but I guess this > is a good way to start. > > What do you think? > > Cheers, > Philipp > > > ________________________________ > Von: Tim <[email protected]> > Gesendet: Freitag, August 5, 2022 5:22 PM > An: [email protected] <[email protected]> > Betreff: Re: AW: It's time for Streampipes 0.70, isn't it? > > Hi all, > > great that you like the idea of pushing forward our next release. > > > @Philipp: I like the idea of including some additional end-to-end > tests. > If I can support you here, just let me know. > > Best > Tim > > > Am 04.08.2022 22:35 schrieb Philipp Zehnder: >> Hi Tim, >> >> I think it is great that you opened the discussion and I totally agree >> that it is time for a new release. >> I do not have any open issues, but I am in favor of performing a bit >> more testing before we start the release. >> Maybe we can also extend our automated test suite with some new tests. >> >> I think we will manage to prepare everything until next week for the >> new release. >> >> Thanks again for volunteering as a release manager. >> >> Cheers, >> Philipp >> >> >> >> >> Von: Dominik Riemer <[email protected]> >> Datum: Donnerstag, 4. August 2022 um 20:08 >> An: [email protected] <[email protected]> >> Betreff: RE: It's time for Streampipes 0.70, isn't it? >> Hi Tim, >> >> awesome - thanks for driving the next release! >> From my side, I don't think there are any important open issues - I'll >> go through the open issues by tomorrow and check the ones assigned to >> me. >> >> So a release next week would be great and thanks for volunteering as a >> release manager! >> >> Cheers >> Dominik >> >> >> >> -----Original Message----- >> From: Tim <[email protected]> >> Sent: Thursday, August 4, 2022 5:50 PM >> To: Dev <[email protected]> >> Subject: It's time for Streampipes 0.70, isn't it? >> >> Hi everyone, >> >> some time has passed since the release of version 0.69 and we have >> implemented a lot of new features, improvements and bug fixes. >> In particular, I think it's time to share the tremendous development >> of our Data Explorer with the wider community. >> So I would like to start our next release process if there are no >> objections from your side. >> >> Are there any features or things you are still working on that should >> make it into the next version? >> If not, we can move all outstanding issues to 0.71.0 and cut the >> release branch within the next week. >> >> I would be willing to make myself available as release manager if >> everyone agrees. >> >> Best regards >> Tim
