public void CantAddACustomerWithInvalidVatNumber()
        {
            var homePage = new HomePage(driver);
            var customersListPage = homePage.OpenCustomersPage();
            var createPage = customersListPage.OpenCreateCustomerPage();

            createPage = createPage.CreateCustomer("IBM corp.", "12345678902hhhh") as CreateCustomerPage;
            createPage.Should().Not.Be.Null();
            createPage.ContainsVatRegExValidation().Should().Be.True();

        }
        public void CanAddACustomer()
        {
            var homePage = new HomePage(driver);
            var customersList = homePage.OpenCustomersPage();
            var createPage = customersList.OpenCreateCustomerPage();

            customersList = createPage.CreateCustomer("IBM corp.", "12345678902") as CustomerListPage;

            customersList.Should().Not.Be.Null();
            var containsCustomer = customersList.ContainsCustomerRow("IBM corp.");
            Assert.IsTrue(containsCustomer);
        }
        public void CanAccessHomePageEnc()
        {
            var homePage = new HomePage(driver);

            homePage.HasTitleHeading();
        }
        public void CanAccessHomePage()
        {
            var homePage = new HomePage(driver);

            Assert.AreEqual("Index", homePage.Title.Text);
        }