コード例 #1
0
        public void Cleanup()
        {
            this.cartPage = this.searchPage.OpenCart();
            this.cartPage.CleanCart();

            Browser.Driver.Close();
        }
コード例 #2
0
        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");
        }
コード例 #3
0
        public void TheItemShouldBeDisplayedInCart()
        {
            this.cartPage = this.searchPage.OpenCart();

            Assert.IsTrue(this.cartPage.IsContainItem(this.itemName));
        }