public void WhenISetTheRegionTo(string region) { var officeOVerviewPage = new OfficeOverviewPage(); officeOVerviewPage.SelectRegion(region); }
public void ThenTheDistanceIsKm(string distance) { var officeOVerviewPage = new OfficeOverviewPage(); Assert.IsTrue(FindElement(officeOVerviewPage.AddressesLocator).Text.Contains(distance)); }
public void ThenIShouldSeeOfficeOnTheTopOfTheList(string office) { var officeOVerviewPage = new OfficeOverviewPage(); Assert.IsTrue(FindElement(officeOVerviewPage.AddressesLocator).Text.ToLower().Contains(office.ToLower())); }
public void WhenISearchForOfficesNearTo(string location) { var officeOVerviewPage = new OfficeOverviewPage(); officeOVerviewPage.FindNearestOffice(location); }
public void ThenISeeAListOfAddressesUnderTheMap() { var officeOVerviewPage = new OfficeOverviewPage(); Assert.IsTrue(FindElement(officeOVerviewPage.AddressesLocator).Displayed); }
public void ThenISeeAGoogleMapOnThePage() { var officeOVerviewPage = new OfficeOverviewPage(); Assert.IsTrue(FindElement(officeOVerviewPage.MapLocator).Displayed); }