Example #1
0
        public void contactEnterprise_edit_should_update_his_profil_if_id_is_valid()
        {
            const string NEW_TELEPHONE = "444-444-4444";
            const string OLD_PASSWORD  = "******";
            const string NEW_PASSWORD  = "******";

            LoginPage.GoTo();
            LoginPage.LoginAs(ContactEnterpriseUsername, ContactEnterprisePassword);

            EditContactEnterprisePage.GoTo();
            EditContactEnterprisePage.EditAStudent(NEW_TELEPHONE, OLD_PASSWORD, NEW_PASSWORD);

            IndexContactEnterprisePage.IsDisplayed.Should().BeTrue();
            EditContactEnterprisePage.EditVerification(NEW_TELEPHONE).Should().BeTrue();
        }