Ejemplo n.º 1
0
 def test_monthly_enterprise(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickMonthlyPlan()
     Commons.moveToPricingTable(self.driver)
     actual = pricingPage.get_custompricing()
     expected = pricing.SubscriptionPricing["Monthly"]["Enterprise"]
     Commons.assertValues(actual, expected, self.driver)
Ejemplo n.º 2
0
 def test_monthly_payasugo_amount(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickMonthlyPlan()
     Commons.moveToPricingTable(self.driver)
     actualAmount = pricingPage.get_payasugo_amount()
     expectedAmount = pricing.SubscriptionPricing["Monthly"][
         "Pay as you go"]["price"]
     Commons.assertValues(actualAmount, expectedAmount, self.driver)
Ejemplo n.º 3
0
 def test_monthly_premium_billedamount(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickMonthlyPlan()
     Commons.moveToPricingTable(self.driver)
     actualBilledAmount = pricingPage.get_premium_billedamount()
     expectedBilledAmount = pricing.SubscriptionPricing["Monthly"][
         "Premium"]["BilledAmount"]["price"]
     Commons.assertValues(actualBilledAmount, expectedBilledAmount,
                          self.driver)
Ejemplo n.º 4
0
 def test_monthly_availability(self, setup):
     self.driver = setup
     Commons.get_url(self.driver)
     pricingPage = PricingPage(self.driver)
     pricingPage.clickMonthlyPlan()
     self.driver.close()