public void PerformTestWithFacadeTwo() { var store = new StoreInfo { Name = "Apple Store, Ridge Hill", Address = "143 Market Street", City = "Yonkers", State = "NY", Zip = "10710", Phone = "(914) 620-0965" }; Assert.AreEqual(store, new FacadeClass().Verify("New York, NY", FindStorePage.Store.D, true)); }
public void PerformTestWithFacadeOne() { var store = new StoreInfo { Name = "Apple Store, Boylston Street", Address = "815 Boylston Street", City = "Boston", State = "MA", Zip = "02116", Phone = "(617) 385-9400" }; Assert.AreEqual(store, new FacadeClass().Verify("Boston, MA", FindStorePage.Store.A)); }
public void PerformTestWithoutFacade() { var findStorePage = new FindStorePage(); var storePage = new StorePage(); var store = new StoreInfo { Name = "Apple Store, Boylston Street", Address = "815 Boylston Street", City = "Boston", State = "MA", Zip = "02116", Phone = "(617) 385-9400" }; findStorePage.Navigate(); findStorePage.PerformSearch("Boston, MA"); findStorePage.SelectStoreByIndex(FindStorePage.Store.A); Assert.AreEqual(store, storePage.StoreInfo); }