Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8839

Unable to write frontend tests

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: NiFi Registry
    • Labels:

      Description

      With the current frontend configuration of Angular and Javascript, it does not allow certain frontend tests to be added.

      Example 1

      Some issues that have arisen include, services that cannot be injected into components. It produces a compile error logged in the console:

       

      Example 2

      Unable to create a Jasmine spy:

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mtien M Tien

              Dates

              • Created:
                Updated:

                Issue deployment