Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2662

E2E tests do not clean up created entities

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Duplicate
    • Icon: L3 - Default L3 - Default
    • 2.7.0
    • None
    • frontend, testing
    • None

      The e2e tests have a cleanEntities function that should ensure that everything is cleaned up between test runs and created reports and dashboards are deleted again: https://github.com/camunda/camunda-optimize/blob/12ea5ad70b3704db7641d663d1db6fbb9b48749b/client/e2e/setup.js#L42-L54

      However, the endpoint that this function uses does not exist anymore (there is no /api/dashboard to get all dashboards) as it has been moved to a more generic /api/entities endpoint.

      Deletion must still be done in the /api/dashboard space.

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: