• Not defined

      Context:

      Lets add e2e tests that assert that the export and import menu items are where we expect them to be in the UI, and also to create screenshots to be replace the existing manual screenshots in the export/import docs pages

      AT:

      • There are e2e tests asserting the availability of import/export functionality in the UI
      • The screenshots in the export/import docs pages are replaced by automatically generated screenshots

        This is the controller panel for Smart Panels app

            [OPT-4713] Add E2E Tests for Import/Export

            Helene Waechtler created issue -
            Sebastian Stamm made changes -
            Labels Original: next_release New: current_release next_release
            Sebastian Stamm made changes -
            Labels Original: current_release next_release New: current_release
            Sebastian Stamm made changes -
            Status Original: Open [ 1 ] New: In Development [ 10312 ]
            Sebastian Stamm made changes -
            Link New: This issue depends on OPT-4768 [ OPT-4768 ]

            As currently only super users can import/export entities, we would have to make the testusers superusers. This however would break test isolation: In order to run our e2e tests in parallel we need to ensure that every user only has access to their own entities. This way in the cleanup after the test we can say "Delete all entities you have access too". Because superusers have access to all entities, this would interfere with other concurrently running tests.

             

            We can look at adding E2E tests for import/export again once we have separate authorizations for import/export.

            Sebastian Stamm added a comment - As currently only super users can import/export entities, we would have to make the testusers superusers. This however would break test isolation: In order to run our e2e tests in parallel we need to ensure that every user only has access to their own entities. This way in the cleanup after the test we can say "Delete all entities you have access too". Because superusers have access to all entities, this would interfere with other concurrently running tests.   We can look at adding E2E tests for import/export again once we have separate authorizations for import/export.
            Sebastian Stamm made changes -
            Mentioned Roles
            Sebastian Stamm made changes -
            Mentioned Groups
            Sebastian Stamm made changes -
            Status Original: In Development [ 10312 ] New: Open [ 1 ]
            Sebastian Stamm made changes -
            Labels Original: current_release

              sebastian.stamm Sebastian Stamm
              helene.waechtler Helene Waechtler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: