public void ThenTheApprenticeshipHasBeenUpdatedCorrectly() { EstimateCostsPage estimateCostsPage = new EstimateCostsPage(WebSite.getDriver()); List <EstimateCostsPage.ApprenticeshipsTableRow> apprenticeshipsTable = estimateCostsPage.GetApprenticeshipsTableContent(); Assert.IsTrue(apprenticeshipsTable[0].NumberOfApprentices.Equals("2")); }
public void ThenTheDetailsHaveNotBeenUpdated() { EstimateCostsPage estimateCostsPage = new EstimateCostsPage(WebSite.getDriver()); List <EstimateCostsPage.ApprenticeshipsTableRow> apprenticeshipsTable = estimateCostsPage.GetApprenticeshipsTableContent(); Assert.IsFalse(apprenticeshipsTable[0].NumberOfApprentices.Equals("2")); }
public void ThenTheApprenticeshipIsAdded() { EstimateCostsPage estimateCostsPage = new EstimateCostsPage(WebSite.getDriver()); List <EstimateCostsPage.ApprenticeshipsTableRow> apprenticeshipsTable = estimateCostsPage.GetApprenticeshipsTableContent(); Assert.IsNotEmpty(apprenticeshipsTable); }