public async Task CanUpdateExistingComputer() { var testCase = new TestCase(_testOutputHelper, "Can update existing computer"); var computerName = Guid.NewGuid().ToString(); var newComputerName = Guid.NewGuid().ToString(); var computer = new Computer { Company = Company.Apple, ComputerName = computerName, DiscontinuedDate = DateTime.Today, IntroducedDate = DateTime.Today }; var computerUpdated = new Computer { Company = Company.Netronics, ComputerName = newComputerName, DiscontinuedDate = DateTime.Today.AddDays(1), IntroducedDate = DateTime.Today.AddDays(-1) }; await _crudActions.CreateNewComputerApi(computer); testCase .ExecuteTestStep("Open computer database app", () => _selenium.NavigateToUrl(Constants.ComputerDataBaseUrl)) .ExecuteTestStep("Update the computer data", () => _crudActions.UpdateComputerData(computerName, computerUpdated)) .ExecuteTestStep("Read the computer data", () => _crudActions.ReadComputerData(computerUpdated)) ; }