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.

        This is the controller panel for Smart Panels app

            [OPT-2899] Make e2e tests independent from each other

            There are no comments yet on this issue.

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

                Created:
                Updated:
                Resolved: