示例#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)
 def test(self):
     page = ProfilePlaylistsPage(self.driver)
     page.load_image(PLAYLIST_NAME, self.PDF_PATH)
     wait_for_pop_up(self.driver, success=False)
示例#3
0
 def tearDown(self):
     page = ProfilePlaylistsPage(self.driver)
     page.delete_playlist(PLAYLIST_NAME)
     super().tearDown()
 def test(self):
     page = ProfilePlaylistsPage(self.driver)
     page.change_name(PLAYLIST_NAME, self.NEW_PLAYLIST_NAME)
     wait_for_pop_up(self.driver)
示例#5
0
 def test(self):
     page = ProfilePlaylistsPage(self.driver)
     page.delete_playlist(PLAYLIST_NAME)
     wait_for_pop_up(self.driver)
示例#6
0
 def test(self):
     page = ProfilePlaylistsPage(self.driver)
     page.create_playlist('')
     wait_for_pop_up(self.driver, success=False)
 def test(self):
     page = ProfilePlaylistsPage(self.driver)
     page.load_image(PLAYLIST_NAME, self.SMALL_IMAGE_PATH)
     wait_for_pop_up(self.driver)