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

Flaky test - serverless-workflow-editor-extension-autocompletion.test.ts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • Kogito Tooling 0.27.0
    • None
    • None
    • None

      Summary
      The test consists of multiple parts, where some of which are not working correctly:

      • Test: "Completes serverless workflow from an empty file" is failing, because the expected output was not updated to current data for JSON and YAML. For the YAML file, some properties needed to be added quotation marks.
      • Test: "Completes serverless workflow with function and state autocompletion" for JSON files is sometimes failing on assertion of the number of nodes expected in the viewer. Different fail was spotted in asserting that text editor and diagram viewer are both open.
        Added requirement to run smoke test before running different tests.

      Goal
      Resolve errors and stabilize the test `serverless-workflow-editor-extension-autocompletion.test.ts`.

      Acceptance criteria
      The tests are working without errors, are stable and are not failing locally and neither on the CI.

            zdrapela@redhat.com Zbynek Drapela
            tfernand-1 Tiago Bento
            Tomas David Tomas David
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: