The setup
I always refer my setup to the docs of the integration package. As well that they give explanations of how you can do things like running the tests on the web, taking screenshots as well as doing cool things like hooking it up with the Firebase Test Lab.
Additional resources
Here is a video from Reso Coder which goes over integration tests as well as hooking it up with Firebase Test Lab & Codemagic.
Again I highly recommend this series from VGV. They will even go into things like Golden tests if you want to dive even deeper in testing!