class Test_LoginPages(BaseTest): def test_login(self): self.main_page = LoginPages(self.driver) self.main_page.login() # def test_upload_files_to_assets(self): # self.main_page=LoginPages(self.driver) # self.main_page.upload_files_to_assets(self.main_page.UPLOAD_FILE_PATH) # time.sleep(35) # self.main_page.upload_files_to_assets(self.main_page.UPLOAD_FILE_PATH) # time.sleep(35) # # self.main_page.upload_files_to_assets(self.main_page.UPLOAD_FILE_PATH) # # time.sleep(35) # # self.main_page.upload_files_to_assets(self.main_page.UPLOAD_FILE_PATH) # # time.sleep(35) # time.sleep(2) # self.sec_page=AssetsPage(self.driver) # time.sleep(2) # self.sec_page.check_items_in_assets() # assets_count=self.driver.find_element(By.XPATH,"/html/body/div[1]/div[2]/div[3]/div[1]/div[2]/div[2]/div/div/a/label") # assets_count_text=assets_count.text() # assert assets_count_text == self.sec_page.ASSETS_CHECKBOX_COPY_ITEMSNUMBER # def test_create_first_gallery_video_academy(self): # self.mainPage = LoginPages(self.driver) # self.mainPage.create_first_gallery_video_academy(self.mainPage.ADD_FILES_FROM_ASSETS_TITLE) def test_create_gallery_main_link(self): self.mainPage = LoginPages(self.driver) self.mainPage.create_gallery_main_link( self.mainPage.ADD_FILES_FROM_ASSETS_TITLE)
def test_login(self): self.photon_wizard = LoginPages(self.driver) self.photon_wizard.login()
class Test_Photon_Wizard(BaseTest): def test_login(self): self.photon_wizard = LoginPages(self.driver) self.photon_wizard.login()
def test_create_gallery_main_link(self): self.mainPage = LoginPages(self.driver) self.mainPage.create_gallery_main_link( self.mainPage.ADD_FILES_FROM_ASSETS_TITLE)
def test_login(self): self.main_page = LoginPages(self.driver) self.main_page.login()
def test_login(self): self.billboard_wizard = LoginPages(self.driver) self.billboard_wizard.login()
def test_check_items_in_assets(self): self.assets_page = LoginPages(self.driver) self.assets_page.login() time.sleep(2)