Right now the logic is "if current account is the account that has the new email, and the app is not hidden, then do not trigger notification". So the test would work if there was another account configured, and that account was viewed while the periodic cronsync happens.

This may change once this story is implemented:
https://bugzilla.mozilla.org/show_bug.cgi?id=892521

but that is for a later sprint, as there are no UX guidance on that bug yet. So for now, just switching the folder in the same account will not result in a notification trigger.