Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2866 Parallelize E2E tests
  3. OPT-2899

Make e2e tests independent from each other

    XMLWordPrintable

    Details

      Description

      Right now tests in a fixture build on top of each other. Meaning we have a test that creates a report, another test that edits the report and a third one that deletes it. This has several drawbacks:

      • Testcafe reloads the page between each test so that we have to manually log in and navigate to the previous state. Testcafe has no intention of fixing this or allowing us to disable this behavior
      • If one test in a fixture fails, subsequent tests also fail (because the report to be edited was not created)
      • Testcafe cannot parallelize the tests as they build on top of each other

      Therefore, we should make the e2e tests independent from each other. In some cases like the ProcessReport tests, many of them already are. This will result in generally larger tests, moving more towards scenario- rather than feature- testing.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            sebastian.stamm Sebastian Stamm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: