Esempio n. 1
0
    def test_empty_music(self):
        # Requires there to be no songs on SDCard which is the default
        music_app = Music(self.marionette)
        music_app.launch()

        music_app.wait_for_empty_message_to_load()

        # Check that view elements are hidden when the overlay is showing.
        self.assertTrue(self.accessibility.is_hidden(music_app.tabs))
        self.assertTrue(self.accessibility.is_hidden(music_app.views))
Esempio n. 2
0
    def test_empty_music(self):
        """https://moztrap.mozilla.org/manage/case/3668/"""

        # Requires there to be no songs on SDCard which is the default
        music_app = Music(self.marionette)
        music_app.launch()

        music_app.wait_for_empty_message_to_load()

        # Verify title & text when no music present
        self.assertEqual(music_app.empty_music_title, self.expected_title)
        self.assertEqual(music_app.empty_music_text, self.expected_text)