public void WhenIUpdateCustomerWithANewMobileNumberOf(string customerName, string newMobileNumber)
        {
            int customerId = _customerRepository.GetIdByName(customerName);

            _customerMaintenancePage.Open(customerId);
            _customerMaintenancePage.UpdateMobile(newMobileNumber);
        }
示例#2
0
        public void WhenIUpdateTheCustomerWithANewMobileNumberOf(string newMobileNumber)
        {
            _storedCustomer.Should().NotBeNull();

            int customerId = _customerRepository.GetIdByName(_storedCustomer.Name);

            _customerMaintenancePage.Open(customerId);
            _customerMaintenancePage.UpdateMobile(newMobileNumber);
        }