示例#1
0
 def setUp(self):
     super().setUp()
     page = ProfilePlaylistsPage(self.driver)
     page.create_playlist(PLAYLIST_NAME)
     wait_for_pop_up(self.driver)
     page.wait_for_playlist(PLAYLIST_NAME)
     self.playlistId = page.get_playlist_id(PLAYLIST_NAME)
示例#2
0
 def test(self):
     page = ProfilePlaylistsPage(self.driver)
     page.create_playlist('')
     wait_for_pop_up(self.driver, success=False)