Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7965

Create a NPM package consolidating test helpers from vscode-extension-* integration tests

XMLWordPrintable

    • 3
    • False
    • None
    • False
    • ---
    • ---
    • 2022 Week 41-43 (from Oct 10), 2022 Week 44-46 (from Oct 31), 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12), 2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6), 2023 Week 09-11 (from Feb 27), 2023 Week 12-14 (from Mar 20), 2023 Week 15-17 (from Apr 10), 2023 Week 18-20 (from May 1)

      Summary

      We identified lots of duplicate code in the integration tests of vscode extension in kie-tools. They all use same test helper classes with slight or no modification.

      Consider:
      Re-usability for new (non-existent) editors.
      Setup (allow easy setup of testHelpers the integration should be seamless.

      Goal

      Consolidate test helpers into a package a make it available on NPM registry.
      Create an easily importable package that can be reused in vscode-extensions sporting KIE editors (envelope api)

      Out of scope

      (Not Mandatory) Consider the use of locators pattern from https://github.com/redhat-developer/vscode-extension-tester/tree/master/locators (we want this, if not possible report a ticket) (if this makes the tasks too big, feel free to report as separate ticket)

      AC

      A NPM package is published in NPM registry & used across all vscode packages that have integration tests implemented.

              lterifaj@redhat.com Lubomir Terifaj
              dhanak@redhat.com Dominik Hanak
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Yeser Amer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: