Bug 1060236 - Fix failure in test_cards_view_with_two_apps.py