def test_s_player_3_plan_score(self): driver = self.driver card = AnalystPage(driver) login = Loginpage(self.driver) login.enter_email(self.Team_1_player_3_email) login.enter_password(self.common_password) login.click_login() time.sleep(2) time.sleep(1) self.driver.get(self.agilityURL) time.sleep(2) #Match 1 card.click_game_1() time.sleep(1) card.click_plan_tab() time.sleep(1) card.click_matrics_1() card.click_matrics_2() card.click_matrics_3() card.click_matrics_4() card.click_matrics_5() time.sleep(1) card.click_assign_submit_button() time.sleep(2) #card.click_card_tab() self.driver.get(self.agilityURL) time.sleep(1) #Match 2 card.click_game_2() time.sleep(1) card.click_plan_tab() time.sleep(1) card.click_matrics_1() card.click_matrics_2() card.click_matrics_3() card.click_matrics_4() card.click_matrics_5() time.sleep(1) card.click_assign_submit_button() time.sleep(2) # Logout time.sleep(5) login.click_profile_icon() login.click_profile_icon() time.sleep(2) login.click_logout() time.sleep(2) driver.delete_all_cookies() driver.refresh() time.sleep(2)
def test_n_team_admin_add_sprint_1(self): driver = self.driver sprint = TeamAdminPage(driver) login = Loginpage(driver) time.sleep(2) login.enter_email(self.team_1_team_admin_email) login.enter_password(self.common_password) login.click_login() time.sleep(2) matchh = LeaguePage(driver) time.sleep(1) sprint.click_sprint_tab() time.sleep(1) matchh.click_add_new_button() time.sleep(1) sprint.enter_sprint_number(self.sprint_number) sprint.click_match_1_checkbox() sprint.click_match_2_checkbox() sprint.enter_sprint_start_date(self.match_1_date) sprint.enter_sprint_end_date(self.match_2_date) time.sleep(1) sprint.click_save_sprint() # Logout time.sleep(5) login.click_profile_icon() login.click_profile_icon() time.sleep(2) login.click_logout() time.sleep(2) driver.delete_all_cookies() driver.refresh() time.sleep(2)