コード例 #1
0
ファイル: test_halfyearly.py プロジェクト: imarajith/CallHub
 def test_halfyearly_enterprise(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickHalfYearlyPlan()
     Commons.moveToPricingTable(self.driver)
     actual = pricingPage.get_custompricing()
     expected = pricing.SubscriptionPricing["Half Yearly"]["Enterprise"]
     Commons.assertValues(actual, expected, self.driver)
コード例 #2
0
ファイル: test_halfyearly.py プロジェクト: imarajith/CallHub
 def test_halfyearlyy_payasugo_amount(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickHalfYearlyPlan()
     Commons.moveToPricingTable(self.driver)
     actualAmount = pricingPage.get_payasugo_amount()
     expectedAmount = pricing.SubscriptionPricing["Half Yearly"][
         "Pay as you go"]["price"]
     Commons.assertValues(actualAmount, expectedAmount, self.driver)
コード例 #3
0
ファイル: test_halfyearly.py プロジェクト: imarajith/CallHub
 def test_halfyearly_business_amount(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickHalfYearlyPlan()
     Commons.moveToPricingTable(self.driver)
     actualAmount = pricingPage.get_business_amount()
     expectedAmount = pricing.SubscriptionPricing["Half Yearly"][
         "Business"]["MonthAmount"]["price"]
     Commons.assertValues(actualAmount, expectedAmount, self.driver)
コード例 #4
0
ファイル: test_halfyearly.py プロジェクト: imarajith/CallHub
 def test_halfyearly_premium_billedamount(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickHalfYearlyPlan()
     Commons.moveToPricingTable(self.driver)
     actualBilledAmount = pricingPage.get_premium_billedamount()
     expectedBilledAmount = pricing.SubscriptionPricing["Half Yearly"][
         "Premium"]["BilledAmount"]["price"]
     Commons.assertValues(actualBilledAmount, expectedBilledAmount,
                          self.driver)
コード例 #5
0
ファイル: test_halfyearly.py プロジェクト: imarajith/CallHub
 def test_halfyearly_availability(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickHalfYearlyPlan()
     self.driver.close()