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

Handle invalid content in kogito-bpmn-client editor

    XMLWordPrintable

Details

    • Hide

      1. Build kogito bpmn client according to README
      2. Open `test.html` in target folder
      3. Set content of the editor that equals to `<!!Unable to render embedded object: File (Invalid) not found.!!>`
      4. Observe error

      You can also open attached `invalid.bpmn`

      Show
      1. Build kogito bpmn client according to README 2. Open `test.html` in target folder 3. Set content of the editor that equals to `<!! Unable to render embedded object: File (Invalid) not found. !!>` 4. Observe error You can also open attached `invalid.bpmn`

    Description

      Summary
      This PR - https://github.com/kiegroup/kie-wb-common/pull/3298 - adds basic selenium smoke tests.
      One tests sets content of the editor to following `<!!Unable to render embedded object: File (Invalid) not found.!!>` and editor displays following dialog:

      Expected result would be to show dialog with proper message.

      Acceptance criteria
      Show error dialog with proper message as test in PR suggests.

      Attachments

        Issue Links

          Activity

            People

              eignatow Eder Ignatowicz
              dhanak@redhat.com Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: