public void WhenIUpdateCustomerWithANewMobileNumberOf(string customerName, string newMobileNumber) { int customerId = _customerRepository.GetIdByName(customerName); _customerMaintenancePage.Open(customerId); _customerMaintenancePage.UpdateMobile(newMobileNumber); }
public void WhenIUpdateTheCustomerWithANewMobileNumberOf(string newMobileNumber) { _storedCustomer.Should().NotBeNull(); int customerId = _customerRepository.GetIdByName(_storedCustomer.Name); _customerMaintenancePage.Open(customerId); _customerMaintenancePage.UpdateMobile(newMobileNumber); }