Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-2256

Move NodeJS test module (puppeteer) to be Dev dependency

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: To Do
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Puppeteer is used to help script GUI testing in NodeJS.  Unfortunately every time it is installed locally (which is every build), it will download Chromium (80-120 MB download, 250+ MB on disk).  At the moment Puppeteer is installed as part of build process for the Metron-Alert and Metron-Config modules.  Ideally we should not incur this cost unless we are doing GUI testing.  Luckily Angular has the concept of a dev dependency, which is only installed when testing is required.

      Attachments

        Issue Links

          Activity

            People

              tigerquoll Dale Richardson
              tigerquoll Dale Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m