public void Test3() { PrincipalPage principalPage = new PrincipalPage(); ProductPage producPages = new ProductPage(); CarPage carPage = new CarPage(); principalPage.AddAndIntoTheCar(); carPage.ApplyCoupon(coupon); carPage.ValidateLabelCoupon(couponMessage); carPage.ValidateDiscountApplied(price); }
public void Test1() { PrincipalPage principalPage = new PrincipalPage(); ProductPage producPages = new ProductPage(); CarPage carPage = new CarPage(); RequestProduct requestProduct = new RequestProduct(); requestProduct.SendRequestProduct(); principalPage.SearchProduct(product); producPages.ValidateProductName(product); producPages.ValidateProductPrice(price); producPages.IncreaseQuantity(quantityItemsInCar); producPages.ValidateProductQuantity(itemsQuantity); producPages.labelCarCount.Click(); carPage.ValidateNameIntoTheCar(product); carPage.ValidatePriceIntoTheCar(price); }