public void ThenIShouldSeeThatProductIsDeleted() { var currentCartItemCount = ShoppingCartPagePage.GetCartItemsCount(); Assert.Less(currentCartItemCount, CartItemCount); }
public void WhenIClickDeleteButton() { ShoppingCartPagePage.DeleteCartItem(); }
public void GivenISeeProductsListedOnThePage() { CartItemCount = ShoppingCartPagePage.GetCartItemsCount(); Assert.Greater(CartItemCount, 0); }
public void GivenIClickCartButton() { ShoppingCartPagePage.ClickCartButton(); }
public void GivenIAddProductToCart() { ShoppingCartPagePage.AddProductToCart(); }
public void GivenIAmOnTheShoppingCartPage() { ShoppingCartPagePage.GoToShoppingCartPage(); }