One of the most efficient ways to assert software behavior behind the React/Nextjs app is to employ a pyramid testing strategy.