Ejemplo n.º 1
0
        public void OrderingAShirt()
        {
            app.Screenshot("Given the app is running");

            app.Screenshot("I select the Men's C# T-shirt");
            mainPage.SelectMensTShirt();

            app.Screenshot("Then I set the size to Medium");
            optionsPage.SelectTShirtSize("Medium");

            app.Screenshot("Then I set the color to Green");
            optionsPage.SelectTShirtColor("Green");

            app.Screenshot("And I add it to the cart");
            optionsPage.AddToCart();

            app.Screenshot("Then I go to my cart");
            mainPage.GoToCart();

            app.Screenshot("Then I check out");
            mainPage.Checkout();

            //app.Screenshot ("Then I see my shipping information");
            //Assert.IsTrue (shippingPage.IsActive ());
        }