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

E2E tests do not clean up created entities

    XMLWordPrintable

Details

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

    Description

      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.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce