Currently the portal UI (User interface) does not have any tests in place, that includes unit, integration and E2E (end-to-end - E2E might not be for now) tests. It is important to have tests in place to ensure the UI functionality behaves as expected and prevent bugs or breaking changes. As a first step we need to address the following questions:
- Types of tests e.g. unit, integration, E2E etc.?
- Identify what we need to test e.g. components, functions etc.?
- How we test it in terms of frameworks e.g. Jest, Enzyme, Cypress, React testing library etc.?
- Where they run (pipelines)?
Note given the size and complexity of the UI code, putting in testing with a high code coverage may take time and multiple user stories/issues to implement. We first need to create a testing strategy.
We can use this issue as a place to have the discussion, feel free to comment and make suggestions according to above questions.
Currently the portal UI (User interface) does not have any tests in place, that includes unit, integration and E2E (end-to-end - E2E might not be for now) tests. It is important to have tests in place to ensure the UI functionality behaves as expected and prevent bugs or breaking changes. As a first step we need to address the following questions:
Note given the size and complexity of the UI code, putting in testing with a high code coverage may take time and multiple user stories/issues to implement. We first need to create a testing strategy.
We can use this issue as a place to have the discussion, feel free to comment and make suggestions according to above questions.