def test_yearly_payasugo_amount(self, setup): self.driver = setup Commons.get_url(self.driver) pricingPage = PricingPage(self.driver) pricingPage.clickYearlyPlan() Commons.moveToPricingTable(self.driver) actualAmount = pricingPage.get_payasugo_amount() expectedAmount = pricing.SubscriptionPricing["Yearly"]["Pay as you go"]["price"] Commons.assertValues(actualAmount, expectedAmount, self.driver)
def test_yearly_enterprise(self, setup): self.driver = setup Commons.get_url(self.driver) pricingPage = PricingPage(self.driver) pricingPage.clickYearlyPlan() Commons.moveToPricingTable(self.driver) actual = pricingPage.get_custompricing() expected = pricing.SubscriptionPricing["Yearly"]["Enterprise"] Commons.assertValues(actual, expected, self.driver)
def test_yearly_premium_billedamount(self, setup): self.driver = setup Commons.get_url(self.driver) pricingPage = PricingPage(self.driver) pricingPage.clickYearlyPlan() Commons.moveToPricingTable(self.driver) actualBilledAmount = pricingPage.get_premium_billedamount() expectedBilledAmount = pricing.SubscriptionPricing["Yearly"]["Premium"]["BilledAmount"]["price"] Commons.assertValues(actualBilledAmount, expectedBilledAmount, self.driver)
def test_yearly_availability(self, setup): self.driver = setup Commons.get_url(self.driver) pricingPage = PricingPage(self.driver) pricingPage.clickYearlyPlan() self.driver.close()