public void ThenICanSeeMyCustomerInTheList()
 {
     _customerListPage      = new CustomersListPageObjectModel(webDriver);
     numberOfCustomersAfter = _customerListPage.GetNumberOfCustomers();
     numberOfCustomersAfter.Should().Be(numberOfCustomersBefore + 1);
     // TODO: check for last row record
 }
 public void GivenIAmOnAllCustomersPageToCountNumberOfCustomers()
 {
     // url can be included in the config
     webDriver.Navigate().GoToUrl("https://localhost:5001/Customer/CustomersListAsync");
     _customerListPage       = new CustomersListPageObjectModel(webDriver);
     numberOfCustomersBefore = _customerListPage.GetNumberOfCustomers();
 }