Пример #1
0
        public void VerifyCartHoverEmptyCart()
        {
            const int hoverLoadTime = 2000;

            BtnGlobalNavCart.HoverAndVerify(ContainerCartHoverUpSell, Driver, hoverLoadTime);
            BtnGlobalNavCart.HoverAndVerify(TxtEmptyCartHeader, Driver, hoverLoadTime);

            Console.WriteLine("Verified Cart hover menu with no items in cart");
        }
Пример #2
0
        public void VerifyCartHoverWithItem()
        {
            const int hoverLoadTime = 2000;

            BtnGlobalNavCart.HoverAndVerify(ContainerCartHoverUpSell, Driver, hoverLoadTime);
            BtnGlobalNavCart.HoverAndVerify(BtnCartHoverProceedToCheckout, Driver, hoverLoadTime);
            BtnGlobalNavCart.HoverAndVerify(TxtCartHoverCartHeader, Driver, hoverLoadTime);

            Console.WriteLine("Verifeid cart hover menu with an item in the cart");
        }