I am running automation tests in Browserstack and I'm constantly getting a failure on a specific scenario where a snackbar is shown and the test is waiting for it to go away. The snackbar never disappears and just gets stuck on screen indefinitely, making the test fail. Even if I modify the test to tap on the snackbar action, the snackbar is not dismissed.
What could be causing the snackbar to get stuck like that? I'm not able to reproduce when running the tests locally on the emulator or manually reproducing the issue. To make matters more confusing, this seems to happen only on a specific flavor of the app.