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

Handle invalid content in kogito-bpmn-client editor

XMLWordPrintable

    • 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`

      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.

        1. invalid.bpmn
          0.0 kB
          Dominik Hanak
        2. Screenshot from 2020-03-27 09-44-44.png
          17 kB
          Dominik Hanak

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

              Created:
              Updated: