After a lot of tests, I solved it. To use navigation from a fragment to another inside a test you should mock a NavController.
確定! 回上一頁