Selenium E2E frontend tests
Closed this issue · 2 comments
murdo-moj commented
As a developer
I want end to end tests
so that I can be confident that code changes I make maintain app functionality.
Created from #46
- Currently we don't do any front end testing
- Selenium mimics a user interacting with the frontend and provides frontend testing capability
- Selenium needs an active Django server running our frontend to respond to HTTP requests. We also need a DataHub instance to respond to the frontend's service layer making API calls.
- Django provides support for selenium, which will cover the setup and teardown of the Django server https://docs.djangoproject.com/en/5.0/topics/testing/tools/#django.test.LiveServerTestCase
- The selenium tests should cover: Searching for something, Combining various filters, Using the sort by functionality, using the clear filters, and also the pagination's interactions with the filters and sort.
MatMoore commented
github-actions commented
This issue is being marked as stale because it has been open for 60 days with no activity. Remove stale label or comment to keep the issue open.