Esempio n. 1
0
        public void AddProductsToCartAndDeleteInCrome()
        {
            OnlineStorePage onlineStorePage = new OnlineStorePage();
            ProductPage     productPage     = new ProductPage();
            Product         product         = new Product();
            GeneralPage     generalPage     = new GeneralPage();
            CheckoutPage    checkoutPage    = new CheckoutPage();

            onlineStorePage.Open(driver, wait);
            onlineStorePage.AddProductsToCart(driver, wait, "Most Popular", 3);
            generalPage.ClickCheckout(driver, wait);
            checkoutPage.RemoveAllProducts(driver, wait);
        }