Esempio n. 1
0
 def test_TC_Turn_Over_Amount_Record_01_Filter_Turn_Over_Amount_Record(self):
     Turn_Over_Amount_Record_Actions.Navigate_Turn_Over_Amount_Record(self)
     print("<li>" + "Insert Member Name" + "</li>" + "<br>")
     self.driver.find_element_by_id(Turn_Over_Amount_Record_Element.member_name_filter_field).send_keys(Deposit_Withdraw_Data.member_name_filter)
     print("<li>" + "Click on Search button" + "</li>" + "<br>")
     self.driver.find_element_by_class_name(Deposit_Withdraw_Element.filter_search_button).click()
     # Assert
     Deposit_Withdraw_Actions.Assert_Search_results(self)
Esempio n. 2
0
 def test_TC_Bonus_Record_01_Search_Bonus(self):
     Bonus_Actions.Navigate_Bonus(self)
     print("<li>" + "Insert Username" + "</li>" + "<br>")
     self.driver.find_element_by_id(
         Bonus_Element.username_filter_field).send_keys(
             Deposit_Withdraw_Data.username_filter)
     print("<li>" + "Click on Search button" + "</li>" + "<br>")
     self.driver.find_element_by_class_name(
         Deposit_Withdraw_Element.filter_search_button).click()
     # Assert
     Deposit_Withdraw_Actions.Assert_Search_results(self)
Esempio n. 3
0
 def test_TC_Withdrawal_01_Filter_Deposit(self):
     Withdrawal_Actions.Navigate_Withdrawal(self)
     print("<li>" + "Click on add icon at the end of filter column" +
           "</li>" + "<br>")
     self.driver.find_element_by_class_name(
         Deposit_Withdraw_Element.filter_add_button).click()
     wait_filter_column_expand = EC.presence_of_element_located(
         (By.CLASS_NAME, Deposit_Withdraw_Element.filter_search_button))
     WebDriverWait(self.driver, 10).until(wait_filter_column_expand)
     print("<li>" + "Insert Username" + "</li>" + "<br>")
     self.driver.find_element_by_id(
         Withdrawal_Element.username_filter_field).send_keys(
             Deposit_Withdraw_Data.username_filter)
     print("<li>" + "Click on Search button" + "</li>" + "<br>")
     self.driver.find_element_by_class_name(
         Deposit_Withdraw_Element.filter_search_button).click()
     # Assert
     Deposit_Withdraw_Actions.Assert_Search_results(self)
Esempio n. 4
0
 def test_TC_Wallet_Transfer_02_Filter_Wallet_Transfer(self):
     Wallet_Transfer_Actions.Navigate_Wallet_Transfer(self)
     print("<li>" + "Click on add icon at the end of filter column" +
           "</li>" + "<br>")
     self.driver.find_element_by_class_name(
         Deposit_Withdraw_Element.filter_add_button).click()
     wait_filter_column_expand = EC.presence_of_element_located(
         (By.XPATH, Wallet_Transfer_Element.filter_search_button))
     WebDriverWait(self.driver, 10).until(wait_filter_column_expand)
     print("<li>" + "Insert User ID" + "</li>" + "<br>")
     self.driver.find_element_by_id(
         Wallet_Transfer_Element.user_id_filter_field).send_keys(
             Deposit_Withdraw_Data.user_id_filter)
     print("<li>" + "Click on Search button" + "</li>" + "<br>")
     self.driver.find_element_by_xpath(
         Wallet_Transfer_Element.filter_search_button).click()
     # Assert
     Deposit_Withdraw_Actions.Assert_Search_results(self)
 def test_TC_Deposit_History_02_Filter_Deposit(self):
     Deposit_History_Actions.Navigate_Deposit_History(self)
     Deposit_Withdraw_Actions.Filter_Deposit_Withdraw(self)
     Deposit_Withdraw_Actions.Assert_Search_results(self)