Closed jonbrunt closed 6 months ago
The integration tests are passing, but an error is being thrown regarding the window.scrollTo not being available in the Jest environment. I noticed this when reviewing the Actions log. We'll cover this functionality in subsequent e2e testing with Cypress, but can we mock the function to avoid this issue? It will save a bit of computing overhead. It is a detail, but it is key that we always try to reduce technical debt when feasible.
Feature: Integration Tests
Description
This PR introduces integration testing for the site, as well as separating the execution of unit and integration tests depending on circumstance (push, PR, merge).
Changes
Frontend:
test
andintegration
dirs, and unit test file (navbarInteraction.int.test.tsx)Testing
Notes
Checklist
Reviewers
Requesting review from @jonbrunt
Tags
#enhancement