Ejemplo n.º 1
0
        public void testBuyWeeklyPick()
        {
            //Cart page constructor
            CartPage cartPage = new CartPage(_driver);

            if (!cartPage.BuyWeeklyPick())
            {
                Assert.Fail("Failed to update newly added prodcut count in the basklet.");
                //Best Practice: Take snapshot of the screen for failure analysis.
            }
            else
            {
                Assert.Pass("Updated the newly added product count in the basket.");
            }
        }