Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-2483

extract browser-independent UI tests to error check during local watch

    XMLWordPrintable

    Details

      Description

      While developing a feature having a quick check not only from a linter but also from a test tool is very helpful and should decrease the number of regressions introduced during development.

      In order to run the tests a unit testing framework (e.g. jest) should be introduced and included into the webpack watch pipeline. To populate the test suite with an initial set of tests, those of our selenium tests, that don't test browser specific behaviour or don't rely on simulated user input should be refactored to unit tests

      Acceptance criteria:

      • unit tests are run on file change
      • unit tests are run on CI build and before selenium
      • selenium is only used where appropriate

        Attachments

          Activity

            People

            • Assignee:
              mzedel Manuel Zedel
              Reporter:
              mzedel Manuel Zedel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel