示例#1
0
        public void ThenTotalPriceIsEqualToQuantityTimesBookPrice()
        {
            double expectedTotalPrice = basketPage.GetQuantity() * basketPage.GetProductPrice();

            AssertionsManager.AreEqual(driver, extentTest, expectedTotalPrice, basketPage.GetTotalPrice(), $"Total price is: {basketPage.GetTotalPrice()}");
        }