Example #1
0
 public void Create_Contact_From_Within_Organization()
 {
     LeftSideMenu.GoToOrganizations();
     OrganizationsPage.OpenFirstOrganization();
     ContactCreator.CreateSimpleContactFromWithinOrganization();
     AssertThat.IsTrue(ContactCreator.FirstContact.IsContactCreatedSuccessfully,
                       "Contact was not saved successfully but it should.");
     OrganizationViewPage.FindContactFromOrganizationContactList()
     .WithFirstName(ContactCreator.FirstContact.FirstName)
     .AndLastName(ContactCreator.FirstContact.LastName)
     .Open();
     AssertThat.IsTrue(ContactCreator.FirstContact.AreContactFieldValuesSavedCorrectly,
                       "Contact field values were not saved correctly");
 }