public void Cleanup() { this.cartPage = this.searchPage.OpenCart(); this.cartPage.CleanCart(); Browser.Driver.Close(); }
public void TheItemShouldNotBeDisplayedInCart() { this.cartPage = this.searchPage.OpenCart(); Assert.IsFalse(this.cartPage.IsContainItem(this.itemName)); this.searchPage.Open(); this.signInPage = this.searchPage.ClickSignIn(); this.signInPage.SignIn("*****@*****.**", "Automate123"); }
public void TheItemShouldBeDisplayedInCart() { this.cartPage = this.searchPage.OpenCart(); Assert.IsTrue(this.cartPage.IsContainItem(this.itemName)); }