Here is a recent recording with some good advice on testing with Java, Junit5, Selenium and best practices: https://www.youtube.com/watch?v=Glrn9jcJCuc. Enjoy.
Creating an Architecture for Your Automated Tests Writing Automated Tests in Small Increments 4 Times Your Automation Passed While Bugs Were Present Now That You’ve Created Automated Tests, Run Them!